aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/Builtins.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-10-05 15:41:24 +0000
committerDouglas Gregor <dgregor@apple.com>2010-10-05 15:41:24 +0000
commit4a1bb8c4d708d5594e62c9ec7e25e273cae8a1ed (patch)
treed983cc66a40bbcfbd4db226ddbba373e0e6674ff /include/clang/Basic/Builtins.h
parent90c121c8dbdcdd4a0a01d5fba3b398dbfc50b37c (diff)
Register the __builtin_va_list_type node when we parse it, rather than
waiting until we think we need it: we didn't catch all of the places where we actually needed it, and we probably wouldn't ever. Fixes a C++ PCH crasher. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Builtins.h')
-rw-r--r--include/clang/Basic/Builtins.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/clang/Basic/Builtins.h b/include/clang/Basic/Builtins.h
index 94d5e6955a..fa437ffd67 100644
--- a/include/clang/Basic/Builtins.h
+++ b/include/clang/Basic/Builtins.h
@@ -124,12 +124,6 @@ public:
/// argument and whether this function as a va_list argument.
bool isScanfLike(unsigned ID, unsigned &FormatIdx, bool &HasVAListArg);
- /// hasVAListUse - Return true of the specified builtin uses __builtin_va_list
- /// as an operand or return type.
- bool hasVAListUse(unsigned ID) const {
- return strpbrk(GetRecord(ID).Type, "Aa") != 0;
- }
-
/// isConstWithoutErrno - Return true if this function has no side
/// effects and doesn't read memory, except for possibly errno. Such
/// functions can be const when the MathErrno lang option is