From 42e6737f2efb113563140ad794c21c7709250402 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Mar 2008 01:18:20 +0000 Subject: 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 --- include/clang/Lex/MacroInfo.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include/clang/Lex/MacroInfo.h') 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) { -- cgit v1.2.3-18-g5258