]> granicus.if.org Git - clang/commitdiff
Un-tabify source files, NFC.
authorYaron Keren <yaron.keren@gmail.com>
Sat, 8 Oct 2016 06:45:10 +0000 (06:45 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Sat, 8 Oct 2016 06:45:10 +0000 (06:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283657 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTContext.cpp
lib/AST/ExprConstant.cpp
lib/AST/NestedNameSpecifier.cpp
lib/AST/TypeLoc.cpp

index 9e801b5d7ae787afd9deb7bceea6eaa90a0f7e05..dc99d4dabd437d4371b10eead3842c1abed7e678 100644 (file)
@@ -6557,9 +6557,8 @@ CreateX86_64ABIBuiltinVaListDecl(const ASTContext *Context) {
 static TypedefDecl *CreatePNaClABIBuiltinVaListDecl(const ASTContext *Context) {
   // typedef int __builtin_va_list[4];
   llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 4);
-  QualType IntArrayType
-    = Context->getConstantArrayType(Context->IntTy,
-                                   Size, ArrayType::Normal, 0);
+  QualType IntArrayType =
+      Context->getConstantArrayType(Context->IntTy, Size, ArrayType::Normal, 0);
   return Context->buildImplicitTypedef(IntArrayType, "__builtin_va_list");
 }
 
index 198e299d44227b1d5c5e6a7cc174438c8d8b452d..5413cebd87b33744da9e6a13c6a697603efc3f47 100644 (file)
@@ -5294,8 +5294,8 @@ bool PointerExprEvaluator::VisitCallExpr(const CallExpr *E) {
 
       if (BaseAlignment < Align) {
         Result.Designator.setInvalid();
-       // FIXME: Quantities here cast to integers because the plural modifier
-       // does not work on APSInts yet.
+        // FIXME: Quantities here cast to integers because the plural modifier
+        // does not work on APSInts yet.
         CCEDiag(E->getArg(0),
                 diag::note_constexpr_baa_insufficient_alignment) << 0
           << (int) BaseAlignment.getQuantity()
index 82809d7ea7b53ec9773410aa250b438461fc21f6..3883b641f1e2a488f652fcd724923b8a034f3edd 100644 (file)
@@ -155,7 +155,7 @@ NestedNameSpecifier::SpecifierKind NestedNameSpecifier::getKind() const {
 
 /// \brief Retrieve the namespace stored in this nested name specifier.
 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const {
-       if (Prefix.getInt() == StoredDecl)
+  if (Prefix.getInt() == StoredDecl)
     return dyn_cast<NamespaceDecl>(static_cast<NamedDecl *>(Specifier));
 
   return nullptr;
@@ -163,7 +163,7 @@ NamespaceDecl *NestedNameSpecifier::getAsNamespace() const {
 
 /// \brief Retrieve the namespace alias stored in this nested name specifier.
 NamespaceAliasDecl *NestedNameSpecifier::getAsNamespaceAlias() const {
-       if (Prefix.getInt() == StoredDecl)
+  if (Prefix.getInt() == StoredDecl)
     return dyn_cast<NamespaceAliasDecl>(static_cast<NamedDecl *>(Specifier));
 
   return nullptr;
index 7b94a0e067b28a25509d3d9be54002d4983b4064..4b227da35ff4111ba762f9e284cf96c3c6c57db8 100644 (file)
@@ -210,7 +210,7 @@ SourceLocation TypeLoc::getEndLoc() const {
     switch (Cur.getTypeLocClass()) {
     default:
       if (!Last)
-       Last = Cur;
+        Last = Cur;
       return Last.getLocalSourceRange().getEnd();
     case Paren:
     case ConstantArray: