From da835ad259e74520821a5fea115c6a14a13ecad4 Mon Sep 17 00:00:00 2001 From: Tom Honermann Date: Mon, 13 Jan 2025 13:19:43 -0800 Subject: [PATCH] [Clang][NFC] Indentation fixes and unneeded semicolon removal. --- clang/lib/Frontend/CompilerInvocation.cpp | 2 +- clang/lib/Serialization/ASTReaderDecl.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 39bed84536c6a..58658dedbaf1e 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -3280,7 +3280,7 @@ static void GenerateHeaderSearchArgs(const HeaderSearchOptions &Opts, }(); GenerateArg(Consumer, Opt, It->Path); - }; + } // Note: some paths that came from "[-iprefix=xx] -iwithprefixbefore=yy" may // have already been generated as "-I[xx]yy". If that's the case, their diff --git a/clang/lib/Serialization/ASTReaderDecl.cpp b/clang/lib/Serialization/ASTReaderDecl.cpp index dee5169ae5723..ee72dd844b59a 100644 --- a/clang/lib/Serialization/ASTReaderDecl.cpp +++ b/clang/lib/Serialization/ASTReaderDecl.cpp @@ -451,9 +451,8 @@ class ASTDeclReader : public DeclVisitor { void VisitOMPDeclareMapperDecl(OMPDeclareMapperDecl *D); void VisitOMPRequiresDecl(OMPRequiresDecl *D); void VisitOMPCapturedExprDecl(OMPCapturedExprDecl *D); - }; - - } // namespace clang +}; +} // namespace clang namespace {