[clang] 5891a8f - [clang] Remove extra ';' in MultiplexExternalSemaSource.cpp (NFC)

Jie Fu via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 29 23:54:30 PST 2023


Author: Jie Fu
Date: 2023-11-30T15:53:36+08:00
New Revision: 5891a8f7ce0a7b866a5bc06c34092fbdb28dda1c

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

LOG: [clang] Remove extra ';' in MultiplexExternalSemaSource.cpp (NFC)

/llvm-project/clang/lib/Sema/MultiplexExternalSemaSource.cpp:317:2:
error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
};
 ^
1 error generated.

Added: 
    

Modified: 
    clang/lib/Sema/MultiplexExternalSemaSource.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/MultiplexExternalSemaSource.cpp b/clang/lib/Sema/MultiplexExternalSemaSource.cpp
index d0d6a3a866d62d2..100794de60ee03d 100644
--- a/clang/lib/Sema/MultiplexExternalSemaSource.cpp
+++ b/clang/lib/Sema/MultiplexExternalSemaSource.cpp
@@ -314,7 +314,7 @@ void MultiplexExternalSemaSource::ReadPendingInstantiationsOfConstexprEntity(
     const NamedDecl *D, llvm::SmallSetVector<NamedDecl *, 4> &Decls) {
   for (size_t i = 0; i < Sources.size(); ++i)
     Sources[i]->ReadPendingInstantiationsOfConstexprEntity(D, Decls);
-};
+}
 
 void MultiplexExternalSemaSource::ReadLateParsedTemplates(
     llvm::MapVector<const FunctionDecl *, std::unique_ptr<LateParsedTemplate>>


        


More information about the cfe-commits mailing list