aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/VersionTuple.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-20 07:06:53 +0000
committerChris Lattner <sabre@nondot.org>2011-07-20 07:06:53 +0000
commit8cc488fefb2fb04bc8d5398da29f0182f97934cf (patch)
treeac1e7addc1639bec225c9e5e8f4b04ed5d2d6fb0 /include/clang/Basic/VersionTuple.h
parent686775deca8b8685eb90801495880e3abdd844c2 (diff)
add raw_ostream and Twine to LLVM.h, eliminating a ton of llvm:: qualifications.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/VersionTuple.h')
-rw-r--r--include/clang/Basic/VersionTuple.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/clang/Basic/VersionTuple.h b/include/clang/Basic/VersionTuple.h
index 91eb68eaad..30ef6641ef 100644
--- a/include/clang/Basic/VersionTuple.h
+++ b/include/clang/Basic/VersionTuple.h
@@ -14,13 +14,10 @@
#ifndef LLVM_CLANG_BASIC_VERSIONTUPLE_H
#define LLVM_CLANG_BASIC_VERSIONTUPLE_H
+#include "clang/Basic/LLVM.h"
#include "llvm/ADT/Optional.h"
#include <string>
-namespace llvm {
- class raw_ostream;
-}
-
namespace clang {
/// \brief Represents a version number in the form major[.minor[.subminor]].
@@ -120,7 +117,7 @@ public:
};
/// \brief Print a version number.
-llvm::raw_ostream& operator<<(llvm::raw_ostream &Out, const VersionTuple &V);
+raw_ostream& operator<<(raw_ostream &Out, const VersionTuple &V);
} // end namespace clang
#endif // LLVM_CLANG_BASIC_VERSIONTUPLE_H