| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Sentence-case bug type, and pull tests from region-only-test.c into ↵ | Ted Kremenek | 2009-11-06 | 3 | -25/+37 | |
| | | | | | | | misc-ps-region.store.m (removing an extra unneeded test file). Also add a bunch of FIXME comments for future enhancements. llvm-svn: 86282 | |||||
| * | fix typo | Gabor Greif | 2009-11-06 | 1 | -0/+0 | |
| | | | | | llvm-svn: 86281 | |||||
| * | Fix a problem discovered on self host. | Chris Lattner | 2009-11-06 | 2 | -1/+23 | |
| | | | | | llvm-svn: 86278 | |||||
| * | Simplify the debug info code, handle lvalue references and template ↵ | Anders Carlsson | 2009-11-06 | 3 | -13/+37 | |
| | | | | | | | specializations. llvm-svn: 86277 | |||||
| * | This patch fixes code gen. part of pr5333 (Conversion | Fariborz Jahanian | 2009-11-06 | 2 | -1/+27 | |
| | | | | | | | using elipsis conversion). llvm-svn: 86276 | |||||
| * | Handle QualifiedNameType and SubstTemplateTypeParmType types in ↵ | Anders Carlsson | 2009-11-06 | 2 | -0/+17 | |
| | | | | | | | CGDebugInfo::CreateTypeNode. llvm-svn: 86274 | |||||
| * | add test case for PR3135 which was already fixed | Nuno Lopes | 2009-11-06 | 1 | -0/+20 | |
| | | | | | llvm-svn: 86273 | |||||
| * | remove more code subsumed by r86264 | Chris Lattner | 2009-11-06 | 1 | -83/+17 | |
| | | | | | llvm-svn: 86270 | |||||
| * | Tolerate invalid derived type. | Devang Patel | 2009-11-06 | 2 | -0/+17 | |
| | | | | | llvm-svn: 86269 | |||||
| * | Don't assert when trying to generate debug info for vector types. This needs ↵ | Anders Carlsson | 2009-11-06 | 1 | -0/+4 | |
| | | | | | | | to be fixed eventually... llvm-svn: 86268 | |||||
| * | eliminate some more code subsumed by r86264 | Chris Lattner | 2009-11-06 | 1 | -41/+4 | |
| | | | | | llvm-svn: 86267 | |||||
| * | remove now redundant code, r86264 handles this case. | Chris Lattner | 2009-11-06 | 1 | -66/+0 | |
| | | | | | llvm-svn: 86266 | |||||
| * | Don't warn -Wsign-compare if we're in an unevaluated context, and fixed | John McCall | 2009-11-06 | 2 | -1/+5 | |
| | | | | | | | a typo pointed out by Fariborz. llvm-svn: 86265 | |||||
| * | Extend jump threading to support much more general threading | Chris Lattner | 2009-11-06 | 2 | -27/+356 | |
| | | | | | | | | | | | | | | | | | | | | | predicates. This allows us to jump thread things like: _ZN12StringSwitchI5ColorE4CaseILj7EEERS1_RAT__KcRKS0_.exit119: %tmp1.i24166 = phi i8 [ 1, %bb5.i117 ], [ %tmp1.i24165, %_Z....exit ], [ %tmp1.i24165, %bb4.i114 ] %toBoolnot.i87 = icmp eq i8 %tmp1.i24166, 0 ; <i1> [#uses=1] %tmp4.i90 = icmp eq i32 %tmp2.i, 6 ; <i1> [#uses=1] %or.cond173 = and i1 %toBoolnot.i87, %tmp4.i90 ; <i1> [#uses=1] br i1 %or.cond173, label %bb4.i96, label %_ZN12... Where it is "obvious" that when coming from %bb5.i117 that the 'and' is always false. This triggers a surprisingly high number of times in the testsuite, and gets us closer to generating good code for doug's strswitch testcase. This also make a bunch of other code in jump threading redundant, I'll rip out in the next patch. This survived an enable-checking llvm-gcc bootstrap. llvm-svn: 86264 | |||||
| * | update comment, pointed out by Gabor | Chris Lattner | 2009-11-06 | 1 | -3/+1 | |
| | | | | | llvm-svn: 86263 | |||||
| * | Use WriteAsOperand to print GlobalAddress MachineOperands. This | Dan Gohman | 2009-11-06 | 1 | -1/+2 | |
| | | | | | | | prints them with the leading '@'. llvm-svn: 86261 | |||||
| * | add some const qualifiers, patch by Kovarththanan Rajaratnam! | Chris Lattner | 2009-11-06 | 2 | -4/+4 | |
| | | | | | llvm-svn: 86260 | |||||
| * | Do not bother to emit debug info for nameless global variable. | Devang Patel | 2009-11-06 | 3 | -2/+13 | |
| | | | | | llvm-svn: 86259 | |||||
| * | indirectbr seems to work! Rip out the old code. | Chris Lattner | 2009-11-06 | 5 | -140/+0 | |
| | | | | | llvm-svn: 86256 | |||||
| * | Instead of returning a null DIType for unhandled types, assert. | Anders Carlsson | 2009-11-06 | 1 | -9/+1 | |
| | | | | | llvm-svn: 86254 | |||||
| * | Add a checker for CWE-466: Return of Pointer Value Outside of Expected Range. | Zhongxing Xu | 2009-11-06 | 6 | -0/+101 | |
| | | | | | llvm-svn: 86252 | |||||
| * | Pass StringRef by value. | Daniel Dunbar | 2009-11-06 | 51 | -200/+196 | |
| | | | | | llvm-svn: 86251 | |||||
| * | compare.c also needs a target triple now, and improve some comments while we're | John McCall | 2009-11-06 | 2 | -8/+8 | |
| | | | | | | | at it. llvm-svn: 86243 | |||||
| * | Improve the -Wsign-compare heuristics: | John McCall | 2009-11-06 | 4 | -34/+417 | |
| | | | | | | | | | | | | | | * If the unsigned type is smaller than the signed type, never warn, because its value will not change when zero-extended to the larger type. * If we're testing for (in)equality, and the unsigned value is an integer constant whose sign bit is not set, never warn, because even though the signed value might change, it can't affect the result of the equality. Also make the comparison test cases much more rigorous, and have them expose the subtle differences between C and C++ here. llvm-svn: 86242 | |||||
| * | Create a warning group "non-gcc" for diagnostics which are not enabled | John McCall | 2009-11-06 | 1 | -0/+4 | |
| | | | | | | | | | by default in GCC. Users who want to emulate gcc's warning behavior exactly should be able to use CC="clang -Wno-non-gcc"; this should help projects to transition. llvm-svn: 86241 | |||||
| * | add some fixit hints. | Chris Lattner | 2009-11-06 | 2 | -2/+4 | |
| | | | | | llvm-svn: 86240 | |||||
| * | clang++ points out that this is pointless. | Chris Lattner | 2009-11-06 | 1 | -1/+1 | |
| | | | | | llvm-svn: 86239 | |||||
| * | Rework the fix-it hint for code like | Douglas Gregor | 2009-11-06 | 4 | -16/+46 | |
| | | | | | | | | | | | | get_origin->x where get_origin is actually a function and the user has forgotten the parentheses. Instead of giving a lame note for the fix-it, give a full-fledge error, early, then build the call expression to try to recover. llvm-svn: 86238 | |||||
| * | remove some more Context arguments. | Chris Lattner | 2009-11-06 | 3 | -5/+3 | |
| | | | | | llvm-svn: 86235 | |||||
| * | Improve recovery when we fail to parse the operand of a C++ named cast. ↵ | Douglas Gregor | 2009-11-06 | 2 | -7/+12 | |
| | | | | | | | Fixes PR5210 llvm-svn: 86234 | |||||
| * | Turn off -Wsign-compare warnings by default | Douglas Gregor | 2009-11-06 | 7 | -8/+9 | |
| | | | | | llvm-svn: 86233 | |||||
| * | remove a bunch of extraneous LLVMContext arguments | Chris Lattner | 2009-11-06 | 20 | -289/+220 | |
| | | | | | | | from various APIs, addressing PR5325. llvm-svn: 86231 | |||||
| * | If a member variable of reference type is bound to a temporary in its member ↵ | Anders Carlsson | 2009-11-06 | 2 | -0/+22 | |
| | | | | | | | initializer it needs to be destroyed at the end of the constructor. llvm-svn: 86230 | |||||
| * | NewNighlytTest: Fix timestamp format to actually make sense (it was missing ↵ | Daniel Dunbar | 2009-11-06 | 1 | -1/+2 | |
| | | | | | | | the hour). llvm-svn: 86229 | |||||
| * | NewNightlyTest: Add -noclean option, which doesn't run 'make clean' before ↵ | Daniel Dunbar | 2009-11-06 | 1 | -6/+8 | |
| | | | | | | | | | building LLVM (for testing). Also, switch to always running 'make clean' in the test-suite directories. llvm-svn: 86228 | |||||
| * | NewNightlyTest: Unbreak passing the build directory via a positional argument. | Daniel Dunbar | 2009-11-06 | 1 | -7/+7 | |
| | | | | | llvm-svn: 86227 | |||||
| * | NewNightlyTest: Add -llvmgccdir as alternative to environment variable. | Daniel Dunbar | 2009-11-06 | 1 | -8/+15 | |
| | | | | | llvm-svn: 86226 | |||||
| * | If a member initializer create temporaries we need to destroy them. Fixes ↵ | Anders Carlsson | 2009-11-06 | 2 | -0/+40 | |
| | | | | | | | PR5077. llvm-svn: 86225 | |||||
| * | More cleanup. | Anders Carlsson | 2009-11-06 | 1 | -73/+94 | |
| | | | | | llvm-svn: 86224 | |||||
| * | Cleanup ctor/dtor emission. | Anders Carlsson | 2009-11-06 | 1 | -11/+12 | |
| | | | | | llvm-svn: 86222 | |||||
| * | Handle ParenExprs in mangleExpression. | Anders Carlsson | 2009-11-06 | 2 | -0/+11 | |
| | | | | | llvm-svn: 86218 | |||||
| * | Refine the vcall for a function that is defined in a virtual base | Mike Stump | 2009-11-06 | 2 | -7/+44 | |
| | | | | | | | class that is overridden in a base that isn't morally virtual. llvm-svn: 86217 | |||||
| * | static analyzer: refactor checking logic for returning the address of a ↵ | Ted Kremenek | 2009-11-06 | 9 | -146/+232 | |
| | | | | | | | | | | stack variable or a garbage value into their own respective subclasses of Checker (and put them in .cpp files where their implementation details are hidden from GRExprEngine). llvm-svn: 86215 | |||||
| * | Revert r86077 because it caused crashes in 179.art and 175.vpr on ARM | Victor Hernandez | 2009-11-06 | 19 | -244/+191 | |
| | | | | | llvm-svn: 86213 | |||||
| * | Do not try to emit debug info entry for dead global variable. | Devang Patel | 2009-11-06 | 2 | -1/+23 | |
| | | | | | llvm-svn: 86212 | |||||
| * | If we have a C-style cast, functional cast, or a static_cast to a | Douglas Gregor | 2009-11-06 | 2 | -2/+16 | |
| | | | | | | | | | | | class type, don't perform the array-to-pointer or function-to-pointer conversions, because we may end up binding a reference to a function or array. With this change, FileCheck now passes -fsyntax-only! llvm-svn: 86211 | |||||
| * | When we encounter a derived-to-base conversion when performing an | Douglas Gregor | 2009-11-06 | 3 | -2/+28 | |
| | | | | | | | | implicit conversion sequence, check the validity of this conversion and then perform it. llvm-svn: 86210 | |||||
| * | Minor cleanup of my last patch. | Fariborz Jahanian | 2009-11-06 | 1 | -1/+1 | |
| | | | | | llvm-svn: 86209 | |||||
| * | Minor cleanup: use BuiltinBug (which will soon be renamed) for ↵ | Ted Kremenek | 2009-11-06 | 6 | -14/+18 | |
| | | | | | | | DeferenceChecker and friends so that they always report the same bug type. llvm-svn: 86208 | |||||
| * | This patch implements Sema for clause 13.3.3.1p4. | Fariborz Jahanian | 2009-11-06 | 4 | -11/+30 | |
| | | | | | | | | It has to do with vararg constructors used as conversion functions. Code gen needs work. This is WIP. llvm-svn: 86207 | |||||

