summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/annotate-tokens-cxx0x.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Report a correct end location for nameless parameters.Benjamin Kramer2014-02-021-2/+2
| | | | | | | | | | | | | | | Ranges before: void test(void (*)(int), int, float); ~~~~~~~~~~~~~ ~~~~ ~~~~~~ Ranges after: void test(void (*)(int), int, float); ~~~~~~~~~~~~~ ~~~ ~~~~~ This does not change the actual location of the ParmVarDecl, it still points to the location where the name would be. PR17970. llvm-svn: 200640
* Fix the end-location of a CXXTemporaryObjectExpr when it is created with a ↵Argyrios Kyrtzidis2013-09-111-0/+44
| | | | | | | | initializer_list. rdar://14887351 llvm-svn: 190561
* [libclang] Add a test to make sure annotation works fine in the presence ofArgyrios Kyrtzidis2013-02-081-0/+27
| | | | | | | | | | | 'override' on the method. This was fixed in a previous commit, generally handling attributes that are at the end of the declaration. rdar://13140589 llvm-svn: 174734
* Implement a new type trait __is_trivially_constructible(T, Args...)Douglas Gregor2012-02-241-0/+11
| | | | | | | | | | | | | | | | that provides the behavior of the C++11 library trait std::is_trivially_constructible<T, Args...>, which can't be implemented purely as a library. Since __is_trivially_constructible can have zero or more arguments, I needed to add Yet Another Type Trait Expression Class, this one handling arbitrary arguments. The next step will be to migrate UnaryTypeTrait and BinaryTypeTrait over to this new, more general TypeTrait class. Fixes the Clang side of <rdar://problem/10895483> / PR12038. llvm-svn: 151352
* Update all tests other than Driver/std.cpp to use -std=c++11 rather thanRichard Smith2011-10-131-2/+2
| | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
* Expose more statement, expression, and declaration kinds in libclang,Douglas Gregor2011-10-051-1/+1
| | | | | | from Manuel Holtgrewe! llvm-svn: 141200
* Enable -fdelayed-template-parsing by default on Win32.Francois Pichet2011-09-011-1/+1
| | | | | | I had to force -fno-delayed-template-parsing on some Index tests because delayed template parsing will change the output of some tests. llvm-svn: 138942
* [libclang] Require explicit cursor visitation for all TypeLocs (compilation willArgyrios Kyrtzidis2011-08-151-0/+8
| | | | | | fail if a TypeLoc kind is not handled) and handle DecltypeTypeLoc and InjectedClassNameTypeLoc. llvm-svn: 137670
* Teach libclang about SizeOfPackExpr.Douglas Gregor2011-01-191-0/+8
llvm-svn: 123846
OpenPOWER on IntegriCloud