| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove 'default' case in switch statement in clang_getCursorKindSpelling(). ↵ | Ted Kremenek | 2010-01-16 | 2 | -23/+25 |
| | | | | | | | This identified a missing case (warned by the compiler) and identified that CXCursor_FirstDecl didn't actually correspond to the first decl. llvm-svn: 93622 | ||||
| * | Remove TranslateKind and centralize Decl -> CXCursorKind in GetCursorKind(). ↵ | Ted Kremenek | 2010-01-16 | 8 | -79/+75 |
| | | | | | | | This revealed a bunch of inconsistencies in how CXCursorKinds were being computed. llvm-svn: 93618 | ||||
| * | Add codgen for BI__builtin_llvm_memory_barrier. | Tanya Lattner | 2010-01-16 | 1 | -0/+12 |
| | | | | | llvm-svn: 93611 | ||||
| * | The codegen for these builtins was removed long ago, but their definitions ↵ | Tanya Lattner | 2010-01-16 | 1 | -6/+0 |
| | | | | | | | remained. Removing them totally. llvm-svn: 93607 | ||||
| * | Fix crash generating debug info for constructor for anonymous struct. | Eli Friedman | 2010-01-16 | 2 | -1/+7 |
| | | | | | llvm-svn: 93601 | ||||
| * | Migrate Decl* -> cursorkind logic into CXCursor.cpp, and drastically tighten ↵ | Ted Kremenek | 2010-01-16 | 3 | -69/+53 |
| | | | | | | | TUVisitor. llvm-svn: 93599 | ||||
| * | Make the AST explicitly represent the cast of the first operand of a | Eli Friedman | 2010-01-16 | 2 | -3/+16 |
| | | | | | | | pointer-to-member operator. llvm-svn: 93592 | ||||
| * | Remove unused code. | Ted Kremenek | 2010-01-15 | 1 | -36/+0 |
| | | | | | llvm-svn: 93586 | ||||
| * | Refactor USR logic for EnumDecls and RecordDecls so that both handle ↵ | Ted Kremenek | 2010-01-15 | 1 | -15/+16 |
| | | | | | | | 'anonymous' declarations in the same way. llvm-svn: 93585 | ||||
| * | Generalize handling for unreachable code warnings to all binary operators. | Mike Stump | 2010-01-15 | 2 | -20/+17 |
| | | | | | llvm-svn: 93584 | ||||
| * | Candidates with arity mismatches are extra-special non-viable and need to | John McCall | 2010-01-15 | 1 | -16/+32 |
| | | | | | | | | | stand at the back of the line. Thanks to Oliver Hunt for reminding me to do this. llvm-svn: 93583 | ||||
| * | Refine location reporting for unreachable code warnings for comma expressions. | Mike Stump | 2010-01-15 | 2 | -12/+101 |
| | | | | | llvm-svn: 93574 | ||||
| * | USR generation: look at the typedef of an anonymous struct (if any) when ↵ | Ted Kremenek | 2010-01-15 | 1 | -2/+6 |
| | | | | | | | trying to generate a USR. llvm-svn: 93572 | ||||
| * | define __weak to null in rewritten source for | Fariborz Jahanian | 2010-01-15 | 1 | -0/+1 |
| | | | | | | | -fms-extensions as well. llvm-svn: 93569 | ||||
| * | Make CXCursor's data opaque. | Douglas Gregor | 2010-01-15 | 5 | -48/+82 |
| | | | | | llvm-svn: 93561 | ||||
| * | Make LookupResult::resolveKind() robust against NotFoundInCurrentInstantiation. | John McCall | 2010-01-15 | 1 | -1/+1 |
| | | | | | | | Fixes PR 6049. llvm-svn: 93557 | ||||
| * | Add CXCursor.[h,cpp]. These files will centralize the logic for ↵ | Ted Kremenek | 2010-01-15 | 4 | -12/+63 |
| | | | | | | | creating/probing CXCursors. llvm-svn: 93547 | ||||
| * | Fix a couple bugs in copy assignment operator synthesis. | Eli Friedman | 2010-01-15 | 2 | -19/+25 |
| | | | | | llvm-svn: 93546 | ||||
| * | Add USR generation for enums. | Ted Kremenek | 2010-01-15 | 1 | -0/+11 |
| | | | | | llvm-svn: 93543 | ||||
| * | Add -cursor-at=file:line:column command line option to c-index-test, | Douglas Gregor | 2010-01-15 | 3 | -16/+88 |
| | | | | | | | | | to directly check the results of clang_getCursor(). Also, start migrating some index-test tests over to c-index test [*] and some grep-using tests over to FileCheck. llvm-svn: 93537 | ||||
| * | Preserve type source information for C++ named casts through template | John McCall | 2010-01-15 | 3 | -23/+39 |
| | | | | | | | instantiation. llvm-svn: 93533 | ||||
| * | Don't lose type source information when rebuilding C-style cast expressions. | John McCall | 2010-01-15 | 3 | -13/+25 |
| | | | | | | | Also we don't need to recheck for altivec initializers, I think. llvm-svn: 93529 | ||||
| * | Preserve type source information in explicit cast expressions. | John McCall | 2010-01-15 | 9 | -159/+157 |
| | | | | | | | Patch by Enea Zaffanella. llvm-svn: 93522 | ||||
| * | getLocationFromCursor: If a cursor is a reference and has a referringDecl, ↵ | Ted Kremenek | 2010-01-15 | 1 | -0/+4 |
| | | | | | | | using the referringDecl for the location. llvm-svn: 93520 | ||||
| * | Do not do the block-specific rewrite when there is no block literals. | Fariborz Jahanian | 2010-01-15 | 2 | -1/+9 |
| | | | | | | | Fixes radar 7546096. llvm-svn: 93519 | ||||
| * | When determining whether a DeclRefExpr is value-dependent when it | Douglas Gregor | 2010-01-15 | 2 | -4/+25 |
| | | | | | | | | | references a const variable of integral type, the initializer may be in a different declaration than the one that name-lookup saw. Find the initializer anyway. Fixes PR6045. llvm-svn: 93514 | ||||
| * | When determining whether the type is the current instantiation, strip | Douglas Gregor | 2010-01-15 | 2 | -2/+22 |
| | | | | | | | qualifiers. Fixes PR6021. llvm-svn: 93513 | ||||
| * | Convert the type of the LValue offset variable in APValue to CharUnits, moving | Ken Dyck | 2010-01-15 | 4 | -59/+84 |
| | | | | | | | the LValue-related methods of APValue out of line to avoid header file leaching. llvm-svn: 93512 | ||||
| * | Don't repeat lookup when instantiating resolved member expressions. | John McCall | 2010-01-15 | 4 | -20/+70 |
| | | | | | | | | | | | Adjust BuildMemberReferenceExpr to perform the inheritance check on implicit member accesses, which can arise from unqualified lookups and therefore may reference decls from enclosing class scopes. Fixes PR 5838. llvm-svn: 93510 | ||||
| * | Don't suggest the developer use 'arc4random' instead of 'rand' when that ↵ | Ted Kremenek | 2010-01-15 | 2 | -3/+48 |
| | | | | | | | function is not available. Fixes PR 6012. llvm-svn: 93508 | ||||
| * | Teach BugReporter to "escape" the occurance of '%' characters in diagnostic ↵ | Ted Kremenek | 2010-01-15 | 2 | -2/+27 |
| | | | | | | | messages when emitted results to the standard Diagnostics output. Fixes PR 6033. llvm-svn: 93507 | ||||
| * | Convert a few more uses of std::string& to llvm::StringRef. | Ted Kremenek | 2010-01-15 | 2 | -4/+4 |
| | | | | | llvm-svn: 93506 | ||||
| * | Add testcase for recent checkin. | Mike Stump | 2010-01-15 | 1 | -0/+20 |
| | | | | | llvm-svn: 93503 | ||||
| * | Refine unreachable warnings. WIP. | Mike Stump | 2010-01-15 | 1 | -4/+87 |
| | | | | | llvm-svn: 93500 | ||||
| * | When performing qualified name lookup into the current instantiation, | Douglas Gregor | 2010-01-15 | 6 | -33/+73 |
| | | | | | | | | | | | | | | do not look into base classes if there are any dependent base classes. Instead, note in the lookup result that we couldn't look into any dependent bases. Use that new result kind to detect when this case occurs, so that we can fall back to treating the type/value/etc. as a member of an unknown specialization. Fixes an issue where we were resolving lookup at template definition time and then missing an ambiguity at template instantiation time. llvm-svn: 93497 | ||||
| * | Fix Release-Asserts for the time being. | Mike Stump | 2010-01-15 | 1 | -352/+351 |
| | | | | | llvm-svn: 93493 | ||||
| * | Patch to avoid duplicate declaration of byref structs | Fariborz Jahanian | 2010-01-14 | 2 | -9/+70 |
| | | | | | | | | for __block variables of same name declared in multiple scopes. Fixes radar 7540194 llvm-svn: 93474 | ||||
| * | Emit linkage name even if it matches regular name. The code generator uses ↵ | Devang Patel | 2010-01-14 | 1 | -3/+3 |
| | | | | | | | linkage name to find subprogram entry for the current function. llvm-svn: 93461 | ||||
| * | Forgot to commit these | Anton Korobeynikov | 2010-01-14 | 2 | -12/+12 |
| | | | | | llvm-svn: 93458 | ||||
| * | fix grammaro | Chris Lattner | 2010-01-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 93452 | ||||
| * | long long is 64 bits on msp430 | Anton Korobeynikov | 2010-01-14 | 1 | -1/+2 |
| | | | | | llvm-svn: 93451 | ||||
| * | Pre-emptive bugfixes in the diagnostics code: allow arbitrary punctuation | John McCall | 2010-01-14 | 1 | -8/+35 |
| | | | | | | | | characters to be escaped and implement a scan-forward function which properly respects brace nesting. llvm-svn: 93447 | ||||
| * | Simplify test case. This test case also applies to PR 6013. | Ted Kremenek | 2010-01-14 | 1 | -9/+5 |
| | | | | | llvm-svn: 93444 | ||||
| * | Associate test case with Bugzilla PR. | Ted Kremenek | 2010-01-14 | 1 | -7/+8 |
| | | | | | llvm-svn: 93440 | ||||
| * | Document the extensions I made to the diagnostics-formatting system yesterday. | John McCall | 2010-01-14 | 1 | -2/+12 |
| | | | | | llvm-svn: 93439 | ||||
| * | After dyn_cast'ing, it generally makes sense to check the *output* of | Douglas Gregor | 2010-01-14 | 2 | -1/+19 |
| | | | | | | | the dyn_cast against NULL rather than the *input*. Fixes PR6025. llvm-svn: 93435 | ||||
| * | Add comment. | Devang Patel | 2010-01-14 | 1 | -0/+3 |
| | | | | | llvm-svn: 93434 | ||||
| * | When qualified lookup into the current instantiation fails (because it | Douglas Gregor | 2010-01-14 | 7 | -4/+118 |
| | | | | | | | | | finds nothing), and the current instantiation has dependent base classes, treat the qualified lookup as if it referred to an unknown specialization. Fixes PR6031. llvm-svn: 93433 | ||||
| * | Switch a few callers of MaybeAddResult over to AddResult, when the | Douglas Gregor | 2010-01-14 | 1 | -10/+12 |
| | | | | | | | declarations we're adding do not need any name-hiding checks. llvm-svn: 93431 | ||||
| * | Switch code-completion's ivar lookup over to LookupVisibleDecls, | Douglas Gregor | 2010-01-14 | 1 | -5/+11 |
| | | | | | | | eliminating yet one more ResultBuilder::MaybeAddResult caller. llvm-svn: 93430 | ||||

