aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Builtins.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/Builtins.h')
-rw-r--r--include/clang/AST/Builtins.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/AST/Builtins.h b/include/clang/AST/Builtins.h
index 9216029860..b16d3bf341 100644
--- a/include/clang/AST/Builtins.h
+++ b/include/clang/AST/Builtins.h
@@ -17,6 +17,7 @@
#include <cstring>
#include <string>
+#include "llvm/ADT/SmallVector.h"
namespace clang {
class TargetInfo;
@@ -60,6 +61,10 @@ public:
/// appropriate builtin ID # and mark any non-portable builtin identifiers as
/// such.
void InitializeBuiltins(IdentifierTable &Table, bool NoBuiltins = false);
+
+ /// \brief Popular the vector with the names of all of the builtins.
+ void GetBuiltinNames(llvm::SmallVectorImpl<const char *> &Names,
+ bool NoBuiltins);
/// Builtin::GetName - Return the identifier name for the specified builtin,
/// e.g. "__builtin_abs".