- 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
-
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
-
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
-
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
-
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
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
that contains them. llvm-svn: 143338
-
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
-
Richard Smith authored
result is not unspecified. llvm-svn: 143329
-
Nick Lewycky authored
llvm-svn: 143327
-
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
-
Roman Divacky authored
llvm-svn: 143312
-
Jim Goodnow II authored
type constructors. llvm-svn: 143309
-
Roman Divacky authored
llvm-svn: 143305
-
rdar://problem/10175391Bob Wilson authored
The integrated assembler seems to be working pretty well for -static code now, so remove the hacks to disable it. llvm-svn: 143304
-
Richard Smith authored
integer-cast pointer value. llvm-svn: 143299
-
- Oct 29, 2011
-
-
Richard Smith authored
just integers and floating point types. Since we don't support evaluating class types or performing lvalue-to-rvalue conversions on array elements yet, this just means pointer types right now. llvm-svn: 143298
-
Richard Smith authored
Track the function invocation where an lvalue referring to a constexpr function parameter originated from, and use it to substitute the correct argument and to determine whether such an argument's lifetime has ended. llvm-svn: 143296
-
Abramo Bagnara authored
llvm-svn: 143295
-
Richard Smith authored
implicitly perform an lvalue-to-rvalue conversion if used on an lvalue expression. Also improve the documentation of Expr::Evaluate* to indicate which of them will accept expressions with side-effects. llvm-svn: 143263
-
Ted Kremenek authored
Start work on SerializedDiagnosticPrinter, a new DiagnosticConsumer that serializes out the diagnostics for a given translation unit to a bit code file. This is a WIP. The motivation for this new DiagnosticConsumer is to provide a way for tools invoking the compiler to get its diagnostics via a libclang interface, rather than textually parsing the compiler output. This gives us flexibility to change the compiler's textual output, but have a structured data format for clients to use to get the diagnostics via a stable API. I have no tests for this, but llvm-bcanalyzer so far shows that the emitted file is well-formed. More work to follow. llvm-svn: 143259
-
Fariborz Jahanian authored
ownership qualifier cast which won't work. // rdar://10244607 llvm-svn: 143258
-
Argyrios Kyrtzidis authored
Currently sorting by raw source location does work as intended but who knows what may change in the future.. llvm-svn: 143256
-
Argyrios Kyrtzidis authored
if we are not interested in the decl. llvm-svn: 143255
-