| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Avoid writing a VTABLE_USES record in PCH if there are no entries. | Argyrios Kyrtzidis | 2010-08-03 | 2 | -12/+16 |
| | | | | | llvm-svn: 110122 | ||||
| * | fix some undefined behavior, PR7779. | Chris Lattner | 2010-08-03 | 1 | -3/+4 |
| | | | | | llvm-svn: 110116 | ||||
| * | Driver: Don't forward any -g options to GCC, when using it to drive the | Daniel Dunbar | 2010-08-03 | 1 | -0/+5 |
| | | | | | | | | assembler. - Fixes PR6218, hopefully. llvm-svn: 110111 | ||||
| * | Reshuffle the PCH generator action and consumer, so that we can re-use | Douglas Gregor | 2010-08-03 | 3 | -41/+77 |
| | | | | | | | it while generating precompiled preambles. No functionality change. llvm-svn: 110108 | ||||
| * | Emit weak vtables of non-template classes with hidden visibility. | John McCall | 2010-08-03 | 1 | -0/+16 |
| | | | | | llvm-svn: 110107 | ||||
| * | Allow offsets to be negative. Out-of-bound cases are checked elsewhere. We | Zhongxing Xu | 2010-08-03 | 2 | -6/+5 |
| | | | | | | | shouldn't put restrictions in store manager. llvm-svn: 110106 | ||||
| * | Pull the region offset computation logic into a single method. | Zhongxing Xu | 2010-08-03 | 2 | -43/+60 |
| | | | | | llvm-svn: 110102 | ||||
| * | Changed GRExprEngine to pass down a reference to itself when checkers are ↵ | Tom Care | 2010-08-03 | 3 | -9/+9 |
| | | | | | | | | | | doing postanalysis. This allows the checker to gather information about the state of the engine when it has finished. - Exposed the worklist and BlockAborted flag in GRCoreEngine - Changed postanalysis checkers to use the new infrastructure llvm-svn: 110095 | ||||
| * | Add -cc1 option '-unoptimized-cfg' to toggle using a CFG (for static ↵ | Ted Kremenek | 2010-08-03 | 4 | -3/+9 |
| | | | | | | | analysis) that doesn't prune CFG edges. llvm-svn: 110087 | ||||
| * | Add 'AnalysisContext::getUnoptimizedCFG()' to allow clients to get access to ↵ | Ted Kremenek | 2010-08-02 | 2 | -21/+46 |
| | | | | | | | | | the original CFG without any edges pruned out because of trivially solvable conditions (e.g., 'if (0)'). llvm-svn: 110085 | ||||
| * | Labels (and case statement) don't create independent scope parents for the | John McCall | 2010-08-02 | 1 | -16/+18 |
| | | | | | | | | | purposes of the jump checker. Also extend Ted's iteration fix to labels. Fixes PR7789. llvm-svn: 110082 | ||||
| * | Simplify global method pool implementation in Sema. No functionality change. | Sebastian Redl | 2010-08-02 | 5 | -207/+110 |
| | | | | | llvm-svn: 110078 | ||||
| * | Fix another case (this time in JumpScopeChecker) where walking deeply nested ↵ | Ted Kremenek | 2010-08-02 | 1 | -1/+11 |
| | | | | | | | CaseStmts can blow out the stack. Fixes <rdar://problem/8125165>. llvm-svn: 110071 | ||||
| * | Fix idempotent operations false positive caused by ivars not being ↵ | Ted Kremenek | 2010-08-02 | 1 | -2/+11 |
| | | | | | | | | | invalidated in function calls when the enclosing object had retain/release state. Fixes <rdar://problem/8261992>. llvm-svn: 110068 | ||||
| * | Further adjustments to -Wglobal-constructors; works for references and direct | John McCall | 2010-08-02 | 5 | -25/+46 |
| | | | | | | | initializations now. llvm-svn: 110063 | ||||
| * | When using a precompiled preamble, save the diagnostics produced when | Douglas Gregor | 2010-08-02 | 1 | -15/+41 |
| | | | | | | | | | creating the preamble and "replay" them when reusing the preamble. Also, fix a thinko in the copying of the preamble when building the precompiled preamble. llvm-svn: 110061 | ||||
| * | 'Assumption &A' gets default initialized to 'Possible' if it doesn't exist; ↵ | Ted Kremenek | 2010-08-02 | 1 | -8/+5 |
| | | | | | | | | | no need to two lookups in the hashtable. llvm-svn: 110059 | ||||
| * | Query only the latest version of an identifier in the PCH chain. Make sure ↵ | Sebastian Redl | 2010-08-02 | 2 | -22/+7 |
| | | | | | | | this version holds the entire declaration chain. This is a much saner solution than trying to merge the info from all elements, and makes redeclarations work properly. Expand the declarations test case to cover more compliated cases. llvm-svn: 110052 | ||||
| * | Remove mutable data on TagType and InjectedClassNameType, by instead walking ↵ | Sebastian Redl | 2010-08-02 | 2 | -20/+26 |
| | | | | | | | the declaration chain in search of a definition. This is necessary for a sane chained PCH implementation. No observable performance change on Carbon.h syntax-only, and bootstraps cleanly. llvm-svn: 110051 | ||||
| * | Compute width/align of objc builtin types (id, etc) | Fariborz Jahanian | 2010-08-02 | 1 | -0/+6 |
| | | | | | | | for radar 8258797. llvm-svn: 110047 | ||||
| * | Read/write in PCH Sema's StdNamespace and StdBadAlloc and use a LazyDeclPtr ↵ | Argyrios Kyrtzidis | 2010-08-02 | 7 | -16/+52 |
| | | | | | | | for them that will deserialize them when needed. llvm-svn: 110031 | ||||
| * | Rename getStdNamespace -> getOrCreateStdNamespace, to better reflect its ↵ | Argyrios Kyrtzidis | 2010-08-02 | 3 | -4/+4 |
| | | | | | | | | | functionality. No functionality change. llvm-svn: 110030 | ||||
| * | Driver/Darwin: Change where Darwin computes the host version, to normalize tool | Daniel Dunbar | 2010-08-02 | 3 | -30/+25 |
| | | | | | | | chain construction. llvm-svn: 110028 | ||||
| * | Driver: Have -ccc-host-triple simply override the default in the driver, for | Daniel Dunbar | 2010-08-02 | 1 | -3/+4 |
| | | | | | | | now. llvm-svn: 110027 | ||||
| * | Driver/Darwin: Inline some constants. | Daniel Dunbar | 2010-08-02 | 3 | -17/+7 |
| | | | | | llvm-svn: 110026 | ||||
| * | Driver/FreeBSD: Change how FreeBSD derives the Lib32 variable, to normalize tool | Daniel Dunbar | 2010-08-02 | 3 | -12/+11 |
| | | | | | | | chain construction. llvm-svn: 110025 | ||||
| * | Driver: Move HostInfo::lookupTypeForExtension to ↵ | Daniel Dunbar | 2010-08-02 | 5 | -49/+17 |
| | | | | | | | ToolChain::LookupTypeForExtension. llvm-svn: 110024 | ||||
| * | Driver: Give Build{Universal,}Actions access to the default host tool chain. I | Daniel Dunbar | 2010-08-02 | 1 | -9/+9 |
| | | | | | | | | avoided this originally to enforce that the driver actions aren't toolchain dependent, but it isn't worth the cumbersone additional hostinfo split. llvm-svn: 110023 | ||||
| * | Improve flat store: MemRegion::getAsOffset() computes a region's offset within | Zhongxing Xu | 2010-08-02 | 5 | -17/+88 |
| | | | | | | | | | the top-level object. FlatStore now can bind and retrieve element and field regions. PR7297 is fixed by flat store. llvm-svn: 110020 | ||||
| * | Driver: Add Compilation::addCommand and switch tools to using it, now that we | Daniel Dunbar | 2010-08-02 | 3 | -67/+45 |
| | | | | | | | don't have to deal with nested jobs. llvm-svn: 110015 | ||||
| * | Driver: Eliminate PipedJob, which is now unused. | Daniel Dunbar | 2010-08-02 | 2 | -23/+1 |
| | | | | | llvm-svn: 110014 | ||||
| * | Driver: Eliminate special InputInfo kind for pipes, it is now unused. | Daniel Dunbar | 2010-08-02 | 2 | -135/+35 |
| | | | | | llvm-svn: 110013 | ||||
| * | Driver: Eliminate now unnecessary tool hooks for whether they accept piped ↵ | Daniel Dunbar | 2010-08-02 | 1 | -44/+0 |
| | | | | | | | input/output. llvm-svn: 110012 | ||||
| * | Driver: Simplify. | Daniel Dunbar | 2010-08-02 | 1 | -7/+2 |
| | | | | | llvm-svn: 110011 | ||||
| * | Driver: Eliminate now unused argument. | Daniel Dunbar | 2010-08-02 | 1 | -4/+2 |
| | | | | | llvm-svn: 110010 | ||||
| * | Driver: Simplify logic for sending 'clang -E t.c' output to stdout. | Daniel Dunbar | 2010-08-02 | 1 | -25/+4 |
| | | | | | llvm-svn: 110009 | ||||
| * | Driver: Never try to use piped inputs. | Daniel Dunbar | 2010-08-02 | 1 | -7/+2 |
| | | | | | llvm-svn: 110008 | ||||
| * | Driver: Start ripping out support for -pipe, which is worthless and complicates | Daniel Dunbar | 2010-08-02 | 1 | -17/+4 |
| | | | | | | | too many other things. llvm-svn: 110007 | ||||
| * | Driver/OpenBSD: Update toolchain for compiler changes / C++; patch by Jonathan | Daniel Dunbar | 2010-08-01 | 2 | -1/+19 |
| | | | | | | | Gray. llvm-svn: 109994 | ||||
| * | Driver: Keep track of a separate "install dir", which is the path where clang | Daniel Dunbar | 2010-08-01 | 1 | -5/+15 |
| | | | | | | | | | | was invoked from (which may not be where the executable itself is). - This allows having e.g., /Developer/usr/bin/clang be a symlink to some other location, while still making sure the Driver finds 'as', 'ld', etc. relative to itself. llvm-svn: 109989 | ||||
| * | PR7777: Set EnabledByDefault to something useful, instead of setting it | Eli Friedman | 2010-08-01 | 1 | -1/+1 |
| | | | | | | | | randomly. This makes us consistently show "-pedantic" as the warning option for a warning where appropriate. llvm-svn: 109987 | ||||
| * | Kill off RequiresGlobalConstructor in favor of isConstantInitializer. | John McCall | 2010-08-01 | 2 | -53/+17 |
| | | | | | | | Note some obvious false positives in the test case. llvm-svn: 109986 | ||||
| * | Make a first pass at implementing -Wglobal-constructors. I'm worried that this | John McCall | 2010-08-01 | 2 | -1/+67 |
| | | | | | | | | will end up bizarrely mirroring CGExprConstant, but that might be the hazard of this feature. llvm-svn: 109984 | ||||
| * | Instantiate attributes from the pattern record when instantiating | John McCall | 2010-08-01 | 3 | -13/+18 |
| | | | | | | | a class template. Fixes rdar://problem/8243419. llvm-svn: 109967 | ||||
| * | Fix indentation. | John McCall | 2010-08-01 | 1 | -9/+9 |
| | | | | | llvm-svn: 109965 | ||||
| * | Don't consider all local variables in C++ to mandate scope-checking, just | John McCall | 2010-08-01 | 1 | -2/+10 |
| | | | | | | | those with initializers. llvm-svn: 109964 | ||||
| * | Only run the jump-checker if there's a branch-protected scope *and* there's | John McCall | 2010-08-01 | 4 | -20/+54 |
| | | | | | | | | | | | a switch or goto somewhere in the function. Indirect gotos trigger the jump-checker regardless, because the conditions there are slightly more elaborate and it's too marginal a case to be worth optimizing. Turns off the jump-checker in a lot of cases in C++. rdar://problem/7702918 llvm-svn: 109962 | ||||
| * | Fix fragile-ABI ObjC exceptions in the presence of optimization with | John McCall | 2010-07-31 | 1 | -3/+165 |
| | | | | | | | | | | the magic of inline assembly. Essentially we use read and write hazards on the set of local variables to force flushing locals to memory immediately before any protected calls and to inhibit optimizing locals across the setjmp->catch edge. Fixes rdar://problem/8160285 llvm-svn: 109960 | ||||
| * | Parser: Add support for #pragma align, which is just another spelling of #pragma | Daniel Dunbar | 2010-07-31 | 3 | -13/+40 |
| | | | | | | | options align. llvm-svn: 109952 | ||||
| * | After a lengthy design discussion, add support for "ownership attributes" ↵ | Ted Kremenek | 2010-07-31 | 5 | -20/+387 |
| | | | | | | | for malloc/free checking. Patch by Andrew McGregor! llvm-svn: 109939 | ||||

