summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-01-26 04:41:07 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-01-26 04:41:07 +0000
commit3bf8462331aa3c334772173c1902150dbf02d091 (patch)
tree01f07f23cacc7e96dff28f0f4fc81acbdc39e6fd
parentfe0053eb4291f3fc5c5f9468c2e633fd7dde6c32 (diff)
downloadbcm5719-llvm-3bf8462331aa3c334772173c1902150dbf02d091.tar.gz
bcm5719-llvm-3bf8462331aa3c334772173c1902150dbf02d091.zip
clang-format two Decl* code locations, NFC.
llvm-svn: 227070
-rw-r--r--clang/include/clang/AST/ExprCXX.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/clang/include/clang/AST/ExprCXX.h b/clang/include/clang/AST/ExprCXX.h
index fca5e32472d..dc5d78b1f53 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<unsigned *>(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<VarDecl*>());
+ unsigned ArrayIndexSize = llvm::RoundUpToAlignment(
+ sizeof(unsigned) * (NumCaptures + 1), llvm::alignOf<VarDecl *>());
return reinterpret_cast<VarDecl **>(
- reinterpret_cast<char*>(getArrayIndexStarts()) + ArrayIndexSize);
+ reinterpret_cast<char *>(getArrayIndexStarts()) + ArrayIndexSize);
}
public:
OpenPOWER on IntegriCloud