| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Apart from storing/retrieving the previous redeclaration from PCH, also ↵ | Argyrios Kyrtzidis | 2010-08-03 | 10 | -22/+181 |
| | | | | | | | | | | | | | store/retrieve the most recent redeclaration. That way we are sure that the full redeclarations chain is loaded. When using chained PCHs, first declarations point to the most recent redeclarations in the same PCH. To address this use a REDECLS_UPDATE_LATEST record block to keep track of which first declarations need to point to a most recent redeclaration in another PCH. llvm-svn: 110125 | ||||
| * | Introduce getMostRecentDeclaration() and getFirstDeclaration() for ↵ | Argyrios Kyrtzidis | 2010-08-03 | 1 | -0/+26 |
| | | | | | | | RedeclarableTemplateDecl. llvm-svn: 110124 | ||||
| * | Send AST dumping/printing to stdout instead of stderr. | Argyrios Kyrtzidis | 2010-08-03 | 3 | -10/+10 |
| | | | | | llvm-svn: 110123 | ||||
| * | 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 | 6 | -49/+111 |
| | | | | | | | 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 | 5 | -7/+33 |
| | | | | | llvm-svn: 110107 | ||||
| * | Allow offsets to be negative. Out-of-bound cases are checked elsewhere. We | Zhongxing Xu | 2010-08-03 | 3 | -9/+8 |
| | | | | | | | 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 | 3 | -95/+79 |
| | | | | | llvm-svn: 110102 | ||||
| * | Support x86 AVX 256-bit instructions built-ins. Right now support all of ↵ | Bruno Cardoso Lopes | 2010-08-03 | 2 | -2/+213 |
| | | | | | | | | | | | them, but as soon as we properly codegen the simple vector operations, remove the unnecessary built-ins/intrinsics from clang and llvm. Also add tests for the new built-ins llvm-svn: 110096 | ||||
| * | Changed GRExprEngine to pass down a reference to itself when checkers are ↵ | Tom Care | 2010-08-03 | 6 | -10/+24 |
| | | | | | | | | | | 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 | 8 | -6/+33 |
| | | | | | | | 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 | 4 | -24/+56 |
| | | | | | | | | | 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 | 4 | -34/+54 |
| | | | | | | | | | 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 | 2 | -2/+38 |
| | | | | | | | | | 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 | 7 | -34/+58 |
| | | | | | | | initializations now. llvm-svn: 110063 | ||||
| * | Add Darwin dylib versioning support to libclang when build with CMake. | Douglas Gregor | 2010-08-02 | 1 | -8/+13 |
| | | | | | llvm-svn: 110062 | ||||
| * | When using a precompiled preamble, save the diagnostics produced when | Douglas Gregor | 2010-08-02 | 5 | -19/+74 |
| | | | | | | | | | 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 | ||||
| * | Add test case for <rdar://problem/8258814>. | Ted Kremenek | 2010-08-02 | 1 | -0/+9 |
| | | | | | llvm-svn: 110058 | ||||
| * | Query only the latest version of an identifier in the PCH chain. Make sure ↵ | Sebastian Redl | 2010-08-02 | 6 | -29/+27 |
| | | | | | | | 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 | 4 | -33/+41 |
| | | | | | | | 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 | ||||
| * | Update UsersManual, we support '#pragma align' now. | Daniel Dunbar | 2010-08-02 | 1 | -5/+0 |
| | | | | | llvm-svn: 110040 | ||||
| * | Frontend: Change PluginASTAction::ParseArgs to take a CompilerInstance object | Daniel Dunbar | 2010-08-02 | 3 | -11/+29 |
| | | | | | | | | | | | | | for use in reporting diagnostics. - We don't want to use the Action's own CompilerInstance, because that is only initialized during file processing and I like that invariant. Also, if ParseArgs returns false then abandon execution. Also, remove unused PluginASTAction::PrintHelp virtual method. llvm-svn: 110039 | ||||
| * | You actually have to include a header in order to use a symbol, it's so 90s.. | Argyrios Kyrtzidis | 2010-08-02 | 1 | -0/+1 |
| | | | | | llvm-svn: 110034 | ||||
| * | Use llvm_unreachable. | Argyrios Kyrtzidis | 2010-08-02 | 1 | -2/+1 |
| | | | | | llvm-svn: 110033 | ||||
| * | Shut up warnings in Release build. | Argyrios Kyrtzidis | 2010-08-02 | 1 | -0/+1 |
| | | | | | llvm-svn: 110032 | ||||
| * | Read/write in PCH Sema's StdNamespace and StdBadAlloc and use a LazyDeclPtr ↵ | Argyrios Kyrtzidis | 2010-08-02 | 12 | -19/+77 |
| | | | | | | | 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 | 7 | -54/+22 |
| | | | | | | | ToolChain::LookupTypeForExtension. llvm-svn: 110024 | ||||
| * | Driver: Give Build{Universal,}Actions access to the default host tool chain. I | Daniel Dunbar | 2010-08-02 | 2 | -11/+15 |
| | | | | | | | | 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 | 7 | -44/+178 |
| | | | | | | | | | 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 | 5 | -69/+47 |
| | | | | | | | don't have to deal with nested jobs. llvm-svn: 110015 | ||||
| * | Driver: Eliminate PipedJob, which is now unused. | Daniel Dunbar | 2010-08-02 | 3 | -57/+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 | 3 | -47/+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 | 2 | -5/+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 | 2 | -23/+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 | ||||

