]> granicus.if.org Git - clang/commitdiff
clang-format two Decl* code locations, NFC.
authorYaron Keren <yaron.keren@gmail.com>
Mon, 26 Jan 2015 04:41:07 +0000 (04:41 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Mon, 26 Jan 2015 04:41:07 +0000 (04:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227070 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ExprCXX.h

index fca5e32472dbcf72cb9576ed15b42b8d8ee664cf..dc5d78b1f532b98d2de5e25fe6dc2f990cbf5300 100644 (file)
@@ -1134,7 +1134,7 @@ public:
                                   ConstructionKind ConstructKind,
                                   SourceRange ParenOrBraceRange);
 
-  CXXConstructorDeclgetConstructor() 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: