diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-05 01:18:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-05 01:18:20 +0000 |
commit | 42e6737f2efb113563140ad794c21c7709250402 (patch) | |
tree | a308f3a2092db95c7aa132a84c820447da8d1a30 /include/clang/Lex/MacroInfo.h | |
parent | 424f67155475296804f9b9159dba606859441924 (diff) |
Remove the first layer of support for "portability" warnings. This is
theoretically useful, but not useful in practice. It adds a bunch of
complexity, and not much value. It's best to nuke it. One big advantage
is that it means the target interfaces will soon lose their SLoc arguments
and target queries can never emit diagnostics anymore (yay). Removing this
also simplifies some of the core preprocessor which should make it slightly
faster.
Ted, I didn't simplify TripleProcessor, which can now have at most one
triple, and can probably just be removed. Please poke at it when you have
time.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/MacroInfo.h')
-rw-r--r-- | include/clang/Lex/MacroInfo.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/clang/Lex/MacroInfo.h b/include/clang/Lex/MacroInfo.h index f690d955bd..c63b701a85 100644 --- a/include/clang/Lex/MacroInfo.h +++ b/include/clang/Lex/MacroInfo.h @@ -59,9 +59,6 @@ class MacroInfo { /// it has not yet been redefined or undefined. bool IsBuiltinMacro : 1; - /// IsTargetSpecific - True if this is a target-specific macro defined with - /// #define_target. - bool IsTargetSpecific : 1; private: //===--------------------------------------------------------------------===// // State that changes as the macro is used. @@ -97,13 +94,6 @@ public: IsBuiltinMacro = Val; } - /// setIsTargetSpecific - Set or clear the IsTargetSpecific flag. - /// - void setIsTargetSpecific(bool Val = true) { - IsTargetSpecific = Val; - } - bool isTargetSpecific() const { return IsTargetSpecific; } - /// setIsUsed - Set the value of the IsUsed flag. /// void setIsUsed(bool Val) { |