| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | The Sema object will get destroyed before all of the others anyway. We don't ↵ | Douglas Gregor | 2010-08-13 | 1 | -1/+0 |
| | | | | | | | need to force it llvm-svn: 110993 | ||||
| * | Instead of modifying the ObjC AST to not modify existing declarations, teach ↵ | Sebastian Redl | 2010-08-13 | 11 | -29/+139 |
| | | | | | | | chained PCH to overwrite declarations from earlier PCH files in dependent ones. Tell Sema to note when it changes AST nodes so that they have to be reserialized. Finally, the ObjCProtocolDecls created in forward decls, like the ObjCInterfaceDecls in @class forward decls, are not lexically part of the decl context; only the definition is. llvm-svn: 110989 | ||||
| * | Make use of __func__ in a block actually refer to | Fariborz Jahanian | 2010-08-13 | 2 | -6/+18 |
| | | | | | | | block's helper function. Fixes radar 7860965. llvm-svn: 110988 | ||||
| * | Just disable the hidden-visibility optimization for now by hiding it behind | John McCall | 2010-08-12 | 15 | -30/+61 |
| | | | | | | | | | a -cc1 option. The Darwin linker complains about mixed visibility when linking gcc-built objects with clang-built objects, and the optimization isn't really that valuable. Platforms with less ornery linkers can feel free to enable this. llvm-svn: 110979 | ||||
| * | Teach CompilerInstance to create and hold on to the Sema object used | Douglas Gregor | 2010-08-12 | 3 | -6/+48 |
| | | | | | | | | for parsing, so that it can persist beyond the lifetime of the parsing call. llvm-svn: 110978 | ||||
| * | Small changes to UnreachableCodeChecker | Tom Care | 2010-08-12 | 1 | -3/+20 |
| | | | | | | | | - Added detection of Empty CFGBlocks (artificial blocks) - Relaxed an assertion based on an incorrect assumption until further investigation llvm-svn: 110974 | ||||
| * | Add a ParseAST overload that takes a Sema object, so that the caller | Douglas Gregor | 2010-08-12 | 4 | -40/+62 |
| | | | | | | | | | | can create (and hold on to) the Sema object. Also, move Sema-related initialization/finalization with its various consumers and external sources into the Sema constructor and destructor, rather than placing it in ParseAST. llvm-svn: 110973 | ||||
| * | Improved IdempotentOperationChecker false positives and false negatives. | Tom Care | 2010-08-12 | 8 | -134/+268 |
| | | | | | | | | | | - Unfinished analysis may still report valid warnings if the path was completely analyzed - New 'CanVary' heuristic to recursively determine if a subexpression has a varying element - Updated test cases, including one known bug - Exposed GRCoreEngine through GRExprEngine llvm-svn: 110970 | ||||
| * | Typo. | Fariborz Jahanian | 2010-08-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 110965 | ||||
| * | Patch to issue warning when colllection expresion's type | Fariborz Jahanian | 2010-08-12 | 4 | -2/+26 |
| | | | | | | | | does not implement 'countByEnumeratingWithState' API. Implements radar 7634669. llvm-svn: 110964 | ||||
| * | Implement -Wcast-align. The initial design of this diagnostic diverges | John McCall | 2010-08-12 | 8 | -1/+147 |
| | | | | | | | | | from GCC's in that we warn on *any* increase in alignment requirements, not just those that are enforced by hardware. Please let us know if this causes major problems for you (which it shouldn't, since it's an optional warning). llvm-svn: 110959 | ||||
| * | Fixing the build isn't good enough; back out r110956 and r110953. | John McCall | 2010-08-12 | 4 | -55/+41 |
| | | | | | llvm-svn: 110958 | ||||
| * | dgregor should write code that compiles. | John McCall | 2010-08-12 | 2 | -7/+9 |
| | | | | | llvm-svn: 110956 | ||||
| * | Update Xcode project | Douglas Gregor | 2010-08-12 | 1 | -76/+26 |
| | | | | | llvm-svn: 110953 | ||||
| * | Add a ParseAST overload that takes a Sema object, so that the caller | Douglas Gregor | 2010-08-12 | 4 | -37/+49 |
| | | | | | | | | | | can create (and hold on to) the Sema object. Also, move Sema-related initialization/finalization with its various consumers and external sources into the Sema constructor and destructor, rather than placing it in ParseAST. llvm-svn: 110952 | ||||
| * | Fixes block type matching bug. Radar 8302845. | Fariborz Jahanian | 2010-08-12 | 3 | -3/+20 |
| | | | | | llvm-svn: 110950 | ||||
| * | Move Sema's headers into include/clang/Sema, renaming a few along the way. | Douglas Gregor | 2010-08-12 | 42 | -76/+76 |
| | | | | | llvm-svn: 110945 | ||||
| * | Revert r110936; this fails on clang-i686-darwin10 too. | Dan Gohman | 2010-08-12 | 1 | -2/+3 |
| | | | | | llvm-svn: 110942 | ||||
| * | first test commit | Anton Yartsev | 2010-08-12 | 1 | -8/+8 |
| | | | | | llvm-svn: 110941 | ||||
| * | Downgrade error about nonnull attribute bbeing applied to a function ↵ | Douglas Gregor | 2010-08-12 | 3 | -2/+4 |
| | | | | | | | without point arguments to a warning llvm-svn: 110939 | ||||
| * | Make this test darwin only. | Devang Patel | 2010-08-12 | 1 | -3/+2 |
| | | | | | llvm-svn: 110936 | ||||
| * | Don't emit end-of-file diagnostics like "unterminated conditional" or | Douglas Gregor | 2010-08-12 | 4 | -8/+43 |
| | | | | | | | "unterminated string" when we're performing code completion. llvm-svn: 110933 | ||||
| * | Temporarily disable this failing test, until it can be properly | Dan Gohman | 2010-08-12 | 1 | -1/+2 |
| | | | | | | | investigated. llvm-svn: 110917 | ||||
| * | Add a comment. | Argyrios Kyrtzidis | 2010-08-12 | 1 | -1/+5 |
| | | | | | llvm-svn: 110913 | ||||
| * | Added locations and type source info for DeclarationName inside UsingDecl. | Abramo Bagnara | 2010-08-12 | 6 | -56/+75 |
| | | | | | llvm-svn: 110912 | ||||
| * | Remove OwnershipAttr::Kind, since it's essentially redundant with attr::Kind ↵ | Jordy Rose | 2010-08-12 | 4 | -81/+66 |
| | | | | | | | the way it's being used. Also fix isa<OwnershipAttr> support, break more-than-80-char lines, and other miscellaneous ownership attr cleanup. llvm-svn: 110908 | ||||
| * | Test for rdar://problem/8073696. | John McCall | 2010-08-12 | 1 | -0/+11 |
| | | | | | llvm-svn: 110907 | ||||
| * | Handle the obvious case for diagnosing redeclarations of extern "C" functions. | John McCall | 2010-08-12 | 2 | -0/+16 |
| | | | | | | | Fixes PR7859. llvm-svn: 110906 | ||||
| * | Actually use reduced set of checkers in EvalAssume. | Jordy Rose | 2010-08-12 | 1 | -2/+1 |
| | | | | | llvm-svn: 110904 | ||||
| * | Frontend: Move the bulk of the cc1_main() processing into | Daniel Dunbar | 2010-08-12 | 4 | -129/+166 |
| | | | | | | | ExecuteCompilerInvocation in libFrontend. llvm-svn: 110903 | ||||
| * | clang -cc1: Move real diagnostics client initialization to earlier. | Daniel Dunbar | 2010-08-12 | 1 | -13/+14 |
| | | | | | llvm-svn: 110902 | ||||
| * | Bail out of MaybeBindToTemporary if the record type is invalid. Test case | John McCall | 2010-08-12 | 1 | -1/+1 |
| | | | | | | | is 8.5MB, sorry. llvm-svn: 110901 | ||||
| * | Implement RTTI generation for Objective C types. Fixes PR7864. | John McCall | 2010-08-12 | 2 | -16/+125 |
| | | | | | llvm-svn: 110900 | ||||
| * | Fix a crash on invalid when declaring an implicit member of a class with an | John McCall | 2010-08-12 | 2 | -1/+21 |
| | | | | | | | invalid destructor. llvm-svn: 110891 | ||||
| * | Driver: Use the compile time linker version as the default for -mlinker-version, | Daniel Dunbar | 2010-08-12 | 2 | -1/+11 |
| | | | | | | | | | if detected. - This is a hack, we really want the linker version at execution time, but we don't have any infrastructure for getting that. Yet. llvm-svn: 110886 | ||||
| * | Emit debug info for static const class member. | Devang Patel | 2010-08-12 | 2 | -2/+37 |
| | | | | | llvm-svn: 110885 | ||||
| * | update test to reflect r110876 change. | Devang Patel | 2010-08-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 110884 | ||||
| * | Don't try to implicitly declare special members of an invalid class. | John McCall | 2010-08-11 | 1 | -0/+4 |
| | | | | | | | Fixes a crash in a rather large and difficult-to-reduce test case. llvm-svn: 110882 | ||||
| * | Fix a bug where child statements could not be identified as being in a ↵ | Tom Care | 2010-08-11 | 1 | -1/+1 |
| | | | | | | | CFGBlock in CFGStmtMap::getBlock. llvm-svn: 110881 | ||||
| * | Switch on PCH for C++. C++ fans all over the world rejoice. | Argyrios Kyrtzidis | 2010-08-11 | 2 | -18/+2 |
| | | | | | llvm-svn: 110879 | ||||
| * | Driver/Darwin: Pass -demangle when linking, if the linker supports it. | Daniel Dunbar | 2010-08-11 | 2 | -0/+39 |
| | | | | | llvm-svn: 110873 | ||||
| * | Driver: Add -mlinker-version=, which forwards to -target-linker-version. | Daniel Dunbar | 2010-08-11 | 2 | -0/+7 |
| | | | | | llvm-svn: 110872 | ||||
| * | Frontend: Add -target-linker-version, for specifying the version string of the | Daniel Dunbar | 2010-08-11 | 3 | -1/+11 |
| | | | | | | | linker in use. llvm-svn: 110871 | ||||
| * | Fix oversight with symbolic names in TargetInfo::validateInputConstraint. | Eli Friedman | 2010-08-11 | 1 | -0/+1 |
| | | | | | llvm-svn: 110870 | ||||
| * | -Make TokenID of IdentifierInfo read-only, remove setTokenID(). | Argyrios Kyrtzidis | 2010-08-11 | 7 | -10/+51 |
| | | | | | | | | | -There are 2 instances that change the TokenID for GNU libstdc++ 4.2 compatibility. To handler those cases introduce a RevertedTokenID bitfield, RevertTokenIDToIdentifier() and hasRevertedTokenIDToIdentifier() methods. Store the bitfield in PCH. llvm-svn: 110868 | ||||
| * | Revise r110163: don't mark weak functions nounwind, because the optimizer | John McCall | 2010-08-11 | 2 | -0/+11 |
| | | | | | | | treats that as a contract to be fulfilled by any replacements. llvm-svn: 110864 | ||||
| * | Added locations and type source info for DeclarationName. | Abramo Bagnara | 2010-08-11 | 31 | -454/+961 |
| | | | | | llvm-svn: 110860 | ||||
| * | Once code completion has completed, pass a "completion context" on to | Douglas Gregor | 2010-08-11 | 12 | -135/+331 |
| | | | | | | | | the code-completion consumer. The consumer can use this information to augument, filter, or display the code-completion results. llvm-svn: 110858 | ||||
| * | Change text of diagnostics on user request. | Fariborz Jahanian | 2010-08-11 | 2 | -4/+4 |
| | | | | | | | radar 7948654. llvm-svn: 110857 | ||||
| * | Emit a stop point for delegate constructor call. This gives user a chance to ↵ | Devang Patel | 2010-08-11 | 2 | -0/+16 |
| | | | | | | | step into constructor body. llvm-svn: 110853 | ||||

