1. Feb 26, 2013
  2. Feb 25, 2013
    • Daniel Jasper's avatar
      Re-add hack that caused regression. · 62e68174
      Daniel Jasper authored
      This fixes llvm.org/PR15350.
      
      Before:
      Constructor(int Parameter = 0)
          : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa),
                      aaaaaaaaaaaa(aaaaaaaaaaaaaaaaa) {}
      
      After:
      Constructor(int Parameter = 0)
          : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa),
            aaaaaaaaaaaa(aaaaaaaaaaaaaaaaa) {}
      
      I think the correct solution is to put the VariablePos into
      ParenState, not LineState. Added FIXME.
      
      llvm-svn: 176027
      62e68174
    • Howard Hinnant's avatar
    • Edwin Vane's avatar
      Adding hasDeclaration overload for TemplateSpecializationType · f901b719
      Edwin Vane authored
      TemplateSpecializationType doesn't quite have getDecl(). Need to go
      through TemplateName to get a TemplateDecl.
      
      Added test cases for the hasDeclaration() overload for
      TemplateSpecializationType. Also introduced the type matcher
      templateSpecializationType() used by the new hasDeclaration() test case.
      
      Updated LibASTMatchersReference.
      
      Reviewers: klimek
      llvm-svn: 176025
      f901b719
    • Edwin Vane's avatar
      Support in hasDeclaration for types with getDecl() · ed936457
      Edwin Vane authored
      Re-introducing r175532. The has_getDecl metafunction didn't compile with
      Visual Studio. This revision uses approaches has_getDecl from a
      different angle that isn't a problem for Visual Studio.
      
      Added dedicated tests for the metafunction.
      
      Reviewers: klimek
      llvm-svn: 176024
      ed936457
    • Chandler Carruth's avatar
      Fix spelling noticed by Duncan. · 121dbf88
      Chandler Carruth authored
      llvm-svn: 176023
      121dbf88