summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CIndexCXX.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [C++11] Use 'nullptr'. Tools edition.Craig Topper2014-06-081-2/+2
| | | | llvm-svn: 210422
* [libclang] Have clang_getCXXAccessSpecifier() also return the access control ↵Argyrios Kyrtzidis2013-04-111-1/+1
| | | | | | | | of a C++ declaration within its parent scope. Suggested by Stefan Seefeld. llvm-svn: 179297
* libclang: change return type of getCursorDecl() to 'const Decl *'Dmitri Gribenko2013-01-231-9/+9
| | | | llvm-svn: 173278
* libclang: change CXCursor to store 'const void *' pointers forDmitri Gribenko2013-01-111-1/+1
| | | | | | const-correctness, and update all users llvm-svn: 172252
* libclang: use getCursorTU and getCursorASTUnit instead of explicit castsDmitri Gribenko2013-01-111-3/+2
| | | | llvm-svn: 172241
* Normalize line endings of r163013 (part 2).Joao Matos2012-08-311-9/+9
| | | | llvm-svn: 163032
* Improved MSVC __interface support by adding first class support for it, ↵Joao Matos2012-08-311-8/+9
| | | | | | instead of aliasing to "struct" which had some incorrect behaviour. Patch by David Robins. llvm-svn: 163013
* Remove unreachable code in Clang. (replace with llvm_unreachable where ↵David Blaikie2012-01-171-3/+2
| | | | | | appropriate or when GCC requires it) llvm-svn: 148292
* [libclang] Introduce CXCursor_CXXAccessSpecifier for C++'s ↵Argyrios Kyrtzidis2011-09-301-3/+8
| | | | | | | | public:/private:/protected: specifiers. Patch by Paolo Capriotti! llvm-svn: 140864
* Change CXTranslationUnit to not directly cast to an ASTUnit*,Ted Kremenek2010-11-161-2/+2
| | | | | | | | | | | | | | | | | | | but to wrap both an ASTUnit and a "string pool" that will be used for fast USR generation. This requires a bunch of mechanical changes, as there was a ton of code that assumed that CXTranslationUnit and ASTUnit* were the same. Along with this change, introduce CXStringBuf, which provides an llvm::SmallVector<char> backing for repeatedly generating CXStrings without a huge amount of malloc() traffic. This requires making some changes to the representation of CXString by renaming a few fields (but keeping the size of the object the same). llvm-svn: 119337
* Move CXString creation/management routines intoTed Kremenek2010-11-161-1/+0
| | | | | | | their own .cpp file and make the interpretation of its flags private. llvm-svn: 119319
* Introduce a new libclang function,Douglas Gregor2010-09-021-2/+45
| | | | | | | | | clang_getSpecializedCursorTemplate(), which determines the template (or member thereof) that the given cursor specializes or from which it was instantiated. This routine can be used to establish a link between templates and their instantiations/specializations. llvm-svn: 112780
* Add a new libclang function clang_getTemplateCursorKind(), whichDouglas Gregor2010-08-311-0/+33
| | | | | | | | | | | determines the kind of declaration that would be generated if the given template were instantiated. This allows a client to distinguish among class/struct/union templates and function/member function/static member function templates. Also, teach clang_CXXMethod_isStatic() about function templates. llvm-svn: 112655
* Add source file I meant to include in my previous commit.Ted Kremenek2010-08-271-0/+48
llvm-svn: 112303
OpenPOWER on IntegriCloud