[clang] 526a4f2 - Fix formatting after Module.h include adjustment, NFC

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 13:52:53 PDT 2020


Author: Reid Kleckner
Date: 2020-03-11T13:52:47-07:00
New Revision: 526a4f2ac365a5babbc80e0f7c17be310728a538

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

LOG: Fix formatting after Module.h include adjustment, NFC

Forgot to implement code review comments.

Added: 
    

Modified: 
    clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
    clang/lib/AST/ASTContext.cpp

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h b/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
index 90976c433a83..8f0c7edc58b4 100644
--- a/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
+++ b/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
@@ -11,9 +11,9 @@
 
 #include "clang/Basic/LLVM.h"
 #include "clang/StaticAnalyzer/Core/CheckerManager.h"
+#include "llvm/ADT/SetVector.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/SetVector.h"
 #include <cstddef>
 #include <vector>
 

diff  --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 985130905df3..e50d1d608397 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -1616,7 +1616,8 @@ void ASTContext::getOverriddenMethods(
 }
 
 void ASTContext::addedLocalImportDecl(ImportDecl *Import) {
-  assert(!Import->getNextLocalImport() && "Import declaration already in the chain");
+  assert(!Import->getNextLocalImport() &&
+         "Import declaration already in the chain");
   assert(!Import->isFromASTFile() && "Non-local import declaration");
   if (!FirstLocalImport) {
     FirstLocalImport = Import;


        


More information about the cfe-commits mailing list