summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
* Driver: Stub out Tool::ConstructJob.Daniel Dunbar2009-03-183-2/+88
| | | | llvm-svn: 67169
* Driver: Fix Compilation::getArgsForToolChain, local variable wasDaniel Dunbar2009-03-181-4/+4
| | | | | | shadowing member. llvm-svn: 67167
* Driver: Add two normalizations for powerpc.Daniel Dunbar2009-03-181-0/+2
| | | | | | - PR3830 llvm-svn: 67166
* fix PR3809, codegen for inc/dec of function pointers.Chris Lattner2009-03-181-3/+11
| | | | llvm-svn: 67165
* teach codegen to handle noop casts as lvalues.Chris Lattner2009-03-181-0/+13
| | | | llvm-svn: 67164
* Fix -E mismatch; an identifier followed by a numeric constant does notDaniel Dunbar2009-03-181-22/+31
| | | | | | | | require a space (to avoid concatenation) if the numeric constant had a leading period. - PR3819. llvm-svn: 67163
* Driver: Ditch Driver::DefaultToolChain, this can vary between compilations.Daniel Dunbar2009-03-181-23/+20
| | | | llvm-svn: 67162
* Driver: I was too hasty in free'ing Actions, we sometimes shareDaniel Dunbar2009-03-181-3/+2
| | | | | | | Actions so a simple tree traversal isn't quite good enough. Leaving a FIXME for now. llvm-svn: 67161
* Driver: Initialize Arg::ClaimedDaniel Dunbar2009-03-181-1/+2
| | | | llvm-svn: 67160
* Driver: Move actions into Compilation, and construct the compilationDaniel Dunbar2009-03-184-38/+50
| | | | | | | | | | | earlier. - This gives us a simple ownership model, and allows clients access to more information should they ever want it. - We now free Actions correctly. llvm-svn: 67158
* Driver: Add test for binding of precompile; exposed bug due to myDaniel Dunbar2009-03-181-1/+1
| | | | | | | flawed idea that llvm::sys::Path::getBasename was a version of basename(). llvm-svn: 67153
* Use a work list to recursively build up the subregion mapping, and mark liveZhongxing Xu2009-03-181-9/+17
| | | | | | var region roots. llvm-svn: 67152
* Driver: Implement JoinedAndSeparateArg::getValue and add parsing testDaniel Dunbar2009-03-181-2/+3
| | | | | | case. llvm-svn: 67151
* Driver: UnknownHostInfo was always returning 0.Daniel Dunbar2009-03-181-1/+1
| | | | llvm-svn: 67150
* Driver: Use PrettyStackTrace.Daniel Dunbar2009-03-181-0/+11
| | | | llvm-svn: 67149
* cleanup instantiation code, tighten testcaseGabor Greif2009-03-181-3/+0
| | | | llvm-svn: 67148
* Driver: Release Host, ToolChain, and Tool implementations.Daniel Dunbar2009-03-183-1/+22
| | | | llvm-svn: 67146
* instantiate ?: expressionsGabor Greif2009-03-181-1/+30
| | | | llvm-svn: 67145
* The scope representation can now be either a DeclContext pointer or aDouglas Gregor2009-03-188-20/+75
| | | | | | | | | | Type pointer. This allows our nested-name-specifiers to retain more information about the actual spelling (e.g., which typedef did the user name, or what exact template arguments were used in the template-id?). It will also allow us to have dependent nested-name-specifiers that don't map to any DeclContext. llvm-svn: 67140
* Driver: Add test case for -ccc-clang-archs (which, it turns out, wasDaniel Dunbar2009-03-181-2/+2
| | | | | | inverted). llvm-svn: 67135
* pull a nested conditional + comment out into its own variable,Chris Lattner2009-03-171-5/+5
| | | | | | no functionality change. llvm-svn: 67128
* don't crash when sentinel attribute is used on function without a prototype,Chris Lattner2009-03-171-2/+9
| | | | | | discovered as part of PR3817 llvm-svn: 67127
* Fix Type::getDesugaredType() to remove all direct sugar onChris Lattner2009-03-171-21/+32
| | | | | | | | | a type. For example, if we have a typedef of a typeof of int, we strip all the say down to int. This allows us to simplify the getAs* methods, and is the first step towards fixing PR3817 llvm-svn: 67126
* Driver: Add -ccc-print-bindings option (for testing); the PythonDaniel Dunbar2009-03-172-15/+38
| | | | | | driver has no corresponding option. llvm-svn: 67125
* Driver: Add name to Tool (for testing/debugging) and move GCC_* toolsDaniel Dunbar2009-03-173-17/+21
| | | | | | into gcc:: namespace. llvm-svn: 67120
* Stub out some code for support for NSDeallocateObject. This is enabled yet untilTed Kremenek2009-03-171-0/+12
| | | | | | we resolve the semantics of this function when GC is enabled. llvm-svn: 67116
* GCC 4.0 isn't happy with VISIBILITY_HIDDEN on a namespace.Chris Lattner2009-03-171-1/+1
| | | | llvm-svn: 67112
* Driver: GCC 4.0 isn't happy with VISIBILITY_HIDDEN on a namespace.Daniel Dunbar2009-03-172-9/+9
| | | | llvm-svn: 67110
* Driver: Stub out generic GCC tool selection (missed a file)Daniel Dunbar2009-03-171-0/+79
| | | | llvm-svn: 67109
* Driver: Stub out generic GCC tool selection.Daniel Dunbar2009-03-172-3/+40
| | | | llvm-svn: 67108
* Driver: Stub out generic GCC tool chain implementation.Daniel Dunbar2009-03-172-9/+66
| | | | llvm-svn: 67107
* Driver: Make sure to get the default arch name from the tool chain, not the Daniel Dunbar2009-03-171-1/+3
| | | | | | host; the toolchain may differ based on command line arguments. llvm-svn: 67106
* Driver: Pass HostInfo reference into ToolChain.Daniel Dunbar2009-03-171-9/+10
| | | | llvm-svn: 67105
* Refactor instantiation of declarations within a template into a muchDouglas Gregor2009-03-174-149/+219
| | | | | | | | | cleaner visitor framework. Added a visitor for declarations, which is quite similar to the visitor for statatements. llvm-svn: 67104
* Driver: Pass Driver reference down into Host info, which will need itDaniel Dunbar2009-03-172-18/+24
| | | | | | | to pass to ToolChains, which may need Driver specific information (for example, to form search paths). llvm-svn: 67102
* Driver: Fix typo ArgList destructor.Daniel Dunbar2009-03-171-1/+1
| | | | llvm-svn: 67101
* retain/release checker: Add support for reasoning about -dealloc.Ted Kremenek2009-03-171-35/+128
| | | | llvm-svn: 67094
* Implement instantiation of enums within class templates. This isn'tDouglas Gregor2009-03-173-40/+114
| | | | | | | | | | | | | | | quite as great as it sounds, because, while we can refer to the enumerator values outside the template, e.g., adder<long, 3, 4>::value we can't yet refer to them with dependent names, so no Fibonacci (yet). InstantiateClassTemplateSpecialization is getting messy; next commit will put it into a less-ugly state. llvm-svn: 67092
* Driver: Hide HostInfo implementations.Daniel Dunbar2009-03-172-8/+129
| | | | | | | - Also, normalize arch names a tad and stub out getToolChain implementations. llvm-svn: 67091
* Driver: Add two option form of ArgList::getLastArg.Daniel Dunbar2009-03-171-0/+14
| | | | llvm-svn: 67090
* Driver: Add logic for computing where to put job outputs (pipe,Daniel Dunbar2009-03-171-1/+72
| | | | | | temporary file, user provided name, derived name). llvm-svn: 67088
* Add ArgList::MakeArgString and make ArgList::Make* const.Daniel Dunbar2009-03-171-6/+10
| | | | | | | | | - Slightly strange, but the idea is that the ArgList data structure is primarily a list of arguments; we want to allow clients to still add argument strings to an ArgList to avoid worrying about string lifetimes (or unnecessary string copying). llvm-svn: 67086
* typoGabor Greif2009-03-171-1/+1
| | | | llvm-svn: 67081
* Initialize the cleanup.dst variable if necessary. Fixes PR3789.Anders Carlsson2009-03-171-3/+8
| | | | llvm-svn: 67075
* Fix unused variable warning in -Asserts mode.Daniel Dunbar2009-03-171-0/+1
| | | | llvm-svn: 67073
* Handle ImplicitCastExprs when instantiating templates.Anders Carlsson2009-03-171-1/+17
| | | | llvm-svn: 67063
* Fix struct field's debug info.Devang Patel2009-03-161-3/+15
| | | | llvm-svn: 67062
* Fix a problem noticed by Anders, where we were creatingDouglas Gregor2009-03-161-1/+14
| | | | | | | | IntegerLiterals during instantiation when we should be creating either a boolean literal (CXXBoolLiteralExpr) or a character literal (CharacterLiteral). llvm-svn: 67061
* Almost complete implementation of rvalue references. One bug, and a few ↵Sebastian Redl2009-03-1619-101/+273
| | | | | | unclear areas. Maybe Doug can shed some light on some of the fixmes. llvm-svn: 67059
* Build system changes to use TableGen to generate the variousDouglas Gregor2009-03-1616-10/+30
| | | | | | | | | | | | | | | | | | diagnostics. This builds on the patch that Sebastian committed and then revert. Major differences are: - We don't remove or use the current ".def" files. Instead, for now, we just make sure that we're building the ".inc" files. - Fixed CMake makefiles to run TableGen and build the ".inc" files when needed. Tested with both the Xcode and Makefile generators provided by CMake, so it should be solid. - Fixed normal makefiles to handle out-of-source builds that involve the ".inc" files. I'll send a separate patch to the list with Sebastian's changes that eliminate the use of the .def files. llvm-svn: 67058
OpenPOWER on IntegriCloud