summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-14 01:52:53 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-14 01:52:53 +0000
commit538c3d845986a43014574d6a21a030281c266fdb (patch)
treee304449e0a82e5dedd173f7d0bec8e9c618a6625 /clang/lib/Sema/Sema.cpp
parente68c0fcfb239eef2c8468bb8c32e97fe9f58e7be (diff)
downloadbcm5719-llvm-538c3d845986a43014574d6a21a030281c266fdb.tar.gz
bcm5719-llvm-538c3d845986a43014574d6a21a030281c266fdb.zip
Make it possible for builtins to expression FILE* arguments, so that
we can define builtins such as fprintf, vfprintf, and __builtin___fprintf_chk. Give a nice error message when we need to implicitly declare a function like fprintf. llvm-svn: 64526
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
-rw-r--r--clang/lib/Sema/Sema.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp
index 45ef03506f2..4666250c4a7 100644
--- a/clang/lib/Sema/Sema.cpp
+++ b/clang/lib/Sema/Sema.cpp
@@ -133,9 +133,7 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer)
KnownFunctionIDs[id_NSLog] = &IT.get("NSLog");
KnownFunctionIDs[id_asprintf] = &IT.get("asprintf");
- KnownFunctionIDs[id_fprintf] = &IT.get("fprintf");
KnownFunctionIDs[id_vasprintf] = &IT.get("vasprintf");
- KnownFunctionIDs[id_vfprintf] = &IT.get("vfprintf");
StdNamespace = 0;
TUScope = 0;
OpenPOWER on IntegriCloud