summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* Frontend: Rename hasASTSupport to hasASTFileSupport, which is more accurate.Daniel Dunbar2010-06-074-8/+9
| | | | llvm-svn: 105580
* Frontend: Move some initialization from CompilerInstance to FrontendAction, ↵Daniel Dunbar2010-06-073-25/+12
| | | | | | to parallel what is done for AST inputs. llvm-svn: 105579
* Frontend: Change FrontendAction::BeginSourceFile to take the input kind ↵Daniel Dunbar2010-06-074-10/+12
| | | | | | instead of an IsAST bool. llvm-svn: 105578
* Frontend: Lift InputKind enumeration to top level.Daniel Dunbar2010-06-076-79/+78
| | | | llvm-svn: 105577
* Frontend: Drop unnecessary TargetData argument to EmitBackendOutput, we alwaysDaniel Dunbar2010-06-073-24/+12
| | | | | | create modules which have target data strings. llvm-svn: 105576
* Frontend: Factor clang::EmitBackendOutput out of CodeGenAction.Daniel Dunbar2010-06-074-327/+393
| | | | llvm-svn: 105575
* Frontend: Add CodeGenOptions::SimplifyLibCalls, and eliminate LangOptions ↵Daniel Dunbar2010-06-073-5/+7
| | | | | | argument to BackendConsumer. llvm-svn: 105574
* When using property-dot assignment syntax to call a setter method,Fariborz Jahanian2010-06-073-4/+44
| | | | | | | type of rhs need be compared to setter's argument and not the getter type. Fixes radar 8062778 llvm-svn: 105560
* Fixed a block regression caused by trying to useFariborz Jahanian2010-06-073-7/+37
| | | | | | | | an existing ir for load of a bock variable. This cannot be done across basic blocks. Fixes radar 8064140. llvm-svn: 105549
* Catch free()s on non-regions and regions known to be not from malloc(), by ↵Jordy Rose2010-06-072-5/+251
| | | | | | checking the symbol type and memory space. llvm-svn: 105547
* Implement __clear_cache on ARM.Rafael Espindola2010-06-072-4/+12
| | | | llvm-svn: 105537
* Use MaybeCreateCXXExprWithTemporaries for potential destruction ofFariborz Jahanian2010-06-073-3/+19
| | | | | | | created temporary. Use own initialized entity for copied in block variables. llvm-svn: 105533
* weekend checkpoint of arm neon builtins codegen. Nate Begeman2010-06-071-0/+89
| | | | | | TODO: add remainder of builtins to CGBuiltin, add code to SemaChecking to validate constants. llvm-svn: 105532
* PR7245: Make binding a reference to a temporary without a usable copyJeffrey Yasskin2010-06-078-16/+102
| | | | | | constructor into an extension warning into the error that C++98 requires. llvm-svn: 105529
* Simplify the methods for creating a pointer, reference, member-pointer,John McCall2010-06-053-129/+98
| | | | | | | or block-pointer type by removing the qualifiers parameter. Introduce a method to perform semantic checking when adding qualifiers to a type. llvm-svn: 105526
* Added AccessSpecDecl node.Abramo Bagnara2010-06-0515-17/+122
| | | | llvm-svn: 105525
* Add an extension to avoid an error when a global template has the same name asJeffrey Yasskin2010-06-055-2/+77
| | | | | | | | | | | | | | | | | | | | a member template, and you try to call the member template with an explicit template argument. See PR7247 For example, this downgrades the error to a warning in: template<typename T> struct set{}; struct Value { template<typename T> void set(T value) { } }; void foo() { Value v; v.set<double>(3.2); // Warning here. } llvm-svn: 105518
* Preserve type info for local variables in optimized builds. Devang Patel2010-06-051-1/+1
| | | | | | llvm-gcc enabled this couple of weeks ago. llvm-svn: 105516
* Alter the interface of GetTypeForDeclarator to return a TypeSourceInfo*.John McCall2010-06-0411-57/+51
| | | | | | This is never null, but the associated type might be. llvm-svn: 105503
* Correctly align large arrays in x86-64. This fixes PR5599.Rafael Espindola2010-06-047-3/+33
| | | | llvm-svn: 105500
* When deciding whether reinterpret_cast casts away constness we need to look ↵Anders Carlsson2010-06-042-2/+19
| | | | | | at array qualifiers. Fixes rdar://problem/8018292. llvm-svn: 105494
* Add indexing support for the block and @property type location informationJohn McCall2010-06-042-4/+34
| | | | | | I just implemented. llvm-svn: 105491
* Initial support for ARM NEON builtins, codegen up nextNate Begeman2010-06-042-5/+293
| | | | llvm-svn: 105489
* Build AST for copy-construction of copied-inFariborz Jahanian2010-06-043-26/+34
| | | | | | class object in blocks and carry it to IRGen. llvm-svn: 105487
* Remember type source information for Objective C property declarations.John McCall2010-06-047-20/+23
| | | | llvm-svn: 105484
* Added a field to BlockDeclRefExpr for future use.Fariborz Jahanian2010-06-044-3/+15
| | | | | | No functionality change yet. llvm-svn: 105479
* Preserve more information from a block's original function declarator, if oneJohn McCall2010-06-045-35/+74
| | | | | | | was given. Remove some unnecessary accounting from BlockScopeInfo. Handle typedef'ed function types until such time as we decide not. llvm-svn: 105478
* Driver: Change -dwarf-debug-flags option to pass the original command lineDaniel Dunbar2010-06-042-6/+9
| | | | | | arguments after translation, instead of the -cc1 level arguments. llvm-svn: 105476
* Driver/Darwin: Model dsymutil properly, as a separate action/tool kind which isDaniel Dunbar2010-06-045-49/+62
| | | | | | | added as the last output step, instead of just hacking it into the link step. - Among other things, this fixes dSYM generation when using multiple -arch options. llvm-svn: 105475
* Driver: Add an explicit dsymutil action.Daniel Dunbar2010-06-045-1/+58
| | | | llvm-svn: 105474
* For C++ copied in objects, use copy constructors inFariborz Jahanian2010-06-043-7/+49
| | | | | | | | setting up block's descriptor. This is on going work to support c++ specific issues in setting up blocks various APIs. llvm-svn: 105469
* Add ARM paths for debian. Not enough to bootstrap on a beagle board, butRafael Espindola2010-06-041-0/+2
| | | | | | moves us further. llvm-svn: 105468
* Restructure how we interpret block-literal declarators. Correctly handleJohn McCall2010-06-046-80/+88
| | | | | | | 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
* Don't insert in lexical context implicit definitions of static member instances.Abramo Bagnara2010-06-041-1/+2
| | | | llvm-svn: 105465
* When checking for equality of template parameter lists, a templateDouglas Gregor2010-06-043-3/+60
| | | | | | type parameter pack is distinct from a template type parameter. llvm-svn: 105464
* Delay checking for mutable const fields until we're checking the field.John McCall2010-06-042-30/+28
| | | | | | | Allows this check to work properly for instantiated fields and removes an unnecessary GetTypeForDeclarator call. llvm-svn: 105463
* Properly disambiguate between an elaborated-type-specifier and aDouglas Gregor2010-06-042-2/+36
| | | | | | type-parameter within a template parameter list. Found by inspection. llvm-svn: 105462
* More refactoring.John McCall2010-06-042-27/+36
| | | | llvm-svn: 105458
* Add a short circuit in isVirtuallyDerivedFrom.Anders Carlsson2010-06-041-0/+3
| | | | llvm-svn: 105457
* Assignments to reference variables shouldn't kill the variable.Jordy Rose2010-06-042-9/+43
| | | | llvm-svn: 105452
* Fixed Objective-C type encoding for bitfields for the GNU runtime to match ↵David Chisnall2010-06-042-36/+78
| | | | | | the encoding used by GCC. llvm-svn: 105451
* Remove now unused code.Anders Carlsson2010-06-041-235/+13
| | | | llvm-svn: 105448
* Use CXXRecordDecl::getFinalOverriders to get final overriders. This speeds ↵Anders Carlsson2010-06-041-1/+119
| | | | | | up vtable layout by moving away from the old final overrider computation code that had O(N^2) complexity in some cases. llvm-svn: 105447
* Remove a couple of unnecessary uses of IsStandardConversion.John McCall2010-06-041-17/+6
| | | | llvm-svn: 105445
* Check the output of this test.Eli Friedman2010-06-031-1/+7
| | | | llvm-svn: 105434
* Think through my commit this time.Eli Friedman2010-06-031-1/+1
| | | | llvm-svn: 105433
* Make sure this test doesn't break when we disallow throwing an exceptionEli Friedman2010-06-031-2/+1
| | | | | | in -fno-exceptions mode. llvm-svn: 105432
* Removing commit access test file.Tom Care2010-06-031-0/+0
| | | | llvm-svn: 105426
* Testing commit access.Tom Care2010-06-031-0/+0
| | | | llvm-svn: 105424
* Classify NEON intrinsics by overloading-type for codegenNate Begeman2010-06-031-146/+162
| | | | | | Add a few missing instructions llvm-svn: 105417
OpenPOWER on IntegriCloud