summaryrefslogtreecommitdiffstats
path: root/clang/tools
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2019-05-03 03:28:06 +0000
committerLeonard Chan <leonardchan@google.com>2019-05-03 03:28:06 +0000
commitef2dc25a962deae73f8ba723ce5a55404dda9fdb (patch)
treec5e7eb641d55ef5d673cfa907a98d18451a15e36 /clang/tools
parentecc969caf9fdedb514f8a51bdeb210436a99cef1 (diff)
downloadbcm5719-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/tools')
-rw-r--r--clang/tools/libclang/CIndex.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index 1144ec64f58..a5a8998f613 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/tools/libclang/CIndex.cpp
@@ -1614,10 +1614,6 @@ bool CursorVisitor::VisitParenTypeLoc(ParenTypeLoc TL) {
return Visit(TL.getInnerLoc());
}
-bool CursorVisitor::VisitMacroQualifiedTypeLoc(MacroQualifiedTypeLoc TL) {
- return Visit(TL.getInnerLoc());
-}
-
bool CursorVisitor::VisitPointerTypeLoc(PointerTypeLoc TL) {
return Visit(TL.getPointeeLoc());
}
OpenPOWER on IntegriCloud