| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fix refacto, gcc's cc1 needs to see --output-pch=, which is not just an alias | Daniel Dunbar | 2009-11-21 | 1 | -1/+1 | |
| | | | | | | | for -output-pch=. llvm-svn: 89534 | |||||
| * | Implement C++ [temp.param]p2 correctly, looking ahead when we see a | Douglas Gregor | 2009-11-21 | 1 | -5/+35 | |
| | | | | | | | | "typename" parameter to distinguish between non-type and type template parameters. Fixes the actual bug in PR5559. llvm-svn: 89532 | |||||
| * | Restructure DereferenceChecker slightly to handle caching out when we would ↵ | Ted Kremenek | 2009-11-21 | 1 | -19/+22 | |
| | | | | | | | report a null dereference more than once. llvm-svn: 89526 | |||||
| * | Pull BadCallChecker int UndefinedArgChecker, and have UndefinedArgChecker ↵ | Ted Kremenek | 2009-11-21 | 6 | -237/+191 | |
| | | | | | | | also handled undefined receivers in message expressions. llvm-svn: 89524 | |||||
| * | Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to ↵ | Edward O'Callaghan | 2009-11-21 | 2 | -0/+3 | |
| | | | | | | | Ken Dyck. llvm-svn: 89520 | |||||
| * | More checker refactoring. Passing undefined values in a message expression ↵ | Ted Kremenek | 2009-11-21 | 3 | -65/+34 | |
| | | | | | | | is now handled by UndefinedArgChecker. llvm-svn: 89519 | |||||
| * | Revised Win32 include path to search highest version in registry, plus ↵ | John Thompson | 2009-11-21 | 1 | -55/+109 | |
| | | | | | | | platform SDK path llvm-svn: 89517 | |||||
| * | Checkpoint current work. WIP. | Mike Stump | 2009-11-20 | 2 | -8/+126 | |
| | | | | | llvm-svn: 89513 | |||||
| * | Cope with extraneous "template" keyword when providing an out-of-line | Douglas Gregor | 2009-11-20 | 5 | -9/+15 | |
| | | | | | | | definition of a member template (or a member thereof). Fixes PR5566. llvm-svn: 89512 | |||||
| * | Driver: Add clang -cc1 dependency output options parsing. | Daniel Dunbar | 2009-11-20 | 1 | -3/+10 | |
| | | | | | llvm-svn: 89508 | |||||
| * | Switch CompilerInvocation::CreateFromArgs to take const char** arguments ↵ | Daniel Dunbar | 2009-11-20 | 1 | -11/+6 | |
| | | | | | | | until Driver itself switches to StringRef. llvm-svn: 89503 | |||||
| * | Fix refactoro, clang-cc wasn't properly reporting errors when opening an ↵ | Daniel Dunbar | 2009-11-20 | 1 | -5/+5 | |
| | | | | | | | output file failed. llvm-svn: 89502 | |||||
| * | Pass '-mcpu' 'FOO' instead of '-mcpu=FOO'. | Daniel Dunbar | 2009-11-20 | 2 | -3/+4 | |
| | | | | | llvm-svn: 89498 | |||||
| * | Standardize Driver translation to call clang-cc using '-foo' form instead of ↵ | Daniel Dunbar | 2009-11-20 | 1 | -16/+16 | |
| | | | | | | | '--foo'. llvm-svn: 89497 | |||||
| * | Implement C++ [basic.lookup.classref]p3, which states how the type | Douglas Gregor | 2009-11-20 | 4 | -26/+64 | |
| | | | | | | | | | | | | | name 'T' is looked up in the expression t.~T() Previously, we weren't looking into the type of "t", and therefore would fail when T actually referred to an injected-class-name. Fixes PR5530. llvm-svn: 89493 | |||||
| * | When checking the base object of a member access expression (b.foo, | Douglas Gregor | 2009-11-20 | 1 | -3/+3 | |
| | | | | | | | b->foo), don't look through pointers unless we have an -> operator. llvm-svn: 89480 | |||||
| * | Teach FixOverloadedFunctionReference to build new expression ASTs rather | Douglas Gregor | 2009-11-20 | 1 | -45/+112 | |
| | | | | | | | | than tweaking existing ASTs, since we were (*gasp*) stomping on ASTs within templates. I'm glad we found this little stick of TNT early... llvm-svn: 89475 | |||||
| * | Fix lifetime of conditional temporaries. Patch by Victor Zverovich! | Anders Carlsson | 2009-11-20 | 5 | -46/+31 | |
| | | | | | llvm-svn: 89467 | |||||
| * | Add clang -cc1 parsing of CodeGenOptions. | Daniel Dunbar | 2009-11-20 | 2 | -1/+64 | |
| | | | | | llvm-svn: 89464 | |||||
| * | Avoid unwanted expansion in macros that paste together INT<n>_C(v) and | Ken Dyck | 2009-11-20 | 1 | -3/+5 | |
| | | | | | | | UINT<n>_C(v) macros. llvm-svn: 89461 | |||||
| * | Avoid unwanted expansion in macros that paste together INT<n>_MIN, INT<n>_MAX, | Ken Dyck | 2009-11-20 | 1 | -13/+16 | |
| | | | | | | | and UINT<n>_MAX defintions. llvm-svn: 89460 | |||||
| * | Avoid unwanted macro expansion in macros that paste together int<n>_t and | Ken Dyck | 2009-11-20 | 1 | -4/+7 | |
| | | | | | | | uint<n>_t definitions. llvm-svn: 89459 | |||||
| * | Fixed crash when using undefined protocols (GNU runtime). | David Chisnall | 2009-11-20 | 1 | -2/+7 | |
| | | | | | llvm-svn: 89457 | |||||
| * | Fix typo GCC 4.3 warned about. | Benjamin Kramer | 2009-11-20 | 1 | -1/+1 | |
| | | | | | llvm-svn: 89453 | |||||
| * | Fix a couple minor memory leaks. | Eli Friedman | 2009-11-20 | 1 | -1/+7 | |
| | | | | | llvm-svn: 89450 | |||||
| * | Add simple static analyzer checker to check for sending 'release', 'retain', ↵ | Ted Kremenek | 2009-11-20 | 1 | -0/+61 | |
| | | | | | | | etc. directly to a class. Fixes <rdar://problem/7252064>. llvm-svn: 89449 | |||||
| * | Unused ivar checker: ivars referenced by lexically nested functions should ↵ | Ted Kremenek | 2009-11-20 | 1 | -1/+32 | |
| | | | | | | | not be flagged as unused. Fixes <rdar://problem/7254495>. llvm-svn: 89448 | |||||
| * | Revert r89437 and add a comment. | Zhongxing Xu | 2009-11-20 | 1 | -1/+2 | |
| | | | | | llvm-svn: 89446 | |||||
| * | Implement throw d, where d is a class type that requires copy | Mike Stump | 2009-11-20 | 1 | -2/+22 | |
| | | | | | | | construction. WIP. llvm-svn: 89442 | |||||
| * | Don't build an explicit conversion to a reference type | Douglas Gregor | 2009-11-20 | 1 | -2/+3 | |
| | | | | | llvm-svn: 89441 | |||||
| * | Handle throw d, where d is a class type but only has a trivial copy | Mike Stump | 2009-11-20 | 1 | -8/+9 | |
| | | | | | | | constructor. WIP. llvm-svn: 89438 | |||||
| * | It's unnecessary to check for unknown at this point. | Zhongxing Xu | 2009-11-20 | 1 | -2/+1 | |
| | | | | | llvm-svn: 89437 | |||||
| * | Driver: Add parsing for TargetOptions to CompilerInvocation::CreateFromArgs. | Daniel Dunbar | 2009-11-20 | 1 | -0/+54 | |
| | | | | | llvm-svn: 89435 | |||||
| * | When we have a non-dependent expression such as | Douglas Gregor | 2009-11-20 | 1 | -5/+0 | |
| | | | | | | | | | | | | | | | | | A::f that occurs within a non-static member function with a type-dependent "this", don't consider this to be a case for introduction of an implicit "(*this)." to refer to a specific member function unless we know (at template definition time) that A is a base class of *this. There is some disagreement here between GCC, EDG, and Clang about the handling of this case. I believe that Clang now has the correct, literal interpretation of the standard, but have asked for clarification (c++std-core-15483). llvm-svn: 89425 | |||||
| * | Add suport for throw;. WIP. | Mike Stump | 2009-11-20 | 1 | -4/+16 | |
| | | | | | llvm-svn: 89424 | |||||
| * | Fix rtti generation for throws. WIP. | Mike Stump | 2009-11-20 | 1 | -9/+1 | |
| | | | | | llvm-svn: 89420 | |||||
| * | Simplify rtti building code a little. Prep for reuse for throw rtti | Mike Stump | 2009-11-20 | 3 | -13/+11 | |
| | | | | | | | generation. llvm-svn: 89416 | |||||
| * | Fix null dereference in NSAutoreleasePoolChecker when analyzing messages ↵ | Ted Kremenek | 2009-11-20 | 1 | -0/+3 | |
| | | | | | | | sent to blocks. llvm-svn: 89413 | |||||
| * | Fixup key function calculations. | Mike Stump | 2009-11-20 | 2 | -7/+5 | |
| | | | | | llvm-svn: 89412 | |||||
| * | Deduce a ConstantArrayType from a value-dependent initializer list | Douglas Gregor | 2009-11-19 | 2 | -8/+35 | |
| | | | | | | | | rather than punting to a DependentSizedArrayType, tightening up our type checking for template definitions. Thanks, John! llvm-svn: 89407 | |||||
| * | Draw a brighter line between "unresolved" expressions, where we have done the | John McCall | 2009-11-19 | 8 | -36/+40 | |
| | | | | | | | | | appropriate lookup and simply can't resolve the referrent yet, and "dependent scope" expressions, where we can't do the lookup yet because the entity we need to look into is a dependent type. llvm-svn: 89402 | |||||
| * | Don't issue spurious diagnostic with Obj-C fast enumeration. | Fariborz Jahanian | 2009-11-19 | 3 | -0/+11 | |
| | | | | | | | (radar 7409165). llvm-svn: 89400 | |||||
| * | Fix some default in the option classes, and some CompilerInvocation argification | Daniel Dunbar | 2009-11-19 | 2 | -15/+22 | |
| | | | | | | | errors. llvm-svn: 89388 | |||||
| * | Fixup address point computations. WIP. | Mike Stump | 2009-11-19 | 1 | -18/+26 | |
| | | | | | llvm-svn: 89386 | |||||
| * | Fix crash when using --analyzer-store=region when handling initializers with ↵ | Ted Kremenek | 2009-11-19 | 1 | -11/+39 | |
| | | | | | | | nested arrays/structs whose values are not explicitly specified. Fixes <rdar://problem/7403269>. llvm-svn: 89384 | |||||
| * | Remove printf statement. | Ted Kremenek | 2009-11-19 | 1 | -2/+0 | |
| | | | | | llvm-svn: 89383 | |||||
| * | Only fetch the ASTContext object within the assertion. | Ted Kremenek | 2009-11-19 | 1 | -4/+2 | |
| | | | | | llvm-svn: 89375 | |||||
| * | Silence -Asserts warning. | Daniel Dunbar | 2009-11-19 | 1 | -0/+1 | |
| | | | | | llvm-svn: 89373 | |||||
| * | Driver: Move INPUT and UNKNOWN sentinel options into the OptParser.td file. | Daniel Dunbar | 2009-11-19 | 2 | -10/+0 | |
| | | | | | llvm-svn: 89371 | |||||
| * | Patch to implement new-operators with default args. | Fariborz Jahanian | 2009-11-19 | 1 | -3/+31 | |
| | | | | | | | Fixes pr5547. llvm-svn: 89370 | |||||

