properly namespacify.

llvm-svn: 44845
This commit is contained in:
Chris Lattner 2007-12-11 04:36:28 +00:00
parent 63ba2c06c4
commit 29a16af8de
2 changed files with 10 additions and 7 deletions

View File

@ -299,6 +299,7 @@ static const char* getPPCVAListDeclaration() {
/// PPC builtin info.
namespace clang {
namespace PPC {
static const Builtin::Info BuiltinInfo[] = {
@ -404,7 +405,6 @@ namespace PPC {
} // End namespace PPC
/// X86 builtin info.
namespace X86 {
static const Builtin::Info BuiltinInfo[] = {
@ -477,6 +477,7 @@ namespace X86 {
}
} // End namespace X86
} // end namespace clang.
//===----------------------------------------------------------------------===//
// Specific target implementations.

View File

@ -12,24 +12,26 @@
#include "clang/AST/Builtins.h"
/// X86 builtins
namespace X86 {
namespace clang {
/// X86 builtins
namespace X86 {
enum {
LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1,
#define BUILTIN(ID, TYPE, ATTRS) BI##ID,
#include "X86Builtins.def"
LastTSBuiltin
};
}
}
/// PPC builtins
namespace PPC {
/// PPC builtins
namespace PPC {
enum {
LastTIBuiltin = clang::Builtin::FirstTSBuiltin-1,
#define BUILTIN(ID, TYPE, ATTRS) BI##ID,
#include "PPCBuiltins.def"
LastTSBuiltin
};
}
}
} // end namespace clang.
#endif