summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* GRExprEngine:Ted Kremenek2009-03-205-9/+36
| | | | | | | | - Conjure symbols at '--' and '++' unary operations - Add utility method SVal::GetConjuredSymbolVal() and constify some arguments along the way. llvm-svn: 67395
* Remove unneeded radar reference.Ted Kremenek2009-03-201-3/+2
| | | | llvm-svn: 67394
* Driver: Switch to using -include-pth.Daniel Dunbar2009-03-202-35/+31
| | | | llvm-svn: 67393
* Update test case.Daniel Dunbar2009-03-202-7/+2
| | | | llvm-svn: 67392
* More super dot-syntax property implementationFariborz Jahanian2009-03-204-28/+56
| | | | | | | when there is actually a property declaration used in the dot-syntax. llvm-svn: 67391
* Fix <rdar://problem/6703892> by not warning about self-comparisons of enumTed Kremenek2009-03-202-1/+13
| | | | | | constants. llvm-svn: 67390
* Fix ivar's size encoding.Devang Patel2009-03-201-4/+17
| | | | llvm-svn: 67389
* Driver: Parse Darwin version out of target triple.Daniel Dunbar2009-03-203-1/+45
| | | | llvm-svn: 67388
* Add test case for '-include-pth'.Ted Kremenek2009-03-201-0/+1
| | | | llvm-svn: 67386
* PTHManager::Create() now creates a PTHManager even if the PTH file contains noTed Kremenek2009-03-201-4/+5
| | | | | | cached tokens. This is for use with -include-pth. llvm-svn: 67385
* retain/release checker: Tracking autorelease counts for objects. We're still notTed Kremenek2009-03-201-7/+48
| | | | | | completely there with accurately modeling autorelease pools. llvm-svn: 67384
* Allow profiling of "invalid" Symbols.Ted Kremenek2009-03-201-1/+0
| | | | llvm-svn: 67383
* Implement ir gen. for setter/getter applied to 'super' Fariborz Jahanian2009-03-202-1/+63
| | | | | | in a property dot-syntax notation. llvm-svn: 67382
* add tests for the various .S bugs I fixed on wednesday.Chris Lattner2009-03-201-2/+32
| | | | llvm-svn: 67381
* rename this test from .S to .c so that it gets run.Chris Lattner2009-03-201-1/+1
| | | | llvm-svn: 67380
* Driver: Add and use darwin::Assemble tool.Daniel Dunbar2009-03-204-14/+82
| | | | | | - Based on patch from Pieter de Bie; thanks! llvm-svn: 67379
* refactor some code, fixing a problem discovered by the dragonfly bsd people, ↵Chris Lattner2009-03-201-19/+31
| | | | | | | | where clang was defining "i386" even when in non-gnu mode. llvm-svn: 67378
* Driver: Add two option overload for AddAllArgValues.Daniel Dunbar2009-03-202-1/+17
| | | | llvm-svn: 67377
* pass langoptions around.Chris Lattner2009-03-201-9/+10
| | | | llvm-svn: 67376
* pass LangOptions into TargetInfo::getTargetDefines, so that targetsChris Lattner2009-03-203-35/+56
| | | | | | can have language-specific defines. llvm-svn: 67375
* add a new LangOptions::GNUMode bit to distinguish between GNU99 and C99 etc.Chris Lattner2009-03-202-5/+9
| | | | llvm-svn: 67374
* Driver: Add Arg::getAsString and use when dumping arguments toDaniel Dunbar2009-03-203-6/+26
| | | | | | | | diagnostics. - This ensures that the whole argument and values are printed, instead of just the option name. llvm-svn: 67366
* strictly evaluate SVN_REVISION so that svnversion is run once instead of 4 ↵Chris Lattner2009-03-201-3/+5
| | | | | | times. llvm-svn: 67365
* Driver: Implement -print-search-dirs.Daniel Dunbar2009-03-202-1/+20
| | | | llvm-svn: 67362
* Driver: Unbreak ToolChain::get{File,Program}Paths (which should returnDaniel Dunbar2009-03-201-4/+4
| | | | | | reference, not copy). llvm-svn: 67361
* Driver: Sketch Darwin tool chains.Daniel Dunbar2009-03-203-11/+111
| | | | llvm-svn: 67356
* Driver: Add darwin::Lipo tool.Daniel Dunbar2009-03-202-1/+42
| | | | llvm-svn: 67355
* Preserve ordering between -include and -include-pth.Ted Kremenek2009-03-201-1/+2
| | | | llvm-svn: 67354
* Allow flexible array initializers that are not surrounded byDouglas Gregor2009-03-205-15/+38
| | | | | | | | braces. We now build the appropriate fully-structured initializer list for such things. Per PR3618, verified that we're getting the right code generation. llvm-svn: 67353
* Implement "-include-pth" in low-level driver. This allows a PTH file to be usedTed Kremenek2009-03-201-4/+42
| | | | | | | | | similar to a regular file passed to "-include". When -include-pth is used, the low-level driver queries the PTH file for the name of the original source file that generated the PTH file and implicitly adds a '#include' for that file in the Predefines buffer. llvm-svn: 67352
* Add accessor Preprocessor::getPTHManager().Ted Kremenek2009-03-201-2/+3
| | | | llvm-svn: 67351
* Driver: Move tool chain implementations into ToolChains.cpp.Daniel Dunbar2009-03-202-50/+81
| | | | llvm-svn: 67350
* Driver: Temporary hack to allow -ccc-print-bindings to work (forDaniel Dunbar2009-03-201-1/+4
| | | | | | testing) even with -pipe on. llvm-svn: 67348
* Bindir and Win32 builds work, so switch to .inc files. Leave the .def files ↵Sebastian Redl2009-03-199-24/+24
| | | | | | in the tree for a day or so longer. llvm-svn: 67346
* Add PTHManager::getOriginalSourceFile(), a method that returns the name of theTed Kremenek2009-03-192-5/+24
| | | | | | original source file (if any) that was used to generate the PTH cache. llvm-svn: 67343
* Store the name of the original file used to generate the PTH file in the PTHTed Kremenek2009-03-191-5/+29
| | | | | | file itself. llvm-svn: 67340
* wording.Chris Lattner2009-03-191-4/+4
| | | | llvm-svn: 67337
* Variables marked as "extern" can actually have internal linkage ifDouglas Gregor2009-03-194-4/+21
| | | | | | there is a previous declaration marked "static". This fixes PR3645. llvm-svn: 67336
* Add test cases for PR 3820.Ted Kremenek2009-03-191-0/+26
| | | | llvm-svn: 67327
* Per Daniel's suggestion, remove default case from switch statement to makeTed Kremenek2009-03-191-1/+1
| | | | | | uncaught language cases a compile warning instead of a runtime error. llvm-svn: 67325
* add link to new pageChris Lattner2009-03-191-1/+1
| | | | llvm-svn: 67324
* link to diags page.Chris Lattner2009-03-191-3/+3
| | | | llvm-svn: 67323
* move most of the diags info out to its own file.Chris Lattner2009-03-191-164/+9
| | | | llvm-svn: 67321
* Allow notes to be printed following a fatal error, then suppress anyDouglas Gregor2009-03-192-12/+19
| | | | | | | | | | diagnostics following those notes. Make exceeding the template instantiation depth a fatal error. Thanks to Daniel for pointing out the problem! llvm-svn: 67320
* split diagnostics examples out to its own file.Chris Lattner2009-03-191-0/+213
| | | | llvm-svn: 67318
* Add a clarifying comment about HasPrototype's computationDouglas Gregor2009-03-191-0/+6
| | | | llvm-svn: 67316
* Support langkind_cxx_pch when determining the language dialect.Ted Kremenek2009-03-191-0/+1
| | | | llvm-svn: 67315
* When looking for property name (or getter method) in aFariborz Jahanian2009-03-192-9/+89
| | | | | | | | dot-syntax expression after earching the list of protocols in the qualified-id, must keep searching the protocol list of each of the protocols in the list. llvm-svn: 67314
* If a function is declared as, e.g.,Douglas Gregor2009-03-192-2/+13
| | | | | | | | | | F f; where F is a typedef of a function type, then the function "f" has a prototype. This is a slight tweak to Chris's suggested fix in PR3817. Fixes PR3817 and PR3840. llvm-svn: 67313
* Driver/clang: -mattr strings were not comma separated.Daniel Dunbar2009-03-191-0/+4
| | | | | | - Apologies for commits w/o test cases; they are coming. llvm-svn: 67310
OpenPOWER on IntegriCloud