aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-06-06 02:08:44 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-06-06 02:08:44 +0000
commit6eb32f433fc660a3812497a88efa7537f48d43cf (patch)
tree55e934029e67fa4e82159b3dd951a0d04f0f6cd6 /lib/Sema/Sema.h
parent798651952788e52acaa841f61c3694e6e4a823cf (diff)
Default builtin creation to off; we don't really want to be doing it
without a relevant source location anyway. Fixes the issue with weird warnings when including objc/Object.h on OS X. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r--lib/Sema/Sema.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index ecf08ad7fe..d3bfef67cb 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -1047,7 +1047,7 @@ public:
LookupResult LookupName(Scope *S, DeclarationName Name,
LookupNameKind NameKind,
bool RedeclarationOnly = false,
- bool AllowBuiltinCreation = true,
+ bool AllowBuiltinCreation = false,
SourceLocation Loc = SourceLocation());
LookupResult LookupQualifiedName(DeclContext *LookupCtx, DeclarationName Name,
LookupNameKind NameKind,
@@ -1056,7 +1056,7 @@ public:
DeclarationName Name,
LookupNameKind NameKind,
bool RedeclarationOnly = false,
- bool AllowBuiltinCreation = true,
+ bool AllowBuiltinCreation = false,
SourceLocation Loc = SourceLocation());
ObjCProtocolDecl *LookupProtocol(IdentifierInfo *II);