diff options
author | Leonard Chan <leonardchan@google.com> | 2019-05-03 03:28:06 +0000 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2019-05-03 03:28:06 +0000 |
commit | ef2dc25a962deae73f8ba723ce5a55404dda9fdb (patch) | |
tree | c5e7eb641d55ef5d673cfa907a98d18451a15e36 /clang/lib/AST/ASTStructuralEquivalence.cpp | |
parent | ecc969caf9fdedb514f8a51bdeb210436a99cef1 (diff) | |
download | bcm5719-llvm-ef2dc25a962deae73f8ba723ce5a55404dda9fdb.tar.gz bcm5719-llvm-ef2dc25a962deae73f8ba723ce5a55404dda9fdb.zip |
Revert "[Attribute/Diagnostics] Print macro if definition is an attribute declaration"
This reverts commit fc40cbd9d8c63e65eed3590ba925321afe782e1d.
llvm-svn: 359859
Diffstat (limited to 'clang/lib/AST/ASTStructuralEquivalence.cpp')
-rw-r--r-- | clang/lib/AST/ASTStructuralEquivalence.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/AST/ASTStructuralEquivalence.cpp b/clang/lib/AST/ASTStructuralEquivalence.cpp index 567945c16cd..71bbd824812 100644 --- a/clang/lib/AST/ASTStructuralEquivalence.cpp +++ b/clang/lib/AST/ASTStructuralEquivalence.cpp @@ -595,13 +595,6 @@ static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, return false; break; - case Type::MacroQualified: - if (!IsStructurallyEquivalent( - Context, cast<MacroQualifiedType>(T1)->getUnderlyingType(), - cast<MacroQualifiedType>(T2)->getUnderlyingType())) - return false; - break; - case Type::Typedef: if (!IsStructurallyEquivalent(Context, cast<TypedefType>(T1)->getDecl(), cast<TypedefType>(T2)->getDecl())) |