forked from OSchip/llvm-project
clang-format two Decl* code locations, NFC.
llvm-svn: 227070
This commit is contained in:
parent
fe0053eb42
commit
3bf8462331
|
@ -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; }
|
||||
|
@ -1414,11 +1414,10 @@ class LambdaExpr : public Expr {
|
|||
|
||||
/// \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:
|
||||
|
|
Loading…
Reference in New Issue