- Aug 21, 2013
-
-
Argyrios Kyrtzidis authored
Follow up to r188850. llvm-svn: 188854
-
Argyrios Kyrtzidis authored
This should fix the bogus ambiguous reference errors reported by gcc 4.2.1 that the FreeBSD bot is using. llvm-svn: 188850
-
- Aug 17, 2013
-
-
Argyrios Kyrtzidis authored
Per feedback from Chandler, it's better to have libraries with more specific functionality. LibIndex will contain the indexing functionality of libclang, which includes USR generation. llvm-svn: 188601
-
- Aug 16, 2013
-
-
Argyrios Kyrtzidis authored
Libclang has a lot of functionality that is inaccessible. The purpose of clangIDE is to move most of the functionality of libclang to it so we can expose it and have libclang be more of a thin C wrapper over clangIDE. Start by moving the USR generation functionality into clangIDE. llvm-svn: 188569
-
- May 14, 2013
-
-
David Blaikie authored
ASTDumper was already trying to do this & instead got an implicit bool conversion by surprise (thus printing out 0 or 1 instead of the name of the declaration). To avoid that issue & simplify call sites, simply make it the normal/expected operator<<(raw_ostream&, ...) overload & simplify all the existing call sites. (bonus: this function doesn't need to be a member or friend, it's just using public API in DeclarationName) llvm-svn: 181832
-
- May 13, 2013
-
-
Rafael Espindola authored
This patch renames getLinkage to getLinkageInternal. Only code that needs to handle UniqueExternalLinkage specially should call this. Linkage, as defined in the c++ standard, is provided by getFormalLinkage. It maps UniqueExternalLinkage to ExternalLinkage. Most places in the compiler actually want isExternallyVisible, which handles UniqueExternalLinkage as internal. llvm-svn: 181677
-
- Feb 07, 2013
-
-
Guy Benyei authored
llvm-svn: 174601
-
- Feb 03, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 174285
-
Dmitri Gribenko authored
llvm-svn: 174283
-
Dmitri Gribenko authored
llvm-svn: 174281
-
- Feb 02, 2013
-
-
Dmitri Gribenko authored
Also migrate all clients from the old API. llvm-svn: 174263
-
- Feb 01, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 174174
-
- Jan 26, 2013
-
-
Dmitri Gribenko authored
We are not exposing the pool or string buffers to libclang users, so no need to maintain a procedural interface. llvm-svn: 173595
-
- Jan 23, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 173278
-
- Jan 20, 2013
-
-
Guy Benyei authored
Implement OpenCL event_t as Clang builtin type, including event_t related OpenCL restrictions (OpenCL 1.2 spec 6.9) llvm-svn: 172973
-
- Dec 18, 2012
-
-
Guy Benyei authored
Add OpenCL images as clang builtin types. llvm-svn: 170432
-
Guy Benyei authored
Revert changes from r170428, as I accidentally changed the line endings of these files to Windows style. llvm-svn: 170431
-
Guy Benyei authored
llvm-svn: 170428
-
- Dec 07, 2012
-
-
Argyrios Kyrtzidis authored
their USR should contain a location. This uniques them from other declarations with the same name but in different translation units. rdar://10546541 llvm-svn: 169647
-
- Nov 06, 2012
-
-
Ted Kremenek authored
Thanks to Richard Smith for pointing this out. This code stopped serving its purpose during r103212 in a refactoring. My initial fix was to add back the logic to abort the USR generation for InternalLinkage, but enough tests broke suspiciously that I fear that USR generation for cursors with InternalLinkage is now expected by some clients (where it wasn't the case when the refactoring took place). I don't own this code anymore and have not looked at it for some time, but clearly this code is dead and can be removed pending further review on the proper logic here. llvm-svn: 167442
-
- Sep 26, 2012
-
-
Eli Friedman authored
enough information so we can mangle them correctly in cases involving dependent parameter types. (This specifically impacts cases involving null pointers and cases involving parameters of reference type.) Fix the mangler to use this information instead of trying to scavenge it out of the parameter declaration. <rdar://problem/12296776>. llvm-svn: 164656
-
- Aug 31, 2012
-
-
Joao Matos authored
llvm-svn: 163024
-
Joao Matos authored
Improved MSVC __interface support by adding first class support for it, instead of aliasing to "struct" which had some incorrect behaviour. Patch by David Robins. llvm-svn: 163013
-
- Jun 07, 2012
-
-
Benjamin Kramer authored
The integral APSInt value is now stored in a decomposed form and the backing store for large values is allocated via the ASTContext. This way its not leaked as TemplateArguments are never destructed when they are allocated in the ASTContext. Since the integral data is immutable it is now shared between instances, making copying TemplateArguments a trivial operation. Currently getting the integral data out of a TemplateArgument requires creating a new APSInt object. This is cheap when the value is small but can be expensive if it's not. If this turns out to be an issue a more efficient accessor could be added. llvm-svn: 158150
-
- Mar 11, 2012
-
-
David Blaikie authored
The member variable is always "LangOpts" and the member function is always "getLangOpts". Reviewed by Chris Lattner llvm-svn: 152536
-
- Feb 13, 2012
-
-
Dylan Noblesmith authored
More cleanup after r149799. llvm-svn: 150380
-
Dylan Noblesmith authored
More cleanup after r149798. llvm-svn: 150379
-
- Feb 10, 2012
-
-
Argyrios Kyrtzidis authored
specialization in its USR string. llvm-svn: 150264
-
- Jan 17, 2012
-
-
David Blaikie authored
Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) llvm-svn: 148292
-
- Jan 01, 2012
-
-
Douglas Gregor authored
ObjCProtocolDecl modules forward declarations properly. llvm-svn: 147415
-
- Dec 27, 2011
-
-
Douglas Gregor authored
covers both declarations (@class) and definitions (@interface) of an Objective-C class. llvm-svn: 147299
-
- Dec 10, 2011
-
-
Argyrios Kyrtzidis authored
a null pointer after getCursorDecl() is called. rdar://10298421. llvm-svn: 146312
-
- Nov 01, 2011
-
-
Argyrios Kyrtzidis authored
it contains give it a USR based on its semantic context, which is the interface. This follows what we already did for objc methods. rdar://10371669 llvm-svn: 143464
-
- Oct 28, 2011
-
-
Benjamin Kramer authored
llvm-svn: 143193
-
- Oct 19, 2011
-
-
John McCall authored
llvm-svn: 142433
-
- Oct 18, 2011
-
-
Argyrios Kyrtzidis authored
don't use unique USRs for them, otherwise we fail to associate @implementation methods with the methods in extensions. llvm-svn: 142361
-
- Oct 17, 2011
-
-
Argyrios Kyrtzidis authored
more of the work involved in indexing a translation unit and simplifies client implementations. Only C/ObjC for now, C++ (and comments) to come. llvm-svn: 142233
-
John McCall authored
casts in ARC. No semantic analysis yet. llvm-svn: 142208
-
- Oct 15, 2011
-
-
Anton Korobeynikov authored
Lack of half FP was a regression compared to llvm-gcc. llvm-svn: 142016
-
- Oct 14, 2011
-
-
Benjamin Kramer authored
Passing a pointer was a bad idea as it collides with the overload for void*. llvm-svn: 141971
-