[clang] d1fae59 - [clang-tidy] Fix build error (NFC)

Jie Fu via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 23 23:02:11 PDT 2024


Author: Jie Fu
Date: 2024-10-24T14:01:25+08:00
New Revision: d1fae5996e66c2a9f0b1c5b9776f86962ab8e9ea

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

LOG: [clang-tidy] Fix build error (NFC)

/llvm-project/clang/include/clang/Analysis/FlowSensitive/NoopLattice.h:49:2:
error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
}; // namespace llvm

Added: 
    

Modified: 
    clang/include/clang/Analysis/FlowSensitive/NoopLattice.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Analysis/FlowSensitive/NoopLattice.h b/clang/include/clang/Analysis/FlowSensitive/NoopLattice.h
index 6cc00680eab791..0938091cd689f0 100644
--- a/clang/include/clang/Analysis/FlowSensitive/NoopLattice.h
+++ b/clang/include/clang/Analysis/FlowSensitive/NoopLattice.h
@@ -46,6 +46,6 @@ namespace llvm {
 // CLANG_LINK_CLANG_DYLIB
 extern template struct CLANG_TEMPLATE_ABI
     Any::TypeId<clang::dataflow::NoopLattice>;
-}; // namespace llvm
+} // namespace llvm
 
 #endif // LLVM_CLANG_ANALYSIS_FLOWSENSITIVE_NOOP_LATTICE_H


        


More information about the cfe-commits mailing list