[clang] 4b24ab1 - [AST] Remove unused and undefined `TypeLoc::IgnoreMacroDefinitions` function. NFC

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 29 02:27:44 PST 2019


Author: Ilya Biryukov
Date: 2019-11-29T11:21:07+01:00
New Revision: 4b24ab181aef58c6e2001e630331385648db3c08

URL: https://github.com/llvm/llvm-project/commit/4b24ab181aef58c6e2001e630331385648db3c08
DIFF: https://github.com/llvm/llvm-project/commit/4b24ab181aef58c6e2001e630331385648db3c08.diff

LOG: [AST] Remove unused and undefined `TypeLoc::IgnoreMacroDefinitions` function. NFC

Looks like an accidental leftover from the older version of the code.

Added: 
    

Modified: 
    clang/include/clang/AST/TypeLoc.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/TypeLoc.h b/clang/include/clang/AST/TypeLoc.h
index f305680d775c..7f1d429ac3b4 100644
--- a/clang/include/clang/AST/TypeLoc.h
+++ b/clang/include/clang/AST/TypeLoc.h
@@ -173,9 +173,6 @@ class TypeLoc {
 
   TypeLoc IgnoreParens() const;
 
-  /// Strips MacroDefinitionTypeLocs from a type location.
-  TypeLoc IgnoreMacroDefinitions() const;
-
   /// Find a type with the location of an explicit type qualifier.
   ///
   /// The result, if non-null, will be one of:


        


More information about the cfe-commits mailing list