diff options
author | Albert Gutowski <agutowski@google.com> | 2016-09-13 21:24:51 +0000 |
---|---|---|
committer | Albert Gutowski <agutowski@google.com> | 2016-09-13 21:24:51 +0000 |
commit | 9918cb65736a69a141bba65e33e4a56f313681e4 (patch) | |
tree | 45ab273b27f21c1dae373d34f356f5e2bfcca6d5 /clang/lib/Sema/SemaDecl.cpp | |
parent | 807ee2ff69035ba5a31aeb1654a98e3506b97786 (diff) | |
download | bcm5719-llvm-9918cb65736a69a141bba65e33e4a56f313681e4.tar.gz bcm5719-llvm-9918cb65736a69a141bba65e33e4a56f313681e4.zip |
Reverse commit 281375 (breaks building Chromium)
llvm-svn: 281399
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index c28ef2cae40..3014369c887 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -1791,9 +1791,7 @@ NamedDecl *Sema::LazilyCreateBuiltin(IdentifierInfo *II, unsigned ID, return nullptr; } - if (!ForRedeclaration && - (Context.BuiltinInfo.isPredefinedLibFunction(ID) || - Context.BuiltinInfo.isHeaderDependentFunction(ID))) { + if (!ForRedeclaration && Context.BuiltinInfo.isPredefinedLibFunction(ID)) { Diag(Loc, diag::ext_implicit_lib_function_decl) << Context.BuiltinInfo.getName(ID) << R; if (Context.BuiltinInfo.getHeaderName(ID) && |