diff options
author | Eli Bendersky <eliben@google.com> | 2013-07-23 00:13:01 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-07-23 00:13:01 +0000 |
commit | 264d206244bde858471e4b6211aeba28fd8ce7cb (patch) | |
tree | 2bc8f8541a9a121079d0b4d778546630fddba9f1 /include/clang/Basic/Builtins.h | |
parent | 1f4379184ee07217183d11acf142ea6fe0d487a0 (diff) |
Add a -fno-math-builtin option to the Clang -cc1
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Builtins.h')
-rw-r--r-- | include/clang/Basic/Builtins.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Basic/Builtins.h b/include/clang/Basic/Builtins.h index ef8955c94b..b66c0db464 100644 --- a/include/clang/Basic/Builtins.h +++ b/include/clang/Basic/Builtins.h @@ -171,6 +171,10 @@ public: private: const Info &GetRecord(unsigned ID) const; + + /// \brief Is this builtin supported according to the given language options? + bool BuiltinIsSupported(const Builtin::Info &BuiltinInfo, + const LangOptions &LangOpts); }; } |