summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix PR 3836 by eagerly assuming symbolic constraints returned by unary '!'.Ted Kremenek2009-03-181-2/+10
| | | | llvm-svn: 67260
* Use the instantiated expressions to build the ConditionalOperator. This ↵Gabor Greif2009-03-181-8/+4
| | | | | | addresses the second part of review feedback. llvm-svn: 67259
* Driver: Fix bug in translating -O to clang, add clang-translation testDaniel Dunbar2009-03-181-1/+1
| | | | | | case. llvm-svn: 67257
* Driver: Resolve program path for "cp" (used as part of transparent gccDaniel Dunbar2009-03-181-1/+3
| | | | | | PCH support). llvm-svn: 67256
* Driver: Forcibly disable pipe support until we can execute them, theDaniel Dunbar2009-03-181-1/+13
| | | | | | driver is functional without them. llvm-svn: 67254
* Driver: Delete the temporary files llvm::sys::Path::makeUniqueDaniel Dunbar2009-03-181-0/+4
| | | | | | sometimes leaves around. llvm-svn: 67253
* Make -j8 safe.Mike Stump2009-03-181-1/+1
| | | | llvm-svn: 67252
* Driver: Execute jobs; no pipe support yet.Daniel Dunbar2009-03-181-14/+56
| | | | llvm-svn: 67250
* objc: Implemented variables declared in class interface Fariborz Jahanian2009-03-184-9/+34
| | | | | | whose sema decl is at the translation unit. llvm-svn: 67249
* Driver: Cleanup temporary/result files.Daniel Dunbar2009-03-182-3/+47
| | | | llvm-svn: 67248
* Fix crash reported in <rdar://problem/6695527>. We now haveTed Kremenek2009-03-182-16/+19
| | | | | | | | | SVal::GetRValueSymbolVal do the checking if we can symbolicate a type instead of having BasicStoreManager do it (which wasn't always doing the check consistently). Having this check in SVal::GetRValueSymbolVal keeps the check in one centralized place. llvm-svn: 67245
* Driver: Lookup program names using llvm::sys::Program::FindProgramByName Daniel Dunbar2009-03-182-1/+9
| | | | | | | | | if our usual methods fail. This isn't necessary for running the tool, but improves the accuracy of logging output. Also, have GCC tools lookup gcc program path. llvm-svn: 67243
* The eventual name of this will be clang, might as well start now.Mike Stump2009-03-181-1/+1
| | | | llvm-svn: 67241
* silence some errors that should not apply to .S files on code like:Chris Lattner2009-03-181-4/+4
| | | | | | | | '' ' ' llvm-svn: 67237
* when preprocessing a .S file, unknown directives should just be passed through,Chris Lattner2009-03-182-1/+19
| | | | | | | | | | | | | | and the token after the # should be expanded if it is not a valid directive. This allows us to transform things like: #define FOO BAR # FOO into # BAR, even though FOO is not normally expanded for directives. This should fix PR3833 llvm-svn: 67236
* properly form a full token for # before calling HandleDirective.Chris Lattner2009-03-181-6/+7
| | | | llvm-svn: 67235
* This is not considered a preprocessor directive in .S files:Chris Lattner2009-03-181-0/+2
| | | | | | # 4 llvm-svn: 67233
* constructs like:Chris Lattner2009-03-181-3/+4
| | | | | | | | | #define Y X ## . Y are ok in .S files. llvm-svn: 67231
* Driver: Support ToolChain specific path lists to search for files andDaniel Dunbar2009-03-181-2/+25
| | | | | | programs. llvm-svn: 67229
* incorporate review comment (about the optimization when we have a ↵Gabor Greif2009-03-181-2/+18
| | | | | | non-typedependent expression) llvm-svn: 67226
* Move generated file to ObjDir.Mike Stump2009-03-181-4/+4
| | | | llvm-svn: 67225
* PR3835: Interaction with ABI structure passing can inhibitDaniel Dunbar2009-03-181-0/+6
| | | | | | readnone/readonly attributes. llvm-svn: 67224
* Driver: Construct temporary file names.Daniel Dunbar2009-03-181-5/+17
| | | | | | - This is still suboptimal, but should at least be workable. llvm-svn: 67223
* Add revision information.Mike Stump2009-03-182-3/+16
| | | | llvm-svn: 67220
* fix the more complex cases by actually codegen'ing the right expr :)Chris Lattner2009-03-181-1/+1
| | | | llvm-svn: 67219
* add codegen support for casting an element to a union.Chris Lattner2009-03-182-8/+26
| | | | | | | There are some more complex cases (_Complex and structs) that I'm still working on. llvm-svn: 67218
* Driver: Don't warn about unused arguments if there are Driver errorsDaniel Dunbar2009-03-181-2/+5
| | | | | | (brings code in line with diagnostic. llvm-svn: 67217
* simplify logic, isInvalid check is redundantGabor Greif2009-03-181-8/+3
| | | | llvm-svn: 67216
* Be sure to not add weak import, if we are ignoring it.Mike Stump2009-03-181-0/+1
| | | | llvm-svn: 67214
* Add codegen support for aggregate BlockDeclRefExprs.Mike Stump2009-03-181-0/+3
| | | | llvm-svn: 67207
* Fix URL trimming for version information.Mike Stump2009-03-181-1/+1
| | | | llvm-svn: 67206
* Ignore weak import on properties.Mike Stump2009-03-181-0/+2
| | | | llvm-svn: 67205
* Improve version number.Mike Stump2009-03-182-3/+14
| | | | llvm-svn: 67204
* Driver: Port Clang argument translation.Daniel Dunbar2009-03-181-11/+294
| | | | llvm-svn: 67193
* Driver: Bug fix, derived .gch names sometimes started with "/".Daniel Dunbar2009-03-181-1/+4
| | | | llvm-svn: 67192
* Driver: Add argument translation utilities to ArgList.Daniel Dunbar2009-03-181-0/+65
| | | | | | | | - Support things like telling which -ffoo -fno-foo option won, and forwarding all arguments matching a certain set of options to the tool. llvm-svn: 67189
* Driver: Lift out common GCC tool and implement generic GCC toolDaniel Dunbar2009-03-182-72/+124
| | | | | | | | argument translation. Also, stub out clang tool implementation a bit more. llvm-svn: 67185
* Driver: Add assert and FIXME; arguments which act as linker inputsDaniel Dunbar2009-03-181-0/+3
| | | | | | (e.g., -filelist) are currently broken. llvm-svn: 67183
* Driver: Provide Arg::render implementations.Daniel Dunbar2009-03-181-6/+22
| | | | llvm-svn: 67182
* Driver: Add "d" flag to Options.def for options which are completelyDaniel Dunbar2009-03-182-4/+15
| | | | | | | | | | | | handled by driver. - This is not very precise, we use it to drive the "forward-to-gcc" predicate, when trying to talk to a generic gcc tool. - Slightly better than what ccc was doing, and should be good enough. Platforms which want a robust driver should implement a proper tool chain. llvm-svn: 67181
* Driver: ConstructJob also needs to know the destination (where to putDaniel Dunbar2009-03-185-7/+39
| | | | | | its commands). llvm-svn: 67179
* Driver: Print version on stderr to match [gc]cc.Daniel Dunbar2009-03-181-1/+1
| | | | llvm-svn: 67178
* Driver: Implement -### (hard to tell, since we don't actuallyDaniel Dunbar2009-03-181-0/+27
| | | | | | construct any jobs). llvm-svn: 67177
* Driver: Claim inputs when we bind the InputAction.Daniel Dunbar2009-03-181-0/+1
| | | | llvm-svn: 67174
* Driver: Rename Command::Argv to Command::Arguments to make it clearerDaniel Dunbar2009-03-181-2/+2
| | | | | | | that this does not include the implicit first argument (the executable name). llvm-svn: 67172
* Driver: Don't claim inputs when pipelining, a tool should eventuallyDaniel Dunbar2009-03-181-1/+0
| | | | | | claim these. llvm-svn: 67171
* Driver: Add a dash of const.Daniel Dunbar2009-03-183-14/+24
| | | | llvm-svn: 67170
* 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
OpenPOWER on IntegriCloud