- Sep 09, 2010
-
-
Douglas Gregor authored
llvm-svn: 113489
-
Francois Pichet authored
llvm-svn: 113444
-
- Sep 08, 2010
-
-
Douglas Gregor authored
CXXTemporaryObjectExpr, CXXScalarValueInitExpr, and CXXUnresolvedConstructExpr, getting rid of a bunch of FIXMEs in the process. llvm-svn: 113319
-
- Sep 07, 2010
-
-
Douglas Gregor authored
the TypeSourceInfo for the allocated type. Fixes PR7501. llvm-svn: 113291
-
- Sep 06, 2010
-
-
Rafael Espindola authored
Patch by nobled. I also took the opportunity to make the field private since now it is only ready from the outside. llvm-svn: 113138
-
- Sep 04, 2010
-
-
Douglas Gregor authored
kinds. How shameful that this code was duplicated! llvm-svn: 113033
-
- Sep 03, 2010
-
-
Douglas Gregor authored
last of the C++-specific expressions where we have decent source information in the AST already. In particular, various object-construction expressions (CXXNewExpr, CXXTemporaryObjectExpr) still have poor source-location information that needs to be addressed. llvm-svn: 112981
-
Douglas Gregor authored
llvm-svn: 112978
-
Douglas Gregor authored
llvm-svn: 112975
-
Douglas Gregor authored
code. Also, teach it about explicitly-specified template arguments. llvm-svn: 112884
-
Douglas Gregor authored
llvm-svn: 112879
-
Douglas Gregor authored
llvm-svn: 112873
-
- Sep 02, 2010
-
-
Douglas Gregor authored
well-intentioned but completely unused code. llvm-svn: 112868
-
Douglas Gregor authored
llvm-svn: 112866
-
Douglas Gregor authored
llvm-svn: 112862
-
Douglas Gregor authored
In libclang, visit the nested-name-specifier and explicitly-specified template arguments of a MemberExpr. llvm-svn: 112860
-
Douglas Gregor authored
arguments of a DeclRefExpr. llvm-svn: 112854
-
Douglas Gregor authored
cursors. Sadly, this visitation is a hack, because we don't have proper source-location information for nested-name-specifiers in the AST. It does improve on the status quo, however. llvm-svn: 112837
-
Douglas Gregor authored
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
-
- Sep 01, 2010
-
-
Douglas Gregor authored
llvm-svn: 112734
-
Douglas Gregor authored
three different kinds of AST nodes to represent using declarations: UsingDecl, UnresolvedUsingValueDecl, and UnresolvedUsingTypenameDecl. These three are collapsed into a single cursor kind for using declarations, since libclang clients don't need the distinction. Several related changes here: - Cursor visitation of the three AST nodes for using declarations - Proper source-range computation for these AST nodes - Using declarations have no USRs, since they don't actually declare any entities. llvm-svn: 112730
-
Douglas Gregor authored
in a few related ways: - Don't recurse into instantiations of templates. - Recurse into explicit specializations. - Visit the template arguments of an explicit specialization or explicit instantiation. - Include template specialization arguments in the USRs for class template specializations. llvm-svn: 112720
-
Douglas Gregor authored
it is given. llvm-svn: 112717
-
Douglas Gregor authored
suppressing USRs). Also, fix up the source location information for using directives so that the declaration location refers to the namespace name. llvm-svn: 112693
-
Douglas Gregor authored
with a new cursor kind for a reference to a namespace. There's still some oddities in the source location information for NamespaceAliasDecl that I'll address with a separate commit, so the source locations displayed in the load-namespaces.cpp test will change. llvm-svn: 112676
-
Douglas Gregor authored
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
-
- Aug 31, 2010
-
-
Douglas Gregor authored
template. Such cursors occur, for example, in template specialization types such as vector<int>. Note that we do not handle the super-interesting case where the template name is unresolved, e.g., within a template. llvm-svn: 112636
-
Douglas Gregor authored
including a cursor kind, visitation, and USRs. llvm-svn: 112629
-
Douglas Gregor authored
class templates. llvm-svn: 112627
-
Douglas Gregor authored
libclang. This includes: - Cursor kind for function templates, with visitation logic - Cursor kinds for template parameters, with visitation logic - Visitation logic for template specialization types, qualified type locations - USR generation for function templates, template specialization types, template parameter types. Also happens to fix PR7804, which I tripped across while testing. llvm-svn: 112604
-
Douglas Gregor authored
conversion functions. This introduces new cursor kinds for these three C++ entities, and reworks visitation of function declarations so that we get type-source information for the names. llvm-svn: 112600
-
- Aug 30, 2010
-
-
Alexis Hunt authored
some issues being sorted out. llvm-svn: 112493
-
Duncan Sands authored
before using them. llvm-svn: 112468
-
- Aug 29, 2010
-
-
Alexis Hunt authored
The extra data stored on user-defined literal Tokens is stored in extra allocated memory, which is managed by the PreprocessorLexer because there isn't a better place to put it that makes sure it gets deallocated, but only after it's used up. My testing has shown no significant slowdown as a result, but independent testing would be appreciated. llvm-svn: 112458
-
- Aug 27, 2010
-
-
Ted Kremenek authored
llvm-svn: 112303
-
Ted Kremenek authored
Implement CXCursor support for walking C++ base specifiers. This includes adding the API hooks clang_isVirtualBase() and clang_getCXXAccessSpecifier() to query properties of the base specifier. Implements <rdar://problem/8274883>. llvm-svn: 112296
-
Douglas Gregor authored
llvm-svn: 112292
-
- Aug 26, 2010
-
-
Douglas Gregor authored
llvm-svn: 112186
-
Douglas Gregor authored
into the clients, e.g., the printing code-completion consumer and c-index-test. Clients may want to re-sort the results anyway. Provide a libclang function that sorts the results. 3rd try. How embarrassing. llvm-svn: 112180
-
Daniel Dunbar authored
path and ...", it is failing tests. llvm-svn: 112161
-