| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Still use BadArg bugtype in the checker. This saves us implement ↵ | Zhongxing Xu | 2009-09-02 | 1 | -17/+8 |
| | | | | | | | | | | | | | | | registerInitialVisitors in the BugReport. When all internal bug checking logic are moved to checkers, BuiltinBug will not reference GRExprEngine, and FlushReports() will be not necessary, since all bugs are emitted into the equivalent classes immediately. For now just add a ctor with no arguments. llvm-svn: 80770 | ||||
| * | Replace uses of ImmutableSet in SymbolReaper with DenseSet. This was | Ted Kremenek | 2009-09-02 | 1 | -4/+4 |
| | | | | | | | | | | | | motivated from Shark profiles that shows that 'markLive' was very heavy when using --analyzer-store=region. On my benchmark file, this reduces the analysis time for --analyzer-store=region from 19.5s to 13.5s and for --analyzer-store=basic from 5.3s to 3.5s. For the benchmark file, this is a reduction of about 30% analysis time for both analysis modes (a huge win). llvm-svn: 80765 | ||||
| * | Implement: <rdar://problem/6337100> CWE-338: Use of cryptographically weak prng | Ted Kremenek | 2009-09-02 | 1 | -8/+105 |
| | | | | | | | Patch by Geoff Keating! llvm-svn: 80752 | ||||
| * | When adding a friend class declaration to the lookup tables, use the access ↵ | John McCall | 2009-09-02 | 1 | -0/+5 |
| | | | | | | | | | | | specifier of any previous declaration in case we replace it in a class's declaration table. Fixes bug 4858. This sort of thing makes me reconsider putting friend declarations in declaration lists. llvm-svn: 80750 | ||||
| * | Fix a little crasher in friend decls. Thanks again to Eli for finding this. | John McCall | 2009-09-02 | 1 | -3/+4 |
| | | | | | llvm-svn: 80748 | ||||
| * | Add mangling for covariant thunks. | Mike Stump | 2009-09-02 | 2 | -6/+52 |
| | | | | | llvm-svn: 80747 | ||||
| * | Ensure that the tag decls of friend decls aren't added to the friending class's | John McCall | 2009-09-02 | 3 | -9/+10 |
| | | | | | | | | decl list, and remove some workarounds that were due to this. Thanks to Eli for pointing this out and providing the test case. llvm-svn: 80745 | ||||
| * | Shorten name. | Mike Stump | 2009-09-02 | 2 | -9/+8 |
| | | | | | llvm-svn: 80744 | ||||
| * | Add mangling for thunks. | Mike Stump | 2009-09-02 | 2 | -22/+74 |
| | | | | | llvm-svn: 80743 | ||||
| * | It is illegal to derefrercne to an interface in | Fariborz Jahanian | 2009-09-02 | 1 | -2/+9 |
| | | | | | | | objc's non-fragile ABI. llvm-svn: 80739 | ||||
| * | More overriding base work and some cleanups. WIP. | Mike Stump | 2009-09-01 | 1 | -18/+19 |
| | | | | | llvm-svn: 80737 | ||||
| * | After a conversation with Doug. I added a fix me to | Fariborz Jahanian | 2009-09-01 | 1 | -0/+13 |
| | | | | | | | where we build the constructor's initializer list. llvm-svn: 80735 | ||||
| * | Split out overriding. WIP. | Mike Stump | 2009-09-01 | 1 | -6/+13 |
| | | | | | llvm-svn: 80732 | ||||
| * | Handle member expressions that return references correctly. | Anders Carlsson | 2009-09-01 | 1 | -0/+1 |
| | | | | | llvm-svn: 80723 | ||||
| * | Assert that we don't have any virtual bases. We can emit dtors for ↵ | Anders Carlsson | 2009-09-01 | 1 | -2/+2 |
| | | | | | | | polymorphics classes just fune. llvm-svn: 80722 | ||||
| * | In CXXBaseOrMemberInitializer, don't confuse CtorTocall with | Douglas Gregor | 2009-09-01 | 2 | -5/+6 |
| | | | | | | | AnonUnionMember. Fixes PR4826. llvm-svn: 80721 | ||||
| * | Use the correct cast kinds for bit casts and function to pointer decay. ↵ | Anders Carlsson | 2009-09-01 | 2 | -10/+21 |
| | | | | | | | Fixes PR4827. llvm-svn: 80720 | ||||
| * | Add a CK_FunctionToPointerDecay cast kind. | Anders Carlsson | 2009-09-01 | 3 | -2/+6 |
| | | | | | llvm-svn: 80719 | ||||
| * | We can generate constructors/destructors with base classes and non-trivial ↵ | Anders Carlsson | 2009-09-01 | 1 | -26/+2 |
| | | | | | | | fields just fine now. llvm-svn: 80701 | ||||
| * | Implement proper substitution for OverloadedFunctionDecls, but substituting ↵ | Douglas Gregor | 2009-09-01 | 2 | -11/+19 |
| | | | | | | | each of the functions in the overload set llvm-svn: 80692 | ||||
| * | Add DeclContext::Equals to compare declaration contexts based on their ↵ | Douglas Gregor | 2009-09-01 | 1 | -2/+1 |
| | | | | | | | primary context. Use this instead of pointer comparisons llvm-svn: 80690 | ||||
| * | Fixed a property getter ir-gen crash. | Fariborz Jahanian | 2009-09-01 | 2 | -2/+4 |
| | | | | | llvm-svn: 80681 | ||||
| * | Fix a crasher involving template instantiation of non-dependent | Douglas Gregor | 2009-09-01 | 2 | -9/+7 |
| | | | | | | | | expressions making use of an overloaded operator. Thanks for the test case, Anders! llvm-svn: 80679 | ||||
| * | Add driver support for -emit-ast and AST compilation steps. | Daniel Dunbar | 2009-09-01 | 3 | -11/+35 |
| | | | | | | | - <rdar://problem/7185031> Add 'clang' option '-emit-ast' llvm-svn: 80678 | ||||
| * | Don't assume that a base is always a RecordType, it can also be a ↵ | Anders Carlsson | 2009-09-01 | 2 | -7/+17 |
| | | | | | | | TemplateSpecializationType. Also, make sure to get the instantiated union member. llvm-svn: 80662 | ||||
| * | Add pretty stack traces when instantiating functions and static data members. | Anders Carlsson | 2009-09-01 | 1 | -0/+13 |
| | | | | | llvm-svn: 80661 | ||||
| * | Handle member initializers that point to fields in anonymous structs. | Anders Carlsson | 2009-09-01 | 1 | -2/+7 |
| | | | | | llvm-svn: 80659 | ||||
| * | Don't assert when instantiating member references to fields in anonymous ↵ | Anders Carlsson | 2009-09-01 | 3 | -2/+45 |
| | | | | | | | structs. llvm-svn: 80657 | ||||
| * | PR4836, part 2: CodeGen for __builtin_isnan. | Eli Friedman | 2009-09-01 | 1 | -0/+5 |
| | | | | | llvm-svn: 80655 | ||||
| * | Preliminary AST representation and semantic analysis for | Douglas Gregor | 2009-09-01 | 9 | -25/+129 |
| | | | | | | | | | | explicitly-specified template argument lists in member reference expressions, e.g., x->f<int>() llvm-svn: 80646 | ||||
| * | Sentence-case bug category. | Ted Kremenek | 2009-09-01 | 2 | -2/+2 |
| | | | | | llvm-svn: 80644 | ||||
| * | Remember to write the qualifier of a MemberExpr to the PCH file when we get ↵ | Douglas Gregor | 2009-08-31 | 1 | -0/+1 |
| | | | | | | | to C++ PCH llvm-svn: 80643 | ||||
| * | Eliminate CXXAdornedMemberExpr entirely. Instead, optionally allocate | Douglas Gregor | 2009-08-31 | 8 | -102/+65 |
| | | | | | | | | | space within the MemberExpr for the nested-name-specifier and its source range. We'll do the same thing with explicitly-specified template arguments, assuming I don't flip-flop again. llvm-svn: 80642 | ||||
| * | Fix bug 4784 and allow friend declarations to properly extend | John McCall | 2009-08-31 | 5 | -12/+37 |
| | | | | | | | existing declaration chains. llvm-svn: 80636 | ||||
| * | Rename DIBlock as DILexicalBlock. | Devang Patel | 2009-08-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 80634 | ||||
| * | Rename CXXQualifiedMemberExpr -> CXXAdornedMemberExpr, since we will | Douglas Gregor | 2009-08-31 | 9 | -30/+43 |
| | | | | | | | | also be adding explicit template arguments as an additional "adornment". No functionality change. llvm-svn: 80628 | ||||
| * | Add parsing for references to member function templates with explicit | Douglas Gregor | 2009-08-31 | 4 | -2/+54 |
| | | | | | | | | | template argument lists, e.g., x.f<int>(). Semantic analysis will be a separate commit. llvm-svn: 80624 | ||||
| * | PR4836, part 1: add Sema support for __builtin_isnan and friends; they | Eli Friedman | 2009-08-31 | 2 | -0/+36 |
| | | | | | | | | are apparently used by Solaris libc despite the fact that clang claims to be compatible with gcc 4.2, which doesn't support them. llvm-svn: 80610 | ||||
| * | Implement template instantiation for member operator access. | Douglas Gregor | 2009-08-31 | 1 | -9/+7 |
| | | | | | llvm-svn: 80609 | ||||
| * | Support explicit C++ member operator syntax, from James Porter! | Douglas Gregor | 2009-08-31 | 3 | -2/+81 |
| | | | | | llvm-svn: 80608 | ||||
| * | Re-implemented generation of objc_memmove_collectable | Fariborz Jahanian | 2009-08-31 | 5 | -21/+33 |
| | | | | | | | API for copying GC'able aggregates (Next runtime only). llvm-svn: 80607 | ||||
| * | Fix a -Asserts warning. | Daniel Dunbar | 2009-08-31 | 1 | -0/+2 |
| | | | | | llvm-svn: 80606 | ||||
| * | Updated GNU runtime non-fragile ABI. | David Chisnall | 2009-08-31 | 3 | -43/+94 |
| | | | | | | | | Added -fconstant-string-class= option. Added __has_feature() test for non-fragile ABI. llvm-svn: 80591 | ||||
| * | More missing member goodness. | Anders Carlsson | 2009-08-30 | 1 | -3/+6 |
| | | | | | llvm-svn: 80491 | ||||
| * | Improve missing error messages as suggested by Doug. | Anders Carlsson | 2009-08-30 | 1 | -3/+3 |
| | | | | | llvm-svn: 80489 | ||||
| * | Use DiagnoseMissingMember for UsingDecls. | Anders Carlsson | 2009-08-30 | 1 | -1/+1 |
| | | | | | llvm-svn: 80470 | ||||
| * | Improve diagnostics for missing members. This renames the ↵ | Anders Carlsson | 2009-08-30 | 6 | -10/+42 |
| | | | | | | | err_typecheck_no_member to err_typecheck_no_member_deprecated. The idea is that err_typecheck_no_member_deprecated should be phased out and any call sites that reference it should call DiagnoseMissingMember instead. llvm-svn: 80469 | ||||
| * | Unbreak tests. I'll look into why this is necessary later. | Eli Friedman | 2009-08-30 | 1 | -0/+1 |
| | | | | | llvm-svn: 80468 | ||||
| * | Fix the start source location for type-specs like long, short, etc. | Argyrios Kyrtzidis | 2009-08-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 80448 | ||||
| * | Make instantiating initializers for classes with a dependent base type | Eli Friedman | 2009-08-29 | 2 | -52/+67 |
| | | | | | | | | | | work correctly. The change in lib/AST/DeclCXX.cpp is mostly a large reindentation; I couldn't figure out a good way to avoid it. llvm-svn: 80446 | ||||

