From: Yaron Keren Date: Mon, 26 Jan 2015 04:41:07 +0000 (+0000) Subject: clang-format two Decl* code locations, NFC. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3bf8462331aa3c334772173c1902150dbf02d091;p=platform%2Fupstream%2Fllvm.git clang-format two Decl* code locations, NFC. llvm-svn: 227070 --- diff --git a/clang/include/clang/AST/ExprCXX.h b/clang/include/clang/AST/ExprCXX.h index fca5e32..dc5d78b 100644 --- a/clang/include/clang/AST/ExprCXX.h +++ b/clang/include/clang/AST/ExprCXX.h @@ -1134,7 +1134,7 @@ public: ConstructionKind ConstructKind, SourceRange ParenOrBraceRange); - CXXConstructorDecl* getConstructor() const { return Constructor; } + CXXConstructorDecl *getConstructor() const { return Constructor; } void setConstructor(CXXConstructorDecl *C) { Constructor = C; } SourceLocation getLocation() const { return Loc; } @@ -1411,14 +1411,13 @@ class LambdaExpr : public Expr { unsigned *getArrayIndexStarts() const { return reinterpret_cast(getStoredStmts() + NumCaptures + 1); } - + /// \brief Retrieve the complete set of array-index variables. VarDecl **getArrayIndexVars() const { - unsigned ArrayIndexSize = - llvm::RoundUpToAlignment(sizeof(unsigned) * (NumCaptures + 1), - llvm::alignOf()); + unsigned ArrayIndexSize = llvm::RoundUpToAlignment( + sizeof(unsigned) * (NumCaptures + 1), llvm::alignOf()); return reinterpret_cast( - reinterpret_cast(getArrayIndexStarts()) + ArrayIndexSize); + reinterpret_cast(getArrayIndexStarts()) + ArrayIndexSize); } public: