summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/nested-name-spec-locations.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate redundant nested-name-specifiers onDouglas Gregor2011-03-031-0/+14
| | | | | | TemplateSpecializationTypes, which also fixes PR9388. llvm-svn: 126946
* Push nested-name-specifier source location information into templateDouglas Gregor2011-03-021-0/+18
| | | | | | | | | | | | template arguments. I believe that this is the last place in the AST where we were storing a source range for a nested-name-specifier rather than a proper nested-name-specifier location structure. (Yay!) There is still a lot of cleanup to do in the TreeTransform, which doesn't take advantage of nested-name-specifiers with source-location information everywhere it could. llvm-svn: 126844
* Push nested-name-specifier source-location information into dependentDouglas Gregor2011-03-021-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | template specialization types. This also required some parser tweaks, since we were losing track of the nested-name-specifier's source location information in several places in the parser. Other notable changes this required: - Sema::ActOnTagTemplateIdType now type-checks and forms the appropriate type nodes (+ source-location information) for an elaborated-type-specifier ending in a template-id. Previously, we used a combination of ActOnTemplateIdType and ActOnTagTemplateIdType that resulted in an ElaboratedType wrapped around a DependentTemplateSpecializationType, which duplicated the keyword ("class", "struct", etc.) and nested-name-specifier storage. - Sema::ActOnTemplateIdType now gets a nested-name-specifier, which it places into the returned type-source location information. - Sema::ActOnDependentTag now creates types with source-location information. llvm-svn: 126808
* Push nested-name-specifier source-location information into dependentDouglas Gregor2011-03-011-0/+25
| | | | | | | | template specialization types. There are still a few rough edges to clean up with some of the parser actions dropping nested-name-specifiers too early. llvm-svn: 126776
* Push nested-name-specifier source location information intoDouglas Gregor2011-03-011-0/+11
| | | | | | | | | | | | DependentNameTypeLoc. Teach the recursive AST visitor and libclang how to walk DependentNameTypeLoc nodes. Also, teach libclang about TypedefDecl source ranges, so that we get those. The massive churn in test/Index/recursive-cxx-member-calls.cpp is a good thing: we're annotating a lot more of this test correctly now. llvm-svn: 126729
* Push nested-name-specifier source location information intoDouglas Gregor2011-02-281-1/+7
| | | | | | | | CXXDependentScopeMemberExpr, and clean up instantiation of nested-name-specifiers with dependent template specialization types in the process. llvm-svn: 126663
* Push nested-name-specifier source location information intoDouglas Gregor2011-02-251-0/+7
| | | | | | | DependentScopeDeclRefExpr. Plus, give NestedNameSpecifierLoc == and != operators, since we're going to need 'em elsewhere. llvm-svn: 126508
* s/clang-cc1/clang_cc1Matt Beaumont-Gay2011-02-251-1/+1
| | | | llvm-svn: 126501
* Push nested-name-specifier source-location information intoDouglas Gregor2011-02-251-0/+21
| | | | | | | | pseudo-destructor expressions. Also, clean up some template-instantiation and type-checking issues with pseudo-destructors. llvm-svn: 126498
* Maintain nested-name-specifier source-location information throughDouglas Gregor2011-02-251-0/+42
instantiation of using declarations (all three forms). llvm-svn: 126485
OpenPOWER on IntegriCloud