From: Sean Eveson Date: Tue, 10 Nov 2015 11:48:55 +0000 (+0000) Subject: [Analyzer] Fix comments and formatting. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffa362c92fd6c917505161e7ace98a9be7bbda98;p=clang [Analyzer] Fix comments and formatting. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252599 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h b/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h index aac600c67a..3168733e42 100644 --- a/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h +++ b/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h @@ -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 diff --git a/lib/StaticAnalyzer/Core/CallEvent.cpp b/lib/StaticAnalyzer/Core/CallEvent.cpp index a07427a57e..3a55eb1b97 100644 --- a/lib/StaticAnalyzer/Core/CallEvent.cpp +++ b/lib/StaticAnalyzer/Core/CallEvent.cpp @@ -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); } } diff --git a/lib/StaticAnalyzer/Core/LoopWidening.cpp b/lib/StaticAnalyzer/Core/LoopWidening.cpp index 726f86f6f1..05865c294c 100644 --- a/lib/StaticAnalyzer/Core/LoopWidening.cpp +++ b/lib/StaticAnalyzer/Core/LoopWidening.cpp @@ -1,4 +1,4 @@ -//===--- LoopWidening.cpp - Instruction class definition --------*- C++ -*-===// +//===--- LoopWidening.cpp - Widen loops -------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure //