summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-09-03 03:02:58 +0000
committerTed Kremenek <kremenek@apple.com>2009-09-03 03:02:58 +0000
commit17a0296a095cfe5e8e1048031bd86b268e9a4011 (patch)
treed0719d5212e293cbbc368f25722893d250d9d0ed
parent0b3720b3c383d7470451d96b0dc2f1882aa9c5f4 (diff)
downloadbcm5719-llvm-17a0296a095cfe5e8e1048031bd86b268e9a4011.tar.gz
bcm5719-llvm-17a0296a095cfe5e8e1048031bd86b268e9a4011.zip
Fix 80 column violations.
llvm-svn: 80873
-rw-r--r--clang/include/clang/Analysis/PathSensitive/GRCoreEngine.h11
-rw-r--r--clang/lib/Analysis/GRExprEngine.cpp13
2 files changed, 14 insertions, 10 deletions
diff --git a/clang/include/clang/Analysis/PathSensitive/GRCoreEngine.h b/clang/include/clang/Analysis/PathSensitive/GRCoreEngine.h
index 4d624bcc0fa..72aaf6ebb50 100644
--- a/clang/include/clang/Analysis/PathSensitive/GRCoreEngine.h
+++ b/clang/include/clang/Analysis/PathSensitive/GRCoreEngine.h
@@ -177,8 +177,8 @@ public:
return generateNodeInternal(PP, St, Pred);
}
- ExplodedNode* generateNode(const Stmt* S, const GRState* St, ExplodedNode* Pred,
- ProgramPoint::Kind K) {
+ ExplodedNode* generateNode(const Stmt *S, const GRState *St,
+ ExplodedNode *Pred, ProgramPoint::Kind K) {
HasGeneratedNode = true;
if (PurgingDeadSymbols)
@@ -187,7 +187,8 @@ public:
return generateNodeInternal(S, St, Pred, K, Tag);
}
- ExplodedNode* generateNode(const Stmt* S, const GRState* St, ExplodedNode* Pred) {
+ ExplodedNode* generateNode(const Stmt *S, const GRState *St,
+ ExplodedNode *Pred) {
return generateNode(S, St, Pred, PointKind);
}
@@ -222,8 +223,8 @@ public:
return MakeNode(Dst, S, Pred, St, PointKind);
}
- ExplodedNode* MakeNode(ExplodedNodeSet& Dst, Stmt* S,
- ExplodedNode* Pred, const GRState* St, ProgramPoint::Kind K) {
+ ExplodedNode* MakeNode(ExplodedNodeSet& Dst, Stmt* S, ExplodedNode* Pred,
+ const GRState* St, ProgramPoint::Kind K) {
const GRState* PredState = GetState(Pred);
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp
index a36916ba2eb..006af8c9ce5 100644
--- a/clang/lib/Analysis/GRExprEngine.cpp
+++ b/clang/lib/Analysis/GRExprEngine.cpp
@@ -2634,11 +2634,12 @@ void GRExprEngine::VisitAsmStmtHelperInputs(AsmStmt* A,
++I;
- for (ExplodedNodeSet::iterator NI = Tmp.begin(), NE = Tmp.end(); NI != NE; ++NI)
+ for (ExplodedNodeSet::iterator NI = Tmp.begin(), NE = Tmp.end(); NI!=NE; ++NI)
VisitAsmStmtHelperInputs(A, I, E, *NI, Dst);
}
-void GRExprEngine::EvalReturn(ExplodedNodeSet& Dst, ReturnStmt* S, ExplodedNode* Pred) {
+void GRExprEngine::EvalReturn(ExplodedNodeSet& Dst, ReturnStmt* S,
+ ExplodedNode* Pred) {
assert (Builder && "GRStmtNodeBuilder must be defined.");
unsigned size = Dst.size();
@@ -2654,7 +2655,8 @@ void GRExprEngine::EvalReturn(ExplodedNodeSet& Dst, ReturnStmt* S, ExplodedNode*
MakeNode(Dst, S, Pred, GetState(Pred));
}
-void GRExprEngine::VisitReturnStmt(ReturnStmt* S, ExplodedNode* Pred, ExplodedNodeSet& Dst) {
+void GRExprEngine::VisitReturnStmt(ReturnStmt* S, ExplodedNode* Pred,
+ ExplodedNodeSet& Dst) {
Expr* R = S->getRetValue();
@@ -2719,7 +2721,7 @@ void GRExprEngine::VisitBinaryOperator(BinaryOperator* B,
else
Visit(LHS, Pred, Tmp1);
- for (ExplodedNodeSet::iterator I1=Tmp1.begin(), E1=Tmp1.end(); I1 != E1; ++I1) {
+ for (ExplodedNodeSet::iterator I1=Tmp1.begin(), E1=Tmp1.end(); I1!=E1; ++I1) {
SVal LeftV = (*I1)->getState()->getSVal(LHS);
@@ -3129,7 +3131,8 @@ void GRExprEngine::ViewGraph(bool trim) {
// Iterate through the reports and get their nodes.
for (BugReporter::iterator I=BR.begin(), E=BR.end(); I!=E; ++I) {
- for (BugType::const_iterator I2=(*I)->begin(), E2=(*I)->end(); I2!=E2; ++I2) {
+ for (BugType::const_iterator I2=(*I)->begin(), E2=(*I)->end();
+ I2!=E2; ++I2) {
const BugReportEquivClass& EQ = *I2;
const BugReport &R = **EQ.begin();
ExplodedNode *N = const_cast<ExplodedNode*>(R.getEndNode());
OpenPOWER on IntegriCloud