summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/Builtins.h
diff options
context:
space:
mode:
authorAlbert Gutowski <agutowski@google.com>2016-09-13 21:24:51 +0000
committerAlbert Gutowski <agutowski@google.com>2016-09-13 21:24:51 +0000
commit1b076bcb9c3096b8c688ad0a91af6efa61b4b008 (patch)
tree61f6f147c2a6290f9dd90c030866c25d569202c1 /include/clang/Basic/Builtins.h
parent3a10548d229142f4ba8ebc662e5fd4270ea680c8 (diff)
Reverse commit 281375 (breaks building Chromium)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Builtins.h')
-rw-r--r--include/clang/Basic/Builtins.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/clang/Basic/Builtins.h b/include/clang/Basic/Builtins.h
index c89880de0a..15e9a413fb 100644
--- a/include/clang/Basic/Builtins.h
+++ b/include/clang/Basic/Builtins.h
@@ -139,13 +139,6 @@ public:
return strchr(getRecord(ID).Attributes, 'f') != nullptr;
}
- // \brief Returns true if this builtin requires appropriate header in other
- // compilers. In Clang it will work even without including it, but we can emit
- // a warning about missing header.
- bool isHeaderDependentFunction(unsigned ID) const {
- return strchr(getRecord(ID).Attributes, 'h') != nullptr;
- }
-
/// \brief Determines whether this builtin is a predefined compiler-rt/libgcc
/// function, such as "__clear_cache", where we know the signature a
/// priori.