diff options
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 19155b6cc3..a5b30cc72a 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -161,15 +161,6 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, GlobalNewDeleteDeclared(false), CompleteTranslationUnit(CompleteTranslationUnit) { - // Get IdentifierInfo objects for known functions for which we - // do extra checking. - IdentifierTable &IT = PP.getIdentifierTable(); - - KnownFunctionIDs[id_NSLog] = &IT.get("NSLog"); - KnownFunctionIDs[id_NSLogv] = &IT.get("NSLogv"); - KnownFunctionIDs[id_asprintf] = &IT.get("asprintf"); - KnownFunctionIDs[id_vasprintf] = &IT.get("vasprintf"); - StdNamespace = 0; TUScope = 0; if (getLangOptions().CPlusPlus) |