summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* use escape string.Chris Lattner2009-04-151-13/+6
| | | | llvm-svn: 69212
* teach EscapeString and UnescapeString to handle ".Chris Lattner2009-04-151-0/+3
| | | | llvm-svn: 69211
* Add DISubprogram is not null check.Devang Patel2009-04-151-2/+4
| | | | | | This fixes test/CodeGen//2009-01-21-invalid-debug-info.m test case. llvm-svn: 69210
* Generalize one of the SelectionDAG::ReplaceAllUsesWith overloadsDan Gohman2009-04-154-18/+13
| | | | | | | | to support replacing a node with another that has a superset of the result types. Use this instead of calling ReplaceAllUsesOfValueWith for each value. llvm-svn: 69209
* rename -gen-clang-diags-options -> -gen-clang-diag-groupsChris Lattner2009-04-153-8/+8
| | | | llvm-svn: 69208
* move clang specific makefile goop to clang instead of llvm. This may requireChris Lattner2009-04-151-1/+13
| | | | | | updating the llvm tree. llvm-svn: 69207
* move clang-specific makefile goop to clang makefile.Chris Lattner2009-04-151-13/+0
| | | | llvm-svn: 69206
* Don't use \01 in symbol name if unnecessary.Daniel Dunbar2009-04-153-7/+3
| | | | | | | | - This was particularly bad since I fixed one instance of this name and not another, meaning we got an LLVM module with the same effective name in two different globals! llvm-svn: 69205
* Fix 80-column violations.Dan Gohman2009-04-152-3/+4
| | | | llvm-svn: 69204
* Add a folding table entry for MOV8rr_NOREX.Dan Gohman2009-04-151-0/+1
| | | | llvm-svn: 69203
* Check isInlinedSubroutine() before creating DW_TAG_inlined_subroutine.Devang Patel2009-04-151-1/+2
| | | | llvm-svn: 69202
* Fix <rdar://problem/6786597> varargs not supported for Blocks under clang.Steve Naroff2009-04-152-2/+47
| | | | | | Teach Sema::SemaBuiltinVAStart() about blocks. llvm-svn: 69201
* Patch to remove a bogus warning which pointed to underlying ASTFariborz Jahanian2009-04-152-13/+27
| | | | | | | | gen. issue for property in continuation class declared readwrite but which did not generate the declaration for the setter. Fix also removed a FIXME and resulted in code cleanup. llvm-svn: 69200
* Fix alignment on obj_msgrefs to match llvm-gcc.Daniel Dunbar2009-04-152-2/+2
| | | | llvm-svn: 69199
* Add test case for superrefs section (and make spacing consistent).Daniel Dunbar2009-04-152-3/+17
| | | | llvm-svn: 69198
* fix some out of bounds array access problems, which manifest particularlyChris Lattner2009-04-151-18/+37
| | | | | | spectacularly when built for x86-64. llvm-svn: 69197
* PCH support for the string literal of a FileScopeAsmDecl.Douglas Gregor2009-04-152-5/+8
| | | | | | Some minor cleanup. llvm-svn: 69196
* move some pp diags to the right .td file.Chris Lattner2009-04-152-8/+7
| | | | llvm-svn: 69193
* annotate diagnostics with which groups they belong to. Each Chris Lattner2009-04-154-27/+43
| | | | | | | | diagnostic can belong to at most one group. Each group can contain multiple diags, but we have nice syntax for the common case of "1 diag to one group". llvm-svn: 69192
* For source location entries that describe instantiations, encode theDouglas Gregor2009-04-153-3/+11
| | | | | | | token length in the PCH file rather than trying (and failing) to reconstruct it be getting the spelling token's length. llvm-svn: 69191
* Fix MachineInstr::getNumExplicitOperands to countDan Gohman2009-04-151-2/+2
| | | | | | variadic operands correctly. Patch by Jakob Stoklund Olesen! llvm-svn: 69190
* PCH support for MemberExpr and CallExpr.Douglas Gregor2009-04-157-7/+88
| | | | llvm-svn: 69186
* Fixup http://llvm.org/viewvc/llvm-project?rev=69165&view=rev (based on ↵Steve Naroff2009-04-152-6/+10
| | | | | | feedback from Eli). llvm-svn: 69184
* now that we've decoupled diagnostic classes from default mappings,Chris Lattner2009-04-155-25/+17
| | | | | | | move the remaining default mapping exceptions from C++ code into the .td files. llvm-svn: 69183
* move {'sChris Lattner2009-04-151-6/+3
| | | | llvm-svn: 69179
* Revert previous patch (will commit a fix soon).Steve Naroff2009-04-153-8/+17
| | | | llvm-svn: 69178
* Make diagnostic class explicit in the diag record instead ofChris Lattner2009-04-152-22/+29
| | | | | | | implicit from its parenting. Now that diag mapping is explicit, eliminate the fatal and extwarn classes. llvm-svn: 69177
* don't infer diag class from parenting relations, make it an explicit fieldChris Lattner2009-04-151-15/+1
| | | | | | in the record. llvm-svn: 69176
* Tblgen now passes the default mapping explicitly, instead of having it Chris Lattner2009-04-159-28/+11
| | | | | | be tied to the diag class. This requires an LLVM tree update. llvm-svn: 69175
* add a bunch of files.Chris Lattner2009-04-151-10/+16
| | | | llvm-svn: 69174
* include the default mapping in the clang diagnostic .inc files.Chris Lattner2009-04-151-7/+2
| | | | llvm-svn: 69173
* PCH support for string literalsDouglas Gregor2009-04-157-1/+93
| | | | llvm-svn: 69172
* Driver: Add --help-hiddenDaniel Dunbar2009-04-153-5/+43
| | | | llvm-svn: 69171
* __objc_superrefs belongs to __DATA segment.Fariborz Jahanian2009-04-151-1/+1
| | | | llvm-svn: 69170
* PCH support for UnaryOperator, SizeOfAlignOfExprDouglas Gregor2009-04-156-4/+103
| | | | llvm-svn: 69169
* Start attempting to generate code for C++ ctors.Anders Carlsson2009-04-153-5/+65
| | | | llvm-svn: 69168
* Fix <rdar://problem/6789707> "warning: 'extern' variable has an initializer" ↵Steve Naroff2009-04-152-3/+2
| | | | | | not correct for __private_extern__. llvm-svn: 69167
* rename variable in comment, not just in code :).Chris Lattner2009-04-151-3/+3
| | | | llvm-svn: 69166
* Fix <rdar://problem/6791490> [clang10 regression] [sema] invalid illegal ↵Steve Naroff2009-04-152-7/+14
| | | | | | | | | | | | jump diagnostic. caused by: <rdar://problem/6252084> [sema] jumps into Obj-C exception blocks should be disallowed. Sema::RecursiveCalcLabelScopes() and Sema::RecursiveCalcJumpScopes() need to pop the ScopeStack within the statement iteration loop (was outside the loop). Eli, please review (thanks). llvm-svn: 69165
* this should be privateChris Lattner2009-04-151-6/+7
| | | | llvm-svn: 69158
* add another sanity check for -Werror=xxChris Lattner2009-04-151-0/+3
| | | | llvm-svn: 69157
* add a missing &&Chris Lattner2009-04-151-1/+1
| | | | llvm-svn: 69156
* fix a broken test, that passed for the wrong reason. Two wrongs make a ↵Chris Lattner2009-04-151-1/+1
| | | | | | right! :) llvm-svn: 69155
* Rejigger how -pedantic and -pedantic-errors work and their interactionChris Lattner2009-04-155-94/+219
| | | | | | | | | | | | | | | | with other diagnostic mapping. In the new scheme, -Wfoo or -Wno-foo or -Werror=foo all override the -pedantic options, and __extension__ robustly silences all extension diagnostics in their scope. An added bonus of this change is that MAP_DEFAULT goes away, meaning that per-diagnostic mapping information can now be stored in 2 bits, doubling the density of the Diagnostic::DiagMapping array. This also substantially simplifies Diagnostic::getDiagnosticLevel. OTOH, this temporarily introduces some "macro intensive" code in Diagnostic.cpp. This will be addressed in a later patch. llvm-svn: 69154
* Implement support for designated initializers that refer to members ofDouglas Gregor2009-04-157-53/+224
| | | | | | anonymous structs or unions. Fixes PR3778. llvm-svn: 69153
* minor cleanupsChris Lattner2009-04-151-17/+11
| | | | llvm-svn: 69152
* Limit the number of times we're willing to chase pointers. Removes an O(n^2)Nick Lewycky2009-04-151-1/+3
| | | | | | problem from instcombine. llvm-svn: 69151
* Add support for mangling C++ constructors. Review appreciated (I'm looking ↵Anders Carlsson2009-04-152-10/+57
| | | | | | at you, Doug) llvm-svn: 69150
* make default diagnostic mapping more explicit in .td file.Chris Lattner2009-04-151-20/+25
| | | | llvm-svn: 69149
* remove some commented out -Wstrict-selector-match stuff.Chris Lattner2009-04-151-3/+0
| | | | llvm-svn: 69148
OpenPOWER on IntegriCloud