Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When checking the namespace of a redeclaration or definition, look through ↵ | Sebastian Redl | 2009-11-08 | 1 | -11/+16 |
| | | | | | | linkage specs. Fixes PR5430. llvm-svn: 86461 | ||||
* | Don't reprocess non-dependent initializers of non-dependent VarDecls. Fixes ↵ | Sebastian Redl | 2009-11-08 | 1 | -0/+9 |
| | | | | | | PR5426. llvm-svn: 86460 | ||||
* | Fix for FreeBSD toolchain in regards to CPP, Credit to Roman Divacky. | Edward O'Callaghan | 2009-11-08 | 1 | -0/+4 |
| | | | | llvm-svn: 86459 | ||||
* | Add clarifying parens. | Daniel Dunbar | 2009-11-08 | 1 | -1/+1 |
| | | | | llvm-svn: 86457 | ||||
* | Test commit - minor terminology change to my recent patch suggested by John ↵ | Alexis Hunt | 2009-11-08 | 2 | -6/+6 |
| | | | | | | McCall llvm-svn: 86442 | ||||
* | Always make sure we're using an unqualified type when building a | Douglas Gregor | 2009-11-08 | 1 | -2/+2 |
| | | | | | | constructor name. Fixes PR5418. llvm-svn: 86441 | ||||
* | Handle member expressions where the member declaration is actually a static ↵ | Anders Carlsson | 2009-11-07 | 1 | -0/+3 |
| | | | | | | variable. Fixes PR5392. llvm-svn: 86414 | ||||
* | More LValue related code cleanup. | Anders Carlsson | 2009-11-07 | 1 | -18/+27 |
| | | | | llvm-svn: 86413 | ||||
* | More cleanup, the code is much easier to follow now. | Anders Carlsson | 2009-11-07 | 1 | -24/+11 |
| | | | | llvm-svn: 86412 | ||||
* | Reduce nesting, no functionality change. | Anders Carlsson | 2009-11-07 | 1 | -18/+20 |
| | | | | llvm-svn: 86411 | ||||
* | We only need to call SetObjCNonGC for local variables. No functionality change. | Anders Carlsson | 2009-11-07 | 1 | -3/+3 |
| | | | | llvm-svn: 86410 | ||||
* | Change EmitPointerToDataMemberLValue to take a FieldDecl. No intended ↵ | Anders Carlsson | 2009-11-07 | 2 | -5/+5 |
| | | | | | | functionality change. llvm-svn: 86407 | ||||
* | Patch to gives an error that at least points users in the direction of the ↵ | Fariborz Jahanian | 2009-11-07 | 2 | -0/+27 |
| | | | | | | | | error, rather than an error about incompatible types. Patch by Sean Hunt. llvm-svn: 86402 | ||||
* | teach the various targets what native integer types they have. | Chris Lattner | 2009-11-07 | 2 | -18/+19 |
| | | | | llvm-svn: 86395 | ||||
* | Cope with calls to operator() templates. Fixes PR5419. | Douglas Gregor | 2009-11-07 | 1 | -1/+9 |
| | | | | llvm-svn: 86387 | ||||
* | add missing #include | Chris Lattner | 2009-11-07 | 1 | -0/+1 |
| | | | | llvm-svn: 86368 | ||||
* | Support -Wshorten-64-to-32 for integer types only, which seems to satisfy the | John McCall | 2009-11-07 | 1 | -0/+4 |
| | | | | | | core requirements. Fixes rdar://problem/6389954 llvm-svn: 86364 | ||||
* | Improve -Wconversion by permitting binary operations on values of the target | John McCall | 2009-11-07 | 1 | -42/+129 |
| | | | | | | 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 | -2/+16 |
| | | | | llvm-svn: 86352 | ||||
* | Cleanup, no functionality change. | Anders Carlsson | 2009-11-07 | 1 | -4/+8 |
| | | | | llvm-svn: 86351 | ||||
* | Always mangle functions with special names. Fixes PR5420. | Anders Carlsson | 2009-11-07 | 1 | -3/+5 |
| | | | | llvm-svn: 86350 | ||||
* | When instantiating a field decl, make sure to clone its attributes. With ↵ | Anders Carlsson | 2009-11-07 | 1 | -0/+16 |
| | | | | | | this change FileCheck no longer crashes when it's run without any arguments. llvm-svn: 86344 | ||||
* | Use SaveAndRestore to simplify logic in LiveVariables::runOnAllBlocks(). ↵ | Ted Kremenek | 2009-11-07 | 1 | -3/+3 |
| | | | | | | Patch by Kovarththanan Rajaratnam! llvm-svn: 86343 | ||||
* | Switch clang-cc to use ApplyHeaderSearchOptions, and fix a thinko. | Daniel Dunbar | 2009-11-07 | 1 | -1/+1 |
| | | | | llvm-svn: 86341 | ||||
* | When looking up and adding substitutions to the substitution table, make ↵ | Anders Carlsson | 2009-11-07 | 1 | -0/+3 |
| | | | | | | sure to always use the canonical declaration. With tihs change, FileCheck compiles and links but crashes during startup. llvm-svn: 86339 | ||||
* | Add HeaderSearchOptions class, for packaging the information needed to | Daniel Dunbar | 2009-11-07 | 1 | -1/+31 |
| | | | | | | initialize HeaderSearch. Not used yet. llvm-svn: 86338 | ||||
* | Lift InitHeaderSearch::AddEnvVarPaths logic higher. | Daniel Dunbar | 2009-11-07 | 1 | -25/+9 |
| | | | | llvm-svn: 86337 | ||||
* | Formatting fixes. | Daniel Dunbar | 2009-11-07 | 1 | -4/+4 |
| | | | | llvm-svn: 86336 | ||||
* | Rename PreprocessorInitOptions to PreprocessorOptions for consistency, and fix | Daniel Dunbar | 2009-11-07 | 1 | -5/+6 |
| | | | | | | | | filenames. Also, move InitializePreprocessor to Utils.h. llvm-svn: 86335 | ||||
* | Remove Checker::CheckType() (and instead using ↵ | Ted Kremenek | 2009-11-07 | 2 | -115/+70 |
| | | | | | | CheckerVisitor::PreVisitDeclStmt()), and refactor VLASizeChecker to have only one Checker subclass (not two) and to not use the node builders directly (and instead use the newer CheckerContext). llvm-svn: 86329 | ||||
* | Implement -Wconversion. Off by default, in the non-gcc group. There's | John McCall | 2009-11-07 | 2 | -8/+226 |
| | | | | | | 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 | 3 | -0/+120 |
| | | | | | | Still a work in progress... llvm-svn: 86323 | ||||
* | Revert r86315 and add Type::FixedWidthInt to the FIXME cases. | Anders Carlsson | 2009-11-07 | 1 | -0/+2 |
| | | | | llvm-svn: 86320 | ||||
* | Do not assert if debug info for certain type is not generated. | Devang Patel | 2009-11-07 | 1 | -1/+0 |
| | | | | llvm-svn: 86315 | ||||
* | Do not emit linkage name for global variables. It confuses gdb, because it ↵ | Devang Patel | 2009-11-07 | 1 | -1/+3 |
| | | | | | | picks up AT_MIPS_linkage_name and ignores AT_name. llvm-svn: 86308 | ||||
* | Make sure isCopyAssignment is only true for actual copy assignment operators, | Eli Friedman | 2009-11-07 | 2 | -1/+3 |
| | | | | | | | | 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 | 2 | -53/+533 |
| | | | | | | | | | | | | | | - 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 | -43/+57 |
| | | | | | | adjustments of zero. llvm-svn: 86300 | ||||
* | Since default writable attribute is 'assign', allow | Fariborz Jahanian | 2009-11-06 | 1 | -2/+1 |
| | | | | | | | | | | 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 the VLASizeChecker implementation private, and its creation only known ↵ | Ted Kremenek | 2009-11-06 | 3 | -11/+38 |
| | | | | | | to GRExprEngineInternalChecks.cpp. llvm-svn: 86292 | ||||
* | Fix a bogus objective-c warning with -pedantic. | Fariborz Jahanian | 2009-11-06 | 1 | -0/+2 |
| | | | | | | (radar 7370882). llvm-svn: 86291 | ||||
* | Make the implementation of DivZeroChecker private. | Ted Kremenek | 2009-11-06 | 3 | -9/+27 |
| | | | | llvm-svn: 86288 | ||||
* | Prevent a code gen. crash on empty unions - pr5408. | Fariborz Jahanian | 2009-11-06 | 1 | -1/+5 |
| | | | | llvm-svn: 86287 | ||||
* | Sentence-case bug type, and pull tests from region-only-test.c into ↵ | Ted Kremenek | 2009-11-06 | 1 | -5/+14 |
| | | | | | | 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 | 2 | -13/+35 |
| | | | | | | specializations. llvm-svn: 86277 | ||||
* | This patch fixes code gen. part of pr5333 (Conversion | Fariborz Jahanian | 2009-11-06 | 1 | -1/+3 |
| | | | | | | using elipsis conversion). llvm-svn: 86276 | ||||
* | Handle QualifiedNameType and SubstTemplateTypeParmType types in ↵ | Anders Carlsson | 2009-11-06 | 1 | -0/+11 |
| | | | | | | CGDebugInfo::CreateTypeNode. llvm-svn: 86274 | ||||
* | 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 | ||||
* | Don't warn -Wsign-compare if we're in an unevaluated context, and fixed | John McCall | 2009-11-06 | 1 | -0/+4 |
| | | | | | | a typo pointed out by Fariborz. llvm-svn: 86265 | ||||
* | update comment, pointed out by Gabor | Chris Lattner | 2009-11-06 | 1 | -3/+1 |
| | | | | llvm-svn: 86263 |