| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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 | |||||
| * | Driver: Keep track of a separate "install dir", which is the path where clang | Daniel Dunbar | 2010-08-01 | 3 | -5/+46 | |
| | | | | | | | | | | 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 | |||||
| * | Simplify. | Daniel Dunbar | 2010-08-01 | 1 | -4/+2 | |
| | | | | | llvm-svn: 109988 | |||||
| * | 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 | 4 | -54/+34 | |
| | | | | | | | 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 | 5 | -1/+114 | |
| | | | | | | | | 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 | 4 | -13/+31 | |
| | | | | | | | 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 | 2 | -2/+22 | |
| | | | | | | | 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 | 6 | -22/+62 | |
| | | | | | | | | | | | 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 | |||||
| * | Iterate typeloc's for class bases. | Nick Lewycky | 2010-07-31 | 1 | -1/+1 | |
| | | | | | llvm-svn: 109961 | |||||
| * | Fix fragile-ABI ObjC exceptions in the presence of optimization with | John McCall | 2010-07-31 | 3 | -12/+253 | |
| | | | | | | | | | | 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 | |||||
| * | build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do | Daniel Dunbar | 2010-07-31 | 1 | -2/+1 | |
| | | | | | | | anything. llvm-svn: 109958 | |||||
| * | Parser: Add support for #pragma align, which is just another spelling of #pragma | Daniel Dunbar | 2010-07-31 | 6 | -17/+55 | |
| | | | | | | | options align. llvm-svn: 109952 | |||||
| * | After a lengthy design discussion, add support for "ownership attributes" ↵ | Ted Kremenek | 2010-07-31 | 10 | -24/+640 | |
| | | | | | | | for malloc/free checking. Patch by Andrew McGregor! llvm-svn: 109939 | |||||
| * | Implement dependency analysis for the precompiled preamble. If any of | Douglas Gregor | 2010-07-31 | 4 | -32/+125 | |
| | | | | | | | | the files in the precompiled preamble have changed since it was build, force the preamble to be rebuilt. llvm-svn: 109937 | |||||
| * | Update checker build. | Ted Kremenek | 2010-07-30 | 1 | -1/+1 | |
| | | | | | llvm-svn: 109907 | |||||
| * | Test case for PR7763. | Tom Care | 2010-07-30 | 1 | -0/+14 | |
| | | | | | llvm-svn: 109895 | |||||
| * | Uncomment unfinished work bailout in IdempotentOperationsChecker. | Tom Care | 2010-07-30 | 1 | -2/+2 | |
| | | | | | llvm-svn: 109893 | |||||
| * | Add some timers to ASTUnit that are only enabled when the LIBCLANG_TIMING ↵ | Douglas Gregor | 2010-07-30 | 2 | -16/+64 | |
| | | | | | | | environment variable is set. llvm-svn: 109890 | |||||
| * | Correctly deal with using names for both functions and structs in chained PCH. | Sebastian Redl | 2010-07-30 | 7 | -14/+41 | |
| | | | | | llvm-svn: 109871 | |||||
| * | Add specialisation iterators for {Class,Function}TemplateDecl | Peter Collingbourne | 2010-07-30 | 1 | -0/+74 | |
| | | | | | | | | | | This patch introduces the ClassTemplateDecl::spec_{begin,end}() and FunctionTemplateDecl::{,partial_}spec_{begin,end}() member functions as a public interface for iterating over the declarations' specialisation sets. llvm-svn: 109870 | |||||
| * | Refactor find*Specialization functions using SpecEntryTraits | Peter Collingbourne | 2010-07-30 | 2 | -16/+22 | |
| | | | | | | | | | | This patch reimplements the find*Specialization family of member functions of {Class,Function}TemplateDecl in terms of a common implementation that uses SpecEntryTraits to obtain the most recent declaration. llvm-svn: 109869 | |||||
| * | Introduce RedeclarableTemplateDecl::SpecEntryTraits | Peter Collingbourne | 2010-07-30 | 1 | -0/+18 | |
| | | | | | | | | SpecEntryTraits describes how to obtain the most recent declaration of a specialisation from an entry in a specialisation FoldingSet. llvm-svn: 109868 | |||||

