diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-06-15 23:05:46 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-06-15 23:05:46 +0000 |
| commit | 23b7eb677d87a79179d5e71aba547c4c7794b215 (patch) | |
| tree | b53780d6f65b69236a0d25f0508d410c938303d4 /clang/Sema/SemaType.cpp | |
| parent | 2b228c95aa9bf69f27af12294149f57459ef41b1 (diff) | |
| download | bcm5719-llvm-23b7eb677d87a79179d5e71aba547c4c7794b215.tar.gz bcm5719-llvm-23b7eb677d87a79179d5e71aba547c4c7794b215.zip | |
Finally bite the bullet and make the major change: split the clang namespace
out of the llvm namespace. This makes the clang namespace be a sibling of
llvm instead of being a child.
The good thing about this is that it makes many things unambiguous. The
bad things is that many things in the llvm namespace (notably data structures
like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport
should be split out of llvm into their own namespace in the future, which will fix
this issue.
llvm-svn: 39659
Diffstat (limited to 'clang/Sema/SemaType.cpp')
| -rw-r--r-- | clang/Sema/SemaType.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/Sema/SemaType.cpp b/clang/Sema/SemaType.cpp index 46a0022b7f6..cdb767f58c7 100644 --- a/clang/Sema/SemaType.cpp +++ b/clang/Sema/SemaType.cpp @@ -16,7 +16,6 @@ #include "clang/AST/Decl.h" #include "clang/Parse/DeclSpec.h" #include "clang/Lex/IdentifierTable.h" -using namespace llvm; using namespace clang; /// ConvertDeclSpecToType - Convert the specified declspec to the appropriate @@ -193,7 +192,7 @@ QualType Sema::GetTypeForDeclarator(Declarator &D, Scope *S) { } else { // Otherwise, we have a function with an argument list that is // potentially variadic. - SmallVector<QualType, 16> ArgTys; + llvm::SmallVector<QualType, 16> ArgTys; for (unsigned i = 0, e = FTI.NumArgs; i != e; ++i) { QualType ArgTy = QualType::getFromOpaquePtr(FTI.ArgInfo[i].TypeInfo); |

