| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Makefiles: Set Clang CPP compiler flags in a single location, instead of ↵ | Daniel Dunbar | 2010-06-08 | 1 | -2/+0 |
| | | | | | | | scattered throughout the project Makefiles. llvm-svn: 105638 | ||||
| * | Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile. | Daniel Dunbar | 2010-06-08 | 1 | -2/+2 |
| | | | | | | | - This eliminates most dependencies on how Clang is installed relative to LLVM. llvm-svn: 105637 | ||||
| * | Frontend: Add CodeGenAction support for handling LLVM IR. | Daniel Dunbar | 2010-06-07 | 1 | -14/+74 |
| | | | | | | | | | | | | | | | | | | - This magically enables using 'clang -cc1' as a replacement for most of 'llvm-as', 'llvm-dis', 'llc' and 'opt' functionality. For example, 'llvm-as' is: $ clang -cc1 -emit-llvm-bc FOO.ll -o FOO.bc and 'llvm-dis' is: $ clang -cc1 -emit-llvm FOO.bc -o - and 'opt' is, e.g.: $ clang -cc1 -emit-llvm -O3 -o FOO.opt.ll FOO.ll and 'llc' is, e.g.: $ clang -cc1 -S -o - FOO.ll The nice thing about using the backend tools this way is that they are guaranteed to exactly match how the compiler generates code (for example, setting the same backend options). llvm-svn: 105583 | ||||
| * | Frontend: Add FrontendAction support for handling LLVM IR inputs. | Daniel Dunbar | 2010-06-07 | 4 | -2/+25 |
| | | | | | | | - These inputs follow an abbreviated execution path, but are still worth handling by FrontendAction so they reuse all the other clang -cc1 features. llvm-svn: 105582 | ||||
| * | FrontendAction: Track active file kind. | Daniel Dunbar | 2010-06-07 | 2 | -6/+9 |
| | | | | | llvm-svn: 105581 | ||||
| * | Frontend: Rename hasASTSupport to hasASTFileSupport, which is more accurate. | Daniel Dunbar | 2010-06-07 | 2 | -3/+4 |
| | | | | | llvm-svn: 105580 | ||||
| * | Frontend: Move some initialization from CompilerInstance to FrontendAction, ↵ | Daniel Dunbar | 2010-06-07 | 3 | -25/+12 |
| | | | | | | | to parallel what is done for AST inputs. llvm-svn: 105579 | ||||
| * | Frontend: Change FrontendAction::BeginSourceFile to take the input kind ↵ | Daniel Dunbar | 2010-06-07 | 3 | -3/+4 |
| | | | | | | | instead of an IsAST bool. llvm-svn: 105578 | ||||
| * | Frontend: Lift InputKind enumeration to top level. | Daniel Dunbar | 2010-06-07 | 4 | -64/+61 |
| | | | | | llvm-svn: 105577 | ||||
| * | Frontend: Drop unnecessary TargetData argument to EmitBackendOutput, we always | Daniel Dunbar | 2010-06-07 | 2 | -21/+11 |
| | | | | | | | create modules which have target data strings. llvm-svn: 105576 | ||||
| * | Frontend: Factor clang::EmitBackendOutput out of CodeGenAction. | Daniel Dunbar | 2010-06-07 | 3 | -327/+359 |
| | | | | | llvm-svn: 105575 | ||||
| * | Frontend: Add CodeGenOptions::SimplifyLibCalls, and eliminate LangOptions ↵ | Daniel Dunbar | 2010-06-07 | 2 | -5/+5 |
| | | | | | | | argument to BackendConsumer. llvm-svn: 105574 | ||||
| * | Added AccessSpecDecl node. | Abramo Bagnara | 2010-06-05 | 2 | -0/+17 |
| | | | | | llvm-svn: 105525 | ||||
| * | Remember type source information for Objective C property declarations. | John McCall | 2010-06-04 | 2 | -3/+3 |
| | | | | | llvm-svn: 105484 | ||||
| * | Added a field to BlockDeclRefExpr for future use. | Fariborz Jahanian | 2010-06-04 | 2 | -1/+3 |
| | | | | | | | No functionality change yet. llvm-svn: 105479 | ||||
| * | Add ARM paths for debian. Not enough to bootstrap on a beagle board, but | Rafael Espindola | 2010-06-04 | 1 | -0/+2 |
| | | | | | | | moves us further. llvm-svn: 105468 | ||||
| * | Restructure how we interpret block-literal declarators. Correctly handle | John McCall | 2010-06-04 | 2 | -0/+2 |
| | | | | | | | | the case where we pick up block arguments from a typedef. Save the block signature as it was written, and preserve same through PCH. llvm-svn: 105466 | ||||
| * | Hack in some really terrible C++ record PCH support that I need right now. | John McCall | 2010-06-03 | 2 | -0/+48 |
| | | | | | | | | | This is required in order to test: The ASTImporter should set base classes after formally entering the definition. llvm-svn: 105401 | ||||
| * | Fix undefined behavior, noticed by GCC 4.5. Patch by Dimitry Andric! | Daniel Dunbar | 2010-06-02 | 1 | -2/+3 |
| | | | | | llvm-svn: 105329 | ||||
| * | Alter the ExternalASTSource interface to permit by-name lookups. PCH ↵ | John McCall | 2010-06-01 | 1 | -16/+27 |
| | | | | | | | | | | | | | | | continues to bring in the entire lookup table at once. Also, give ExternalSemaSource's vtable a home. This is important because otherwise any reference to it will cause RTTI to be emitted, and since clang is compiled with -fno-rtti, that RTTI will contain unresolved references (to ExternalASTSource's RTTI). So this change makes it possible to subclass ExternalSemaSource from projects compiled with RTTI, as long as the subclass's home is compiled with -fno-rtti. llvm-svn: 105268 | ||||
| * | Convert DeclNodes to use TableGen. | Alexis Hunt | 2010-05-30 | 3 | -2/+3 |
| | | | | | | | | | The macros required for DeclNodes use have changed to match the use of StmtNodes. The FooFirst enumerator constants have been named firstFoo to match usage elsewhere. llvm-svn: 105165 | ||||
| * | More PowerPC paths on Darwin | Douglas Gregor | 2010-05-29 | 1 | -0/+3 |
| | | | | | llvm-svn: 105084 | ||||
| * | Add C++ include paths for Darwin PowerPC | Douglas Gregor | 2010-05-29 | 1 | -0/+7 |
| | | | | | llvm-svn: 105083 | ||||
| * | add fedora 13 paths, patch by Hendrik Richter. | Chris Lattner | 2010-05-29 | 1 | -0/+4 |
| | | | | | llvm-svn: 105082 | ||||
| * | Roll back r104941. | John McCall | 2010-05-28 | 2 | -2/+0 |
| | | | | | llvm-svn: 104990 | ||||
| * | Let the backend decide which scheduler and register allocator to use. | Jakob Stoklund Olesen | 2010-05-28 | 1 | -7/+0 |
| | | | | | | | | Currently, the backend uses the same policy, but it will soon switch to -regalloc=fast for -O0. llvm-svn: 104984 | ||||
| * | Add a new attribute on records, __attribute__((adl_invisible)), and define | John McCall | 2010-05-28 | 2 | -0/+2 |
| | | | | | | | | | | | | | the x86-64 __va_list_tag with this attribute. The attribute causes the affected type to behave like a fundamental type when considered by ADL. (x86-64 is the only target we currently provide with a struct-based __builtin_va_list) Fixes PR6762. llvm-svn: 104941 | ||||
| * | Frontend: Sprinkle in some C++ header paths for ARM/Darwin. Also, don't add x86 | Daniel Dunbar | 2010-05-28 | 1 | -4/+19 |
| | | | | | | | | | paths on non-x86. I really detest this file. llvm-svn: 104921 | ||||
| * | Add several more predefines from modern versions of GCC. | Dan Gohman | 2010-05-28 | 1 | -0/+27 |
| | | | | | llvm-svn: 104906 | ||||
| * | MemoryBuffer::getSTDIN may return a null pointer if an error occurs. | Dan Gohman | 2010-05-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 104856 | ||||
| * | Driver: Add clang -cc1 -mrelax-all option, which sets relaxes all ↵ | Daniel Dunbar | 2010-05-27 | 2 | -0/+6 |
| | | | | | | | instructions when using -integrated-as. llvm-svn: 104807 | ||||
| * | AST: Add AlignMac68kAttr, not yet used. | Daniel Dunbar | 2010-05-27 | 2 | -0/+4 |
| | | | | | llvm-svn: 104800 | ||||
| * | AST: Rename PragmaPackAttr to MaxFieldAlignmentAttr, which is more accurate. | Daniel Dunbar | 2010-05-27 | 2 | -3/+3 |
| | | | | | llvm-svn: 104795 | ||||
| * | Predefine the '__clang_analyzer__' macro when using '-analyze'. | Ted Kremenek | 2010-05-26 | 1 | -0/+5 |
| | | | | | llvm-svn: 104742 | ||||
| * | Only enable code patterns (e.g., try { statements } catch (...) { | Douglas Gregor | 2010-05-25 | 2 | -2/+8 |
| | | | | | | | statements }) in the code-completion results if explicitly requested. llvm-svn: 104637 | ||||
| * | Driver/Frontend: Add -emit-codegen-only, for running irgen + codegen but not the | Daniel Dunbar | 2010-05-25 | 2 | -0/+11 |
| | | | | | | | .s printer or .o writer. llvm-svn: 104623 | ||||
| * | Refactoring of block-pointer type rewrite. | Fariborz Jahanian | 2010-05-25 | 1 | -37/+25 |
| | | | | | llvm-svn: 104614 | ||||
| * | Patch to rewrite block pointers as arguments to | Fariborz Jahanian | 2010-05-25 | 1 | -2/+57 |
| | | | | | | | methods. (Radar 7987817). llvm-svn: 104608 | ||||
| * | when too many errors are emitted, and we produce: | Chris Lattner | 2010-05-24 | 1 | -0/+2 |
| | | | | | | | | | fatal error: too many errors emitted, stopping now [-ferror-limit=] Tell the user that this is controlled with -ferror-limit=, like above. llvm-svn: 104528 | ||||
| * | Fix a rewriting bug where a local static objective-c | Fariborz Jahanian | 2010-05-24 | 1 | -0/+6 |
| | | | | | | | pointer is copied into a block. Fixes radar 7924024. llvm-svn: 104526 | ||||
| * | Fix an objective-c rewriter bug when pre-processed file's | Fariborz Jahanian | 2010-05-24 | 1 | -3/+5 |
| | | | | | | | | class declaration's @end is not followed by a new-line. (radar 7946975). llvm-svn: 104512 | ||||
| * | Propagate access specifiers to anonymous union members nested within classes. | John McCall | 2010-05-21 | 1 | -1/+2 |
| | | | | | | | Fixes <rdar://problem/7987650>. llvm-svn: 104376 | ||||
| * | Driver: Move some argument lookup utilities into driver::ArgList. | Daniel Dunbar | 2010-05-20 | 1 | -72/+43 |
| | | | | | llvm-svn: 104237 | ||||
| * | Added basic source locations to Elaborated and DependentName types. | Abramo Bagnara | 2010-05-19 | 2 | -2/+8 |
| | | | | | llvm-svn: 104169 | ||||
| * | Add clang support for IBOutletCollection. | Ted Kremenek | 2010-05-19 | 2 | -0/+13 |
| | | | | | llvm-svn: 104135 | ||||
| * | Add support for Microsoft's __thiscall, from Steven Watanabe! | Douglas Gregor | 2010-05-18 | 1 | -0/+1 |
| | | | | | llvm-svn: 104026 | ||||
| * | "The attached patch allows clang to find the headers | Douglas Gregor | 2010-05-18 | 1 | -9/+33 |
| | | | | | | | | for Visual Studio 2010. It also adds a registry search for the Express edition,", from Steven Watanabe! llvm-svn: 104015 | ||||
| * | Add option '-analyzer-max-loop', which specifies the maximum | Zhongxing Xu | 2010-05-18 | 2 | -1/+2 |
| | | | | | | | number of times the analyzer will go through a loop. llvm-svn: 104007 | ||||
| * | Clean up some more uses of getAs<ObjCInterfaceType>() that Fariborz pointed | John McCall | 2010-05-17 | 1 | -7/+7 |
| | | | | | | | out. The remaining ones are okay. llvm-svn: 103973 | ||||
| * | Moved clang-builtin include dir position to immediately precede C includes. | mike-m | 2010-05-16 | 1 | -21/+22 |
| | | | | | | | This aligns with how gcc compiler does things. llvm-svn: 103912 | ||||

