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/ARCMigrate | |
parent | ecc969caf9fdedb514f8a51bdeb210436a99cef1 (diff) | |
download | llvm-ef2dc25a962deae73f8ba723ce5a55404dda9fdb.zip llvm-ef2dc25a962deae73f8ba723ce5a55404dda9fdb.tar.gz llvm-ef2dc25a962deae73f8ba723ce5a55404dda9fdb.tar.bz2 |
Revert "[Attribute/Diagnostics] Print macro if definition is an attribute declaration"
This reverts commit fc40cbd9d8c63e65eed3590ba925321afe782e1d.
llvm-svn: 359859
Diffstat (limited to 'clang/lib/ARCMigrate')
-rw-r--r-- | clang/lib/ARCMigrate/TransGCAttrs.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/ARCMigrate/TransGCAttrs.cpp b/clang/lib/ARCMigrate/TransGCAttrs.cpp index fdbe1d1..a73b526 100644 --- a/clang/lib/ARCMigrate/TransGCAttrs.cpp +++ b/clang/lib/ARCMigrate/TransGCAttrs.cpp @@ -68,9 +68,6 @@ public: if (handleAttr(Attr, D)) break; TL = Attr.getModifiedLoc(); - } else if (MacroQualifiedTypeLoc MDTL = - TL.getAs<MacroQualifiedTypeLoc>()) { - TL = MDTL.getInnerLoc(); } else if (ArrayTypeLoc Arr = TL.getAs<ArrayTypeLoc>()) { TL = Arr.getElementLoc(); } else if (PointerTypeLoc PT = TL.getAs<PointerTypeLoc>()) { |