summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* LiteralSupport: Clean up style violations. No functionality change.Benjamin Kramer2012-11-081-15/+15
| | | | llvm-svn: 167593
* Allow to pass from syntactic form of InitListExpr to semantic form (just as ↵Abramo Bagnara2012-11-083-3/+6
| | | | | | viceversa). No functionality change. llvm-svn: 167591
* Avoid to write function name in comment. Thanks to Dmitri Gribenko.Abramo Bagnara2012-11-081-7/+6
| | | | llvm-svn: 167588
* Readded line removed by mistake.Abramo Bagnara2012-11-081-0/+1
| | | | llvm-svn: 167587
* Fixed converted ConstantArrayTypeLoc range. Added a missing testcase for ↵Abramo Bagnara2012-11-081-19/+71
| | | | | | ConstructorDecl source range. llvm-svn: 167583
* Fixed range of implicit MemberExpr.Abramo Bagnara2012-11-081-2/+5
| | | | llvm-svn: 167581
* Set TLSSupported to false on Haiku.Benjamin Kramer2012-11-081-0/+1
| | | | | | | | | | | Haiku does not support this (yet). Leaving it set to true leads to configure scripts detecting __thread being available and Clang emitting code for it, resulting in binaries the runtime_loader will refuse to load. Patch by Jonathan Schleifer! llvm-svn: 167576
* Driver/Darwin: The -arch argument values aren't exactly the arch names from aDaniel Dunbar2012-11-082-1/+16
| | | | | | | | triple. - Translate the special case of powerpc to its expected -arch name. llvm-svn: 167571
* Rip out a bunch of code for invoking gcc from clang.Bob Wilson2012-11-086-796/+35
| | | | llvm-svn: 167567
* Remove code to fall back to llvm-gcc for i386 kexts.Bob Wilson2012-11-083-21/+3
| | | | | | More cleanups to follow in separate commits.... llvm-svn: 167566
* PR14284: crash on ext-valid returning NULL from a void functionDavid Blaikie2012-11-081-1/+2
| | | | llvm-svn: 167565
* When deciding whether to convert an array construction loop into a memcpy, lookRichard Smith2012-11-071-11/+4
| | | | | | | | at whether the *selected* constructor would be trivial rather than considering whether the array's element type has *any* non-trivial constructors of the relevant kind. llvm-svn: 167562
* [Driver] Fix -Wp,-MMD pr13959Michael J. Spencer2012-11-071-3/+3
| | | | llvm-svn: 167559
* Reduce nesting. No functionality change.Nico Weber2012-11-071-12/+14
| | | | llvm-svn: 167551
* When template deduction fails on a derived class, try a template deduction onRichard Trieu2012-11-071-1/+6
| | | | | | | | | | the base class. If the base class deduction succeeds, use those results. If it fails, keep using the results from the derived class template deduction. This prevents an assertion later where the type of deduction failure doesn't match up with the template deduction info. llvm-svn: 167550
* objective-C blocks: bring back the CharUnit patch forFariborz Jahanian2012-11-071-45/+46
| | | | | | | captured block variable layout meta-data. No intended change in functionality. llvm-svn: 167549
* PR12713 - crash on invalid due to unmatched parens in decltypeDavid Blaikie2012-11-071-2/+2
| | | | llvm-svn: 167547
* objective-C modern translator. Start the lineFariborz Jahanian2012-11-071-1/+1
| | | | | | directive on a new line. llvm-svn: 167542
* When loading a module fails because it is out of date, rebuild thatDouglas Gregor2012-11-073-12/+79
| | | | | | module in place. <rdar://problem/10138913> llvm-svn: 167539
* [analyzer] Check that the argument to CFMakeCollectable is non-NULL.Jordan Rose2012-11-072-10/+18
| | | | | | Patch by Sean McBride! llvm-svn: 167537
* Fix the Objective-C exception rethrow from cleanups (GNU runtimes). Note thatDavid Chisnall2012-11-073-7/+9
| | | | | | | a bug in the inliner still causes the wrong thing to happen at -O2 and above (PR14116). llvm-svn: 167534
* [analyzer] Enhance docs for checker callbacks (esp. processRegionChanges).Jordan Rose2012-11-071-13/+28
| | | | | | No functionality change; this checker is only used for documentation. llvm-svn: 167522
* PR11851 (and duplicates): Whenever a constexpr function is referenced,Richard Smith2012-11-072-18/+38
| | | | | | | | | instantiate it if it can be instantiated and implicitly define it if it can be implicitly defined. This matches g++'s approach. Remove some cases from SemaOverload which were marking functions as referenced when just planning how overload resolution would proceed; such cases are not actually references. llvm-svn: 167514
* modern ObjC translator. Insert line number for @synchronized statements.Fariborz Jahanian2012-11-071-1/+3
| | | | llvm-svn: 167511
* Add missing check to warning for packed attribute. PR14259.Eli Friedman2012-11-071-1/+2
| | | | llvm-svn: 167510
* Create helper functions in StmtDumper for outputting the indentation, ↵Manuel Klimek2012-11-071-57/+56
| | | | | | | | | | newlines, and brackets. This is preparation for adding Decl dumping. Patch by Philip Craig. llvm-svn: 167509
* PR13552: Fix the end location of a CXXNewExpr.David Blaikie2012-11-074-19/+8
| | | | | | | | | Spent longer than reasonable looking for a nice way to test this & decided to give up for now. Open to suggestions/requests. Richard Smith suggested adding something to ASTMatchers but it wasn't readily apparent how to test this with that. llvm-svn: 167507
* Fix assertion failure with auto and nested initializer list; PR14272.Eli Friedman2012-11-061-2/+3
| | | | llvm-svn: 167506
* Tease out the routine that reads the control block of an AST file fromDouglas Gregor2012-11-061-26/+34
| | | | | | the validation of an AST file against a specific set of options. llvm-svn: 167504
* Put something sane in the DWARF offset field for bitfield ObjC ivars.Eli Friedman2012-11-063-6/+29
| | | | | | | | | This is useful because unnamed bitfields can have effects on the offsets which are not otherwise reflected in the DWARF information. <rdar://problem/12629719> llvm-svn: 167503
* objective-C modern rewriter. Insert line numbers inFariborz Jahanian2012-11-061-11/+44
| | | | | | | translated code where new code makes the lines be off. This is wip. llvm-svn: 167500
* RewriteModernObjC.cpp: Use Lexer::Stringify() on the file name of #line ↵NAKAMURA Takumi2012-11-061-1/+1
| | | | | | directive to escape Win32 path separator '\\'. llvm-svn: 167497
* Implement codegen for init_priority attribute properly - make sure itAnton Korobeynikov2012-11-062-19/+48
| | | | | | | | works between the modules. No functionality change on Darwin/Windows. This fixes PR11480. llvm-svn: 167496
* Back out 167431+167437+167487; I didn't realize how incomplete our testEli Friedman2012-11-064-135/+141
| | | | | | coverage of this code is. llvm-svn: 167495
* clang/lib/Driver/Tools.cpp: Fix abuse of StringRef.NAKAMURA Takumi2012-11-061-1/+1
| | | | llvm-svn: 167494
* Fix a silly mistake in r167437.Eli Friedman2012-11-061-2/+2
| | | | llvm-svn: 167487
* Remove C++11-isms I just introduced in r167482Douglas Gregor2012-11-061-3/+3
| | | | llvm-svn: 167483
* Introduce inferred framework modules into the module map file,Douglas Gregor2012-11-062-85/+263
| | | | | | | | | | | | | | allowing a module map to be placed one level above the '.framework' directories to specify that all .frameworks within that directory can be inferred as framework modules. One can also specifically exclude frameworks known not to work. This makes explicit (and more restricted) behavior modules have had "forever", where *any* .framework was assumed to be able to be built as a module. That's not necessarily true, so we white-list directories (with exclusions) when those directories have been audited. llvm-svn: 167482
* Teach Clang parser to reject C++11 attributes that appertain to declaration ↵Michael Han2012-11-061-1/+19
| | | | | | | | | specifiers. We don't support any C++11 attributes that appertain to declaration specifiers so reject the attributes in parser until we support them; this also conforms to what g++ 4.8 is doing. llvm-svn: 167481
* Cleanup: 80-column violationManman Ren2012-11-061-4/+6
| | | | llvm-svn: 167476
* Modern objective-C translator: Start adding line info to theFariborz Jahanian2012-11-061-0/+31
| | | | | | translated source where it is needed. wip. llvm-svn: 167469
* Basic: Windows doesn't define S_IFIFO.Daniel Dunbar2012-11-061-1/+4
| | | | llvm-svn: 167468
* Follow-up for r167411 to un-break ASan on Mac. Move SanitizerArgs to a ↵Alexey Samsonov2012-11-063-116/+138
| | | | | | header file and use it on Darwin toolchain. llvm-svn: 167460
* ARM byval: when type alignment is bigger than ABI alignment, instead ofManman Ren2012-11-061-5/+4
| | | | | | | | | | | | disabling byval, we set realign to true. It will perform an aligned alloca, and call memcpy to copy the byval argument to the local variable. Change the size threshold back to 64 bytes. rdar://12596507 llvm-svn: 167440
* [analyzer] Add symbol escapes logic to the SimpleStreamChecker.Anna Zaks2012-11-061-1/+125
| | | | llvm-svn: 167439
* [analyzer] Remove isWithinInlined. It's been replaced with inTopFrame().Anna Zaks2012-11-061-1/+1
| | | | | | Thanks Jordan. llvm-svn: 167438
* Propagate CharUnits through CGObjCMac.cpp.Eli Friedman2012-11-061-84/+78
| | | | llvm-svn: 167437
* Minor fix to ObjC layout bitmap metadata. Found while I was trying toEli Friedman2012-11-061-1/+1
| | | | | | refactor the code. llvm-svn: 167436
* Classify the INT_MIN/-1 check as -fsanitize=signed-integer-overflow, not as ↵Richard Smith2012-11-061-9/+17
| | | | | | -fsanitize=divide-by-zero. llvm-svn: 167433
* Propagate CharUnits into ObjC CodeGen. No intended functional change.Eli Friedman2012-11-064-66/+66
| | | | llvm-svn: 167431
OpenPOWER on IntegriCloud