From: George Burgess IV Date: Sun, 15 Mar 2015 00:52:21 +0000 (+0000) Subject: Made CFLAA agree with clang-format. NFC. X-Git-Tag: llvmorg-3.7.0-rc1~9205 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11d509dba06aeff0744a8964ac4a19f58dd80a02;p=platform%2Fupstream%2Fllvm.git Made CFLAA agree with clang-format. NFC. So everyone's lives are easier in the future llvm-svn: 232293 --- diff --git a/llvm/lib/Analysis/CFLAliasAnalysis.cpp b/llvm/lib/Analysis/CFLAliasAnalysis.cpp index fffe2b5..2401aad 100644 --- a/llvm/lib/Analysis/CFLAliasAnalysis.cpp +++ b/llvm/lib/Analysis/CFLAliasAnalysis.cpp @@ -78,7 +78,7 @@ static Optional getTargetValue(Instruction *); static bool hasUsefulEdges(Instruction *); const StratifiedIndex StratifiedLink::SetSentinel = - std::numeric_limits::max(); + std::numeric_limits::max(); namespace { // StratifiedInfo Attribute things. @@ -147,9 +147,8 @@ struct FunctionInfo { // Lots of functions have < 4 returns. Adjust as necessary. SmallVector ReturnedValues; - FunctionInfo(StratifiedSets &&S, - SmallVector &&RV) - : Sets(std::move(S)), ReturnedValues(std::move(RV)) {} + FunctionInfo(StratifiedSets &&S, SmallVector &&RV) + : Sets(std::move(S)), ReturnedValues(std::move(RV)) {} }; struct CFLAliasAnalysis; @@ -281,8 +280,8 @@ public: } void visitCastInst(CastInst &Inst) { - Output.push_back(Edge(&Inst, Inst.getOperand(0), EdgeType::Assign, - AttrNone)); + Output.push_back( + Edge(&Inst, Inst.getOperand(0), EdgeType::Assign, AttrNone)); } void visitBinaryOperator(BinaryOperator &Inst) { @@ -446,7 +445,7 @@ public: } if (AddEdge) Output.push_back(Edge(FuncValue, ArgVal, EdgeType::Assign, - StratifiedAttrs().flip())); + StratifiedAttrs().flip())); } if (Parameters.size() != Arguments.size()) @@ -588,8 +587,7 @@ private: EdgeTypeT Weight; Node Other; - Edge(const EdgeTypeT &W, const Node &N) - : Weight(W), Other(N) {} + Edge(const EdgeTypeT &W, const Node &N) : Weight(W), Other(N) {} bool operator==(const Edge &E) const { return Weight == E.Weight && Other == E.Other;