[clang-tools-extra] e408b54 - [clangd] Fix gcc compiler warning by removing extra ";" [NFC]

Mikael Holmen via cfe-commits cfe-commits at lists.llvm.org
Tue May 19 02:58:45 PDT 2020


Author: Mikael Holmen
Date: 2020-05-19T11:57:15+02:00
New Revision: e408b54290bd5dc35b02ef4270292d52c89d9751

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

LOG: [clangd] Fix gcc compiler warning by removing extra ";" [NFC]

gcc complained with:

/data/repo/master/clang-tools-extra/clangd/index/Ref.h:189:2: warning: extra ';' [-Wpedantic]
 }; // namespace llvm
  ^

Added: 
    

Modified: 
    clang-tools-extra/clangd/index/Ref.h

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/index/Ref.h b/clang-tools-extra/clangd/index/Ref.h
index cba8adaee7c2..577db7525442 100644
--- a/clang-tools-extra/clangd/index/Ref.h
+++ b/clang-tools-extra/clangd/index/Ref.h
@@ -186,6 +186,6 @@ template <> struct DenseMapInfo<clang::clangd::RefSlab::Builder::Entry> {
            LHS.Reference.Location.End == RHS.Reference.Location.End;
   }
 };
-}; // namespace llvm
+} // namespace llvm
 
 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_REF_H


        


More information about the cfe-commits mailing list