Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move test/Index input files into a sub directory (not scanned as tests). | Daniel Dunbar | 2009-11-08 | 14 | -51/+40 |
| | | | | llvm-svn: 86431 | ||||
* | Eliminate &&s in tests. | Daniel Dunbar | 2009-11-08 | 416 | -1591/+1591 |
| | | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430 | ||||
* | Rework site config for cmake to be generated at configure time, and only pass | Daniel Dunbar | 2009-11-07 | 2 | -30/+26 |
| | | | | | | | | | the 'build_config' value in at runtime using the new lit runtime user parameter feature. This simplifies things and drops a dependency on 'sed', FWIW. llvm-svn: 86421 | ||||
* | Tweak a FIXME. | Daniel Dunbar | 2009-11-07 | 1 | -2/+3 |
| | | | | llvm-svn: 86420 | ||||
* | Handle member expressions where the member declaration is actually a static ↵ | Anders Carlsson | 2009-11-07 | 1 | -0/+19 |
| | | | | | | variable. Fixes PR5392. llvm-svn: 86414 | ||||
* | commit test update | Chris Lattner | 2009-11-07 | 1 | -3/+3 |
| | | | | llvm-svn: 86396 | ||||
* | Cope with calls to operator() templates. Fixes PR5419. | Douglas Gregor | 2009-11-07 | 1 | -0/+11 |
| | | | | llvm-svn: 86387 | ||||
* | Support -Wshorten-64-to-32 for integer types only, which seems to satisfy the | John McCall | 2009-11-07 | 1 | -0/+5 |
| | | | | | | core requirements. Fixes rdar://problem/6389954 llvm-svn: 86364 | ||||
* | Add bug number. | Anders Carlsson | 2009-11-07 | 1 | -2/+2 |
| | | | | llvm-svn: 86357 | ||||
* | Improve -Wconversion by permitting binary operations on values of the target | John McCall | 2009-11-07 | 1 | -0/+5 |
| | | | | | | type (or smaller) to stay "closed" within the type. llvm-svn: 86356 | ||||
* | Don't treat variables with non-trivial ctors or dtors as unused. Fixes PR5407. | Anders Carlsson | 2009-11-07 | 1 | -0/+8 |
| | | | | llvm-svn: 86352 | ||||
* | Always mangle functions with special names. Fixes PR5420. | Anders Carlsson | 2009-11-07 | 1 | -0/+7 |
| | | | | llvm-svn: 86350 | ||||
* | When instantiating a field decl, make sure to clone its attributes. With ↵ | Anders Carlsson | 2009-11-07 | 1 | -0/+7 |
| | | | | | | this change FileCheck no longer crashes when it's run without any arguments. llvm-svn: 86344 | ||||
* | When looking up and adding substitutions to the substitution table, make ↵ | Anders Carlsson | 2009-11-07 | 1 | -0/+8 |
| | | | | | | sure to always use the canonical declaration. With tihs change, FileCheck compiles and links but crashes during startup. llvm-svn: 86339 | ||||
* | Test case for -Wconversion. | John McCall | 2009-11-07 | 1 | -0/+226 |
| | | | | llvm-svn: 86327 | ||||
* | Implement -Wconversion. Off by default, in the non-gcc group. There's | John McCall | 2009-11-07 | 1 | -1/+1 |
| | | | | | | significant work left to be done to reduce the false-positive rate here. llvm-svn: 86326 | ||||
* | Add basic code completion support for ObjC messages. | Steve Naroff | 2009-11-07 | 1 | -0/+35 |
| | | | | | | Still a work in progress... llvm-svn: 86323 | ||||
* | MIPS linkage name confuses gdb here. Generate and test DW_AT_name here. | Devang Patel | 2009-11-07 | 1 | -1/+1 |
| | | | | llvm-svn: 86318 | ||||
* | Make sure isCopyAssignment is only true for actual copy assignment operators, | Eli Friedman | 2009-11-07 | 1 | -0/+9 |
| | | | | | | | | instead of all assignment operators. The mistake messes up IRGen because it ends up assuming that the assignment operator is actually the implicit copy assignment operator, and therefore tries to emit the RHS as an lvalue. llvm-svn: 86307 | ||||
* | Various improvements to Clang's code-completion infrastructure: | Douglas Gregor | 2009-11-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | - Introduce more code-completion string "chunk" kinds that describe symbols, the actual text that the user is expected to type, etc. - Make the generation of macro results optional, since it can be slow - Make code-completion accessible through the C API, marshalling the code-completion results through a temporary file (ick) to maintain process separation. The last doesn't have tests yet. llvm-svn: 86306 | ||||
* | Refine the non-virtual this adjustment. Optimize out virtual this | Mike Stump | 2009-11-06 | 1 | -12/+12 |
| | | | | | | adjustments of zero. llvm-svn: 86300 | ||||
* | Since default writable attribute is 'assign', allow | Fariborz Jahanian | 2009-11-06 | 1 | -0/+2 |
| | | | | | | | | | | specification of 'assign' (no warning to be issued), when a continuation class makes a 'readonly' attribute 'readwrite' but also specifies the 'assign' attribute. (this matches gcc's behavior and prevents exessive warnings)/ llvm-svn: 86297 | ||||
* | Make fragile-abi test run happy. | Fariborz Jahanian | 2009-11-06 | 1 | -1/+1 |
| | | | | llvm-svn: 86293 | ||||
* | Fix a bogus objective-c warning with -pedantic. | Fariborz Jahanian | 2009-11-06 | 1 | -0/+18 |
| | | | | | | (radar 7370882). llvm-svn: 86291 | ||||
* | Prevent a code gen. crash on empty unions - pr5408. | Fariborz Jahanian | 2009-11-06 | 1 | -0/+10 |
| | | | | llvm-svn: 86287 | ||||
* | testing: Merge PR3135.c into misc-ps-region-store.m. | Ted Kremenek | 2009-11-06 | 2 | -20/+16 |
| | | | | llvm-svn: 86286 | ||||
* | Sentence-case bug type, and pull tests from region-only-test.c into ↵ | Ted Kremenek | 2009-11-06 | 2 | -20/+23 |
| | | | | | | misc-ps-region.store.m (removing an extra unneeded test file). Also add a bunch of FIXME comments for future enhancements. llvm-svn: 86282 | ||||
* | Simplify the debug info code, handle lvalue references and template ↵ | Anders Carlsson | 2009-11-06 | 1 | -0/+2 |
| | | | | | | specializations. llvm-svn: 86277 | ||||
* | This patch fixes code gen. part of pr5333 (Conversion | Fariborz Jahanian | 2009-11-06 | 1 | -0/+24 |
| | | | | | | using elipsis conversion). llvm-svn: 86276 | ||||
* | Handle QualifiedNameType and SubstTemplateTypeParmType types in ↵ | Anders Carlsson | 2009-11-06 | 1 | -0/+6 |
| | | | | | | 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 | ||||
* | Add a checker for CWE-466: Return of Pointer Value Outside of Expected Range. | Zhongxing Xu | 2009-11-06 | 1 | -0/+7 |
| | | | | llvm-svn: 86252 | ||||
* | compare.c also needs a target triple now, and improve some comments while we're | John McCall | 2009-11-06 | 1 | -1/+1 |
| | | | | | | at it. llvm-svn: 86243 | ||||
* | Improve the -Wsign-compare heuristics: | John McCall | 2009-11-06 | 2 | -29/+380 |
| | | | | | | | | | | | | | * 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 | ||||
* | Rework the fix-it hint for code like | Douglas Gregor | 2009-11-06 | 2 | -2/+11 |
| | | | | | | | | | | | 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 | ||||
* | Improve recovery when we fail to parse the operand of a C++ named cast. ↵ | Douglas Gregor | 2009-11-06 | 1 | -0/+11 |
| | | | | | | Fixes PR5210 llvm-svn: 86234 | ||||
* | Turn off -Wsign-compare warnings by default | Douglas Gregor | 2009-11-06 | 4 | -4/+4 |
| | | | | llvm-svn: 86233 | ||||
* | If a member variable of reference type is bound to a temporary in its member ↵ | Anders Carlsson | 2009-11-06 | 1 | -0/+17 |
| | | | | | | initializer it needs to be destroyed at the end of the constructor. llvm-svn: 86230 | ||||
* | If a member initializer create temporaries we need to destroy them. Fixes ↵ | Anders Carlsson | 2009-11-06 | 1 | -0/+33 |
| | | | | | | PR5077. llvm-svn: 86225 | ||||
* | Handle ParenExprs in mangleExpression. | Anders Carlsson | 2009-11-06 | 1 | -0/+6 |
| | | | | llvm-svn: 86218 | ||||
* | Refine the vcall for a function that is defined in a virtual base | Mike Stump | 2009-11-06 | 1 | -1/+31 |
| | | | | | | class that is overridden in a base that isn't morally virtual. llvm-svn: 86217 | ||||
* | If we have a C-style cast, functional cast, or a static_cast to a | Douglas Gregor | 2009-11-06 | 1 | -0/+14 |
| | | | | | | | | | | 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 | 1 | -0/+13 |
| | | | | | | | implicit conversion sequence, check the validity of this conversion and then perform it. llvm-svn: 86210 | ||||
* | Convert file over to checking the .ll file for codegen. Also, we | Mike Stump | 2009-11-06 | 1 | -450/+63 |
| | | | | | | speed up this file by not doing twice the checking. llvm-svn: 86205 | ||||
* | Make sure that EnumConstantDecls always get a type, even when they have ↵ | Douglas Gregor | 2009-11-06 | 1 | -0/+16 |
| | | | | | | type-dependent initializers. llvm-svn: 86197 | ||||
* | clean up integer preprocessor type definitions, patch by Ken Dyck! | Chris Lattner | 2009-11-05 | 1 | -4/+4 |
| | | | | llvm-svn: 86177 | ||||
* | Make ASTContext::getIntWidth return 1 for all boolean type variations, not ↵ | Sebastian Redl | 2009-11-05 | 1 | -0/+5 |
| | | | | | | just for the unqualified, unaliased bool. llvm-svn: 86174 | ||||
* | Be a little more careful when trying to extract a TypeDecl from a ↵ | Douglas Gregor | 2009-11-05 | 1 | -0/+2 |
| | | | | | | enum/class/struct/union specifier; in invalid code, we may also see ClassTemplateDecls. llvm-svn: 86171 | ||||
* | Adding -fshort-wchar option. | John Thompson | 2009-11-05 | 2 | -7/+16 |
| | | | | llvm-svn: 86167 | ||||
* | De-FIXME a test | Douglas Gregor | 2009-11-05 | 1 | -5/+1 |
| | | | | llvm-svn: 86166 |