Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | LiteralSupport: Clean up style violations. No functionality change. | Benjamin Kramer | 2012-11-08 | 1 | -15/+15 | |
| | | | | llvm-svn: 167593 | |||||
* | Allow to pass from syntactic form of InitListExpr to semantic form (just as ↵ | Abramo Bagnara | 2012-11-08 | 3 | -3/+6 | |
| | | | | | | viceversa). No functionality change. llvm-svn: 167591 | |||||
* | Avoid to write function name in comment. Thanks to Dmitri Gribenko. | Abramo Bagnara | 2012-11-08 | 1 | -7/+6 | |
| | | | | llvm-svn: 167588 | |||||
* | Readded line removed by mistake. | Abramo Bagnara | 2012-11-08 | 1 | -0/+1 | |
| | | | | llvm-svn: 167587 | |||||
* | Fixed converted ConstantArrayTypeLoc range. Added a missing testcase for ↵ | Abramo Bagnara | 2012-11-08 | 1 | -19/+71 | |
| | | | | | | ConstructorDecl source range. llvm-svn: 167583 | |||||
* | Fixed range of implicit MemberExpr. | Abramo Bagnara | 2012-11-08 | 1 | -2/+5 | |
| | | | | llvm-svn: 167581 | |||||
* | Set TLSSupported to false on Haiku. | Benjamin Kramer | 2012-11-08 | 1 | -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 a | Daniel Dunbar | 2012-11-08 | 2 | -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 Wilson | 2012-11-08 | 6 | -796/+35 | |
| | | | | llvm-svn: 167567 | |||||
* | Remove code to fall back to llvm-gcc for i386 kexts. | Bob Wilson | 2012-11-08 | 3 | -21/+3 | |
| | | | | | | More cleanups to follow in separate commits.... llvm-svn: 167566 | |||||
* | PR14284: crash on ext-valid returning NULL from a void function | David Blaikie | 2012-11-08 | 1 | -1/+2 | |
| | | | | llvm-svn: 167565 | |||||
* | When deciding whether to convert an array construction loop into a memcpy, look | Richard Smith | 2012-11-07 | 1 | -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 pr13959 | Michael J. Spencer | 2012-11-07 | 1 | -3/+3 | |
| | | | | llvm-svn: 167559 | |||||
* | Reduce nesting. No functionality change. | Nico Weber | 2012-11-07 | 1 | -12/+14 | |
| | | | | llvm-svn: 167551 | |||||
* | When template deduction fails on a derived class, try a template deduction on | Richard Trieu | 2012-11-07 | 1 | -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 for | Fariborz Jahanian | 2012-11-07 | 1 | -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 decltype | David Blaikie | 2012-11-07 | 1 | -2/+2 | |
| | | | | llvm-svn: 167547 | |||||
* | objective-C modern translator. Start the line | Fariborz Jahanian | 2012-11-07 | 1 | -1/+1 | |
| | | | | | | directive on a new line. llvm-svn: 167542 | |||||
* | When loading a module fails because it is out of date, rebuild that | Douglas Gregor | 2012-11-07 | 3 | -12/+79 | |
| | | | | | | module in place. <rdar://problem/10138913> llvm-svn: 167539 | |||||
* | [analyzer] Check that the argument to CFMakeCollectable is non-NULL. | Jordan Rose | 2012-11-07 | 2 | -10/+18 | |
| | | | | | | Patch by Sean McBride! llvm-svn: 167537 | |||||
* | Fix the Objective-C exception rethrow from cleanups (GNU runtimes). Note that | David Chisnall | 2012-11-07 | 3 | -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 Rose | 2012-11-07 | 1 | -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 Smith | 2012-11-07 | 2 | -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 Jahanian | 2012-11-07 | 1 | -1/+3 | |
| | | | | llvm-svn: 167511 | |||||
* | Add missing check to warning for packed attribute. PR14259. | Eli Friedman | 2012-11-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 167510 | |||||
* | Create helper functions in StmtDumper for outputting the indentation, ↵ | Manuel Klimek | 2012-11-07 | 1 | -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 Blaikie | 2012-11-07 | 4 | -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 Friedman | 2012-11-06 | 1 | -2/+3 | |
| | | | | llvm-svn: 167506 | |||||
* | Tease out the routine that reads the control block of an AST file from | Douglas Gregor | 2012-11-06 | 1 | -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 Friedman | 2012-11-06 | 3 | -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 in | Fariborz Jahanian | 2012-11-06 | 1 | -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 Takumi | 2012-11-06 | 1 | -1/+1 | |
| | | | | | | directive to escape Win32 path separator '\\'. llvm-svn: 167497 | |||||
* | Implement codegen for init_priority attribute properly - make sure it | Anton Korobeynikov | 2012-11-06 | 2 | -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 test | Eli Friedman | 2012-11-06 | 4 | -135/+141 | |
| | | | | | | coverage of this code is. llvm-svn: 167495 | |||||
* | clang/lib/Driver/Tools.cpp: Fix abuse of StringRef. | NAKAMURA Takumi | 2012-11-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 167494 | |||||
* | Fix a silly mistake in r167437. | Eli Friedman | 2012-11-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 167487 | |||||
* | Remove C++11-isms I just introduced in r167482 | Douglas Gregor | 2012-11-06 | 1 | -3/+3 | |
| | | | | llvm-svn: 167483 | |||||
* | Introduce inferred framework modules into the module map file, | Douglas Gregor | 2012-11-06 | 2 | -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 Han | 2012-11-06 | 1 | -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 violation | Manman Ren | 2012-11-06 | 1 | -4/+6 | |
| | | | | llvm-svn: 167476 | |||||
* | Modern objective-C translator: Start adding line info to the | Fariborz Jahanian | 2012-11-06 | 1 | -0/+31 | |
| | | | | | | translated source where it is needed. wip. llvm-svn: 167469 | |||||
* | Basic: Windows doesn't define S_IFIFO. | Daniel Dunbar | 2012-11-06 | 1 | -1/+4 | |
| | | | | llvm-svn: 167468 | |||||
* | Follow-up for r167411 to un-break ASan on Mac. Move SanitizerArgs to a ↵ | Alexey Samsonov | 2012-11-06 | 3 | -116/+138 | |
| | | | | | | header file and use it on Darwin toolchain. llvm-svn: 167460 | |||||
* | ARM byval: when type alignment is bigger than ABI alignment, instead of | Manman Ren | 2012-11-06 | 1 | -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 Zaks | 2012-11-06 | 1 | -1/+125 | |
| | | | | llvm-svn: 167439 | |||||
* | [analyzer] Remove isWithinInlined. It's been replaced with inTopFrame(). | Anna Zaks | 2012-11-06 | 1 | -1/+1 | |
| | | | | | | Thanks Jordan. llvm-svn: 167438 | |||||
* | Propagate CharUnits through CGObjCMac.cpp. | Eli Friedman | 2012-11-06 | 1 | -84/+78 | |
| | | | | llvm-svn: 167437 | |||||
* | Minor fix to ObjC layout bitmap metadata. Found while I was trying to | Eli Friedman | 2012-11-06 | 1 | -1/+1 | |
| | | | | | | refactor the code. llvm-svn: 167436 | |||||
* | Classify the INT_MIN/-1 check as -fsanitize=signed-integer-overflow, not as ↵ | Richard Smith | 2012-11-06 | 1 | -9/+17 | |
| | | | | | | -fsanitize=divide-by-zero. llvm-svn: 167433 | |||||
* | Propagate CharUnits into ObjC CodeGen. No intended functional change. | Eli Friedman | 2012-11-06 | 4 | -66/+66 | |
| | | | | llvm-svn: 167431 |