]> granicus.if.org Git - clang/commitdiff
[Analyzer] Fix comments and formatting. NFC.
authorSean Eveson <eveson.sean@gmail.com>
Tue, 10 Nov 2015 11:48:55 +0000 (11:48 +0000)
committerSean Eveson <eveson.sean@gmail.com>
Tue, 10 Nov 2015 11:48:55 +0000 (11:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252599 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
lib/StaticAnalyzer/Core/CallEvent.cpp
lib/StaticAnalyzer/Core/LoopWidening.cpp

index aac600c67a2967c67a7cec29584c1b537af0cde0..3168733e4258eaab9d443b5237017580b3af8025 100644 (file)
@@ -1,4 +1,4 @@
-//===--- LoopWidening.h - Instruction class definition ----------*- C++ -*-===//
+//===--- LoopWidening.h - Widen loops ---------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -28,8 +28,7 @@ namespace ento {
 /// by the loop body in any iteration.
 ProgramStateRef getWidenedLoopState(ProgramStateRef PrevState,
                                     const LocationContext *LCtx,
-                                    unsigned BlockCount,
-                                    const Stmt *LoopStmt);
+                                    unsigned BlockCount, const Stmt *LoopStmt);
 
 } // end namespace ento
 } // end namespace clang
index a07427a57e0eed4a09f52a1c39cb135ec686bf73..3a55eb1b9773f82904583c267074d2800bad6a02 100644 (file)
@@ -420,8 +420,8 @@ const FunctionDecl *CXXInstanceCall::getDecl() const {
   return getSVal(CE->getCallee()).getAsFunctionDecl();
 }
 
-void CXXInstanceCall::getExtraInvalidatedValues(ValueList &Values,
-                        RegionAndSymbolInvalidationTraits *ETraits) const {
+void CXXInstanceCall::getExtraInvalidatedValues(
+    ValueList &Values, RegionAndSymbolInvalidationTraits *ETraits) const {
   SVal ThisVal = getCXXThisVal();
   Values.push_back(ThisVal);
 
@@ -442,7 +442,7 @@ void CXXInstanceCall::getExtraInvalidatedValues(ValueList &Values,
       return;
 
     ETraits->setTrait(ThisRegion->getBaseRegion(),
-      RegionAndSymbolInvalidationTraits::TK_PreserveContents);
+                      RegionAndSymbolInvalidationTraits::TK_PreserveContents);
   }
 }
 
index 726f86f6f1364bd5a0897e165bbdd558b7b83abc..05865c294cb700a4dfcf37a722f924189117631b 100644 (file)
@@ -1,4 +1,4 @@
-//===--- LoopWidening.cpp - Instruction class definition --------*- C++ -*-===//
+//===--- LoopWidening.cpp - Widen loops -------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //