- Nov 01, 2011
-
-
Eli Friedman authored
Fix the representation of wide strings in the AST and IR so that it uses the native representation of integers for the elements. This fixes a bunch of nastiness involving treating wide strings as a series of bytes. Patch by Seth Cantrell. llvm-svn: 143417
-
Eli Friedman authored
Perform proper conversion for strings encoded in the source file as UTF-8. (For now, we are assuming the source character set is always UTF-8; this can be easily extended if necessary.) Tests will be coming up in a subsequent commit. Patch by Seth Cantrell. llvm-svn: 143416
-
Eli Friedman authored
llvm-svn: 143415
-
Tobias Grosser authored
This patch ensures that no passes are deleted from clang, such that the loading of plugins does not fail because of passes being unavailable. This increases the size of the clang binary from 43029853 to 43915291 bytes (around 2%). llvm-svn: 143414
-
Douglas Gregor authored
__has_feature(cxx_unicode_literals), from Michel Morin! llvm-svn: 143412
-
Douglas Gregor authored
functions", from Michel Morin! llvm-svn: 143411
-
Douglas Gregor authored
that it retains source location information for the type. Aside from general goodness (being able to walk the types described in that information), we now have a proper representation for dependent delegating constructors. Fixes PR10457 (for real). llvm-svn: 143410
-
Fariborz Jahanian authored
In this case, temporary value is copied into block descriptor as their own copy to work on. // rdar://9971124 llvm-svn: 143399
-
- Oct 31, 2011
-
-
Eli Friedman authored
llvm-svn: 143391
-
Eli Friedman authored
Don't try to fold comparisons between the address of an object and an arbitrary integer constant. Fixes regression from r143334. llvm-svn: 143374
-
Ted Kremenek authored
[libclang] Tweak internals of CXSourceLocation to allow an alternate implementation if the lowest bit of ptr_data[0] is not 0. This is prep for work on serialized diagnostics. llvm-svn: 143373
-
Ted Kremenek authored
[libclang] Move implementation of functions for manipulation CXSourceLocations and CXSourceRanges into a separate file. llvm-svn: 143370
-
Ted Kremenek authored
[libclang] Add CXDiagnosticImpl to represent a super class for the implementation backing a CXDiagnostic. This allows CXStoredDiagnostic to be just one possible implementation of a CXDiagnostic. llvm-svn: 143368
-
Argyrios Kyrtzidis authored
because we don't want to take this performance hit when doing code completion Log of r143342: Move caching of code-completion results from ASTUnit::Reparse to ASTUnit::CodeComplete, so that it will happen when we are doing code-completion, not reparsing. llvm-svn: 143367
-
Eli Friedman authored
llvm-svn: 143364
-
Richard Smith authored
needed for C++11, and will follow later. llvm-svn: 143363
-
Richard Smith authored
rvalue. Test and better fix to follow. llvm-svn: 143360
-
Fariborz Jahanian authored
llvm-svn: 143353
-
Anders Carlsson authored
In x86_64, when calling an Objective-C method that returns a _Complex long double, make sure to use the objc_msgSend_fp2ret function which ensures that the return value will be {0, 0} if the receiver is nil. llvm-svn: 143350
-
Axel Naumann authored
Useful to set up a virtual include hierarchy, e.g. to order diagnostics for ambiguous overloads from MemoryBuffers. llvm-svn: 143347
-
Chandler Carruth authored
I don't have any Debian system with one of these currently, and it seems unlikely for one to show up suddenly. We can add more patterns here if they become necessary. llvm-svn: 143346
-
Chandler Carruth authored
search logic. The Debian multiarch seems to have completely changed from when these were originally added, and I'd like to remove a bunch of them, but I'll be lazy and delay that until this logic is hoisted into the driver where it belongs. This should resolve PR11223. llvm-svn: 143345
-
Chandler Carruth authored
library search logic to "properly" handle multiarch installations. I've tested this on both Debian unstable and the latest Ubuntu which both use this setup, and this appears to work largely the same way as GCC does. It isn't exactly the same, but it is close enough and more principled in its behavior where it differs. This should resolve any failures to find 'crt1.o' etc on Debian-based Linux distributions. If folks find more cases where we fail, please file bugs and CC me. Test cases for all of the debian silliness are waiting both to simplify the process of merging these down into the 3.0 release, and because they're so crazy I haven't yet been able to really produce a fake tree that represents what we need to test for. I'll eventually add them though. llvm-svn: 143344
-
Argyrios Kyrtzidis authored
llvm-svn: 143343
-
Argyrios Kyrtzidis authored
so that it will happen when we are doing code-completion, not reparsing. llvm-svn: 143342
-
Argyrios Kyrtzidis authored
make sure that we keep track of locations of replaced decls as well. llvm-svn: 143341
-
Argyrios Kyrtzidis authored
local DeclIDs came from. llvm-svn: 143340
-
Argyrios Kyrtzidis authored
llvm-svn: 143339
-
Argyrios Kyrtzidis authored
that contains them. llvm-svn: 143338
-
Argyrios Kyrtzidis authored
llvm-svn: 143337
-
Richard Smith authored
materialized temporaries. llvm-svn: 143335
-
Richard Smith authored
arbitrary pointers, if those pointers don't point to weak objects or literals. llvm-svn: 143334
-
Tobias Grosser authored
Another batch of ternary operators and some whitespace fixes (Getting in sync with the clang_complete version of this file) llvm-svn: 143330
-
Richard Smith authored
result is not unspecified. llvm-svn: 143329
-
Nick Lewycky authored
llvm-svn: 143327
-
Tobias Grosser authored
This change is necessary to make this file python 2.4 compatible. llvm-svn: 143324
-
Tobias Grosser authored
We add a constructor to create a SourceLocation from a position in a file and we use this SourceLocation to retrieve a cursor. llvm-svn: 143322
-
Tobias Grosser authored
llvm-svn: 143321
-
Richard Smith authored
llvm-svn: 143320
-
- Oct 30, 2011
-
-
Peter Collingbourne authored
-mlink-bitcode-file flag), and more generally llvm::Modules, before running optimisations. llvm-svn: 143314
-