[clang-tools-extra] r370757 - [clangd] Wrong attribute on debug function in r370746

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 3 06:54:27 PDT 2019


Author: sammccall
Date: Tue Sep  3 06:54:27 2019
New Revision: 370757

URL: http://llvm.org/viewvc/llvm-project?rev=370757&view=rev
Log:
[clangd] Wrong attribute on debug function in r370746

Modified:
    clang-tools-extra/trunk/clangd/FindTarget.cpp

Modified: clang-tools-extra/trunk/clangd/FindTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/FindTarget.cpp?rev=370757&r1=370756&r2=370757&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/FindTarget.cpp (original)
+++ clang-tools-extra/trunk/clangd/FindTarget.cpp Tue Sep  3 06:54:27 2019
@@ -27,7 +27,7 @@ namespace clang {
 namespace clangd {
 namespace {
 
-LLVM_DUMP_METHOD std::string
+LLVM_ATTRIBUTE_UNUSED std::string
 nodeToString(const ast_type_traits::DynTypedNode &N) {
   std::string S = N.getNodeKind().asStringRef();
   {




More information about the cfe-commits mailing list