| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add a couple more paths to the LLVM-Code-Syntax test | Douglas Gregor | 2009-12-17 | 1 | -0/+6 |
| | | | | | llvm-svn: 91627 | ||||
| * | Tweak formatting and comments. | Ted Kremenek | 2009-12-17 | 1 | -6/+4 |
| | | | | | llvm-svn: 91615 | ||||
| * | Convert GRExprEngine::VisitCallExpr() to use a worklist instead of recursion ↵ | Ted Kremenek | 2009-12-17 | 2 | -49/+64 |
| | | | | | | | to evaluate the arguments of a CallExpr. This simplifies the logic and makes it easier to read. (it also avoids any issues with blowing out the stack if the CallExpr had a ridiculous number of arguments) llvm-svn: 91613 | ||||
| * | Reduce nesting by using early exits. No functionality change. | Ted Kremenek | 2009-12-17 | 1 | -35/+46 |
| | | | | | llvm-svn: 91610 | ||||
| * | implement PR3962: diagnose more faulty cases of usage of the restrict ↵ | Nuno Lopes | 2009-12-17 | 3 | -1/+12 |
| | | | | | | | qualifier. this also removes a FIXME llvm-svn: 91601 | ||||
| * | revert part of my last patch, and mark only the c++ global new operator as ↵ | Nuno Lopes | 2009-12-17 | 3 | -14/+4 |
| | | | | | | | noalias. the rest will be infered by llvm optz llvm-svn: 91600 | ||||
| * | document -fno-assume-sane-operator-new, per Chris request. | Nuno Lopes | 2009-12-17 | 1 | -0/+6 |
| | | | | | | | please review for English grammar mistakes llvm-svn: 91599 | ||||
| * | Include <time.h> in order to use 'time_t'. | Chandler Carruth | 2009-12-17 | 1 | -0/+1 |
| | | | | | llvm-svn: 91597 | ||||
| * | Test for errors during fread() inside c-index-test and handle them | Chandler Carruth | 2009-12-17 | 1 | -1/+9 |
| | | | | | | | appropriately. This also silences some pedantic GCC warnings. llvm-svn: 91596 | ||||
| * | Sort switch statement. No functionality change. | Ted Kremenek | 2009-12-17 | 1 | -15/+15 |
| | | | | | llvm-svn: 91591 | ||||
| * | Rename GetAddrOfRTTI to GetAddrOfRTTIDescriptor. Remove the overload that ↵ | Anders Carlsson | 2009-12-17 | 5 | -81/+69 |
| | | | | | | | takes a CXXRecordDecl since we were just creating a QualType from it anyway. llvm-svn: 91590 | ||||
| * | Ensure we run cleanups for CXXTemporaries on the exceptional edge. WIP. | Mike Stump | 2009-12-17 | 2 | -1/+48 |
| | | | | | llvm-svn: 91588 | ||||
| * | reimplement r90860, fixing a couple of problems: | Chris Lattner | 2009-12-17 | 2 | -10/+24 |
| | | | | | | | | | | 1. Don't make a copy of LangOptions every time a lexer is created. 2. Don't make CharInfo global mutable state. 3. Fix the implementation to properly treat ^Z as EOF instead of as horizontal whitespace, which matches the semantic implemented by VC++. llvm-svn: 91586 | ||||
| * | Simplify RTTIBuilder::finish. | Anders Carlsson | 2009-12-17 | 1 | -11/+9 |
| | | | | | llvm-svn: 91585 | ||||
| * | Move the Info vector into the RTTIBuilder struct. No functionality change. | Anders Carlsson | 2009-12-17 | 1 | -18/+19 |
| | | | | | llvm-svn: 91583 | ||||
| * | Attempt to fix rtti-layout.cpp on Linux. | Anders Carlsson | 2009-12-17 | 1 | -1/+1 |
| | | | | | llvm-svn: 91581 | ||||
| * | Add a (currently failing) RTTI layout test. | Anders Carlsson | 2009-12-17 | 1 | -0/+47 |
| | | | | | llvm-svn: 91580 | ||||
| * | Add failing test case for C++ static analysis. | Ted Kremenek | 2009-12-17 | 1 | -0/+9 |
| | | | | | llvm-svn: 91578 | ||||
| * | Fix check in GRExprEngine for the 'main' function to handle NULL ↵ | Ted Kremenek | 2009-12-17 | 1 | -16/+17 |
| | | | | | | | IdentifierInfo*'s. llvm-svn: 91577 | ||||
| * | Diagnose duplicate declaration of a property. Fixes | Fariborz Jahanian | 2009-12-17 | 3 | -1/+19 |
| | | | | | | | PR5809 llvm-svn: 91575 | ||||
| * | Fix for PR5801: codegen memcpy, memmove, memset directly to LLVM intrinsics. | Eli Friedman | 2009-12-17 | 1 | -0/+3 |
| | | | | | llvm-svn: 91573 | ||||
| * | Completely remove ObjCObjectRegion (tests pass this time). | Ted Kremenek | 2009-12-16 | 5 | -53/+9 |
| | | | | | llvm-svn: 91572 | ||||
| * | Allow pointer convesion of an objective-c pointer to | Fariborz Jahanian | 2009-12-16 | 2 | -2/+54 |
| | | | | | | | 'void *' to mimic gcc's behavior. (fixes radar 7477351). llvm-svn: 91570 | ||||
| * | Fix test. | Eli Friedman | 2009-12-16 | 1 | -10/+1 |
| | | | | | llvm-svn: 91566 | ||||
| * | Make sure C-specific enum warning doesn't trigger in C++. | Eli Friedman | 2009-12-16 | 2 | -12/+12 |
| | | | | | llvm-svn: 91563 | ||||
| * | Fix -fdollars-in-identifiers Clang translation. | Daniel Dunbar | 2009-12-16 | 3 | -7/+8 |
| | | | | | llvm-svn: 91562 | ||||
| * | Correctly calcluate abstract-ness in the case where an implicitly declared | Eli Friedman | 2009-12-16 | 2 | -3/+20 |
| | | | | | | | method overrides a pure virtual method. llvm-svn: 91558 | ||||
| * | Temporarily revert 91553. | Ted Kremenek | 2009-12-16 | 1 | -5/+9 |
| | | | | | llvm-svn: 91557 | ||||
| * | Remove use of ObjCObjectRegion from BasicStoreManager. | Ted Kremenek | 2009-12-16 | 1 | -9/+5 |
| | | | | | llvm-svn: 91553 | ||||
| * | Fix test case to unbreak testing | Douglas Gregor | 2009-12-16 | 1 | -2/+2 |
| | | | | | llvm-svn: 91551 | ||||
| * | When value-initializing a class with no user-defined constructors but | Douglas Gregor | 2009-12-16 | 11 | -37/+112 |
| | | | | | | | | with a non-trivial default constructor, zero-initialize the storage and then call the default constructor. Fixes PR5800. llvm-svn: 91548 | ||||
| * | Compute the right extension for preprocessed Objective-C++ files. | Ted Kremenek | 2009-12-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 91547 | ||||
| * | Diagnose property of reference type as unsupported | Fariborz Jahanian | 2009-12-16 | 3 | -6/+9 |
| | | | | | | | instead of crashing for now. llvm-svn: 91546 | ||||
| * | Baby steps towards fixing PR5589. If a class needs a vtable pointer, add one. | Anders Carlsson | 2009-12-16 | 4 | -6/+31 |
| | | | | | llvm-svn: 91545 | ||||
| * | implement PR5654: add -fassume-sane-operator-new, which is enabled by ↵ | Nuno Lopes | 2009-12-16 | 11 | -7/+56 |
| | | | | | | | | | default, and adds the malloc attribute to the global function new() and to the overloaded new operators. feel free to chage the name to this lengthy argument llvm-svn: 91543 | ||||
| * | In Sema::CheckInitializerTypes, replace a use of CheckReferenceInit with an ↵ | Douglas Gregor | 2009-12-16 | 4 | -8/+14 |
| | | | | | | | InitializationSequence llvm-svn: 91542 | ||||
| * | Update C++ status page to reflect reality | Douglas Gregor | 2009-12-16 | 1 | -58/+58 |
| | | | | | llvm-svn: 91541 | ||||
| * | fix PR5689: add support for 'o' and 'V' asm input operands | Nuno Lopes | 2009-12-16 | 1 | -0/+2 |
| | | | | | llvm-svn: 91540 | ||||
| * | fix build | Nuno Lopes | 2009-12-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 91539 | ||||
| * | Shift things around so that it's easier to recover from a missing | John McCall | 2009-12-16 | 6 | -264/+197 |
| | | | | | | | | | | function in a C++ call using an arbitrary call-expression type. Actually exploit this to fix the recovery implemented earlier. The diagnostic is still iffy, though. llvm-svn: 91538 | ||||
| * | Fix pretty stack traces. | Daniel Dunbar | 2009-12-16 | 1 | -2/+0 |
| | | | | | llvm-svn: 91537 | ||||
| * | Add a new kind of region: CXXObjectRegion. Currently it has only one | Zhongxing Xu | 2009-12-16 | 7 | -25/+102 |
| | | | | | | | | | attribute: the object type. Add initial support for visiting CXXThisExpr. Fix a bunch of 80-col violations. llvm-svn: 91535 | ||||
| * | Introduce a centralized routine in Sema for diagnosing failed lookups (when | John McCall | 2009-12-16 | 15 | -25/+148 |
| | | | | | | | | | | used as expressions). In dependent contexts, try to recover by doing a lookup in previously-dependent base classes. We get better diagnostics out, but unfortunately the recovery fails: we need to turn it into a method call expression, not a bare call expression. Thus this is still a WIP. llvm-svn: 91525 | ||||
| * | Use GetAddrOfRTTI everywhere and remove GenerateRTTI and GenerateRTTIRef. ↵ | Anders Carlsson | 2009-12-16 | 5 | -39/+9 |
| | | | | | | | With this change, we can now compile and link TableGen. llvm-svn: 91520 | ||||
| * | Handle ImplicitValueInitExpr in AggExprEmitter. | Anders Carlsson | 2009-12-16 | 2 | -2/+14 |
| | | | | | llvm-svn: 91519 | ||||
| * | remove dead code. | Zhongxing Xu | 2009-12-16 | 1 | -3/+0 |
| | | | | | llvm-svn: 91517 | ||||
| * | Eliminate Sema::CheckValueInitialization; its callers now use | Douglas Gregor | 2009-12-16 | 3 | -110/+181 |
| | | | | | | | | | | | | | | | InitializationSequence to perform the actual initialization. Also, introduced the notion of a tree of initialized entities, so that we can know where an initialization began when dealing with nested initializations (as occur when performing list initialization). This will, eventually, be useful for producing better diagnostics when list initialization fails, because we can show the path from the top-level object being initialized down to the actual subobject where initialization failed. llvm-svn: 91516 | ||||
| * | Add abort() as a builtin. This has two effects: one, we warn for incorrect | Eli Friedman | 2009-12-16 | 5 | -0/+6 |
| | | | | | | | | | declarations of abort(), and two, we mark it noreturn. Missing the latter shows up in one of the "embarassing" tests (from the thread on llvmdev "detailed comparison of generated code size for LLVM and other compilers"). llvm-svn: 91515 | ||||
| * | More FullExpr work. | Anders Carlsson | 2009-12-16 | 1 | -45/+53 |
| | | | | | llvm-svn: 91514 | ||||
| * | More work on the FullExpr class. | Anders Carlsson | 2009-12-16 | 3 | -23/+69 |
| | | | | | llvm-svn: 91513 | ||||

