From: Yaron Keren Date: Mon, 26 Jan 2015 04:41:07 +0000 (+0000) Subject: clang-format two Decl* code locations, NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2adf9bd38f42d034c2d9c2ff6ae3fc0c54339f67;p=clang clang-format two Decl* code locations, NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227070 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ExprCXX.h b/include/clang/AST/ExprCXX.h index fca5e32472..dc5d78b1f5 100644 --- a/include/clang/AST/ExprCXX.h +++ b/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: