- Mar 01, 2011
-
-
Douglas Gregor authored
diagnose ignored qualifiers on return types, only assume that there is a pointer chunk if the type is *structurally* a pointer type, not if it's a typedef of a pointer type. Fixes PR9328/<rdar://problem/9055428>. llvm-svn: 126751
-
Douglas Gregor authored
a dependent template name rather than (indirectly and incorrectly) trying to determine whether we can compute a context for the nested-name-specifier. Fixes a GCC testsuite regression, <rdar://problem/9068589>. llvm-svn: 126749
-
Douglas Gregor authored
information for qualifier type names throughout the parser to address several problems. The commit message from r126737: Push nested-name-specifier source location information into elaborated name types, e.g., "enum clang::NestedNameSpecifier::SpecifierKind". Aside from the normal changes, this also required some tweaks to the parser. Essentially, when we're looking at a type name (via getTypeName()) specifically for the purpose of creating an annotation token, we pass down the flag that asks for full type-source location information to be stored within the returned type. That way, we retain source-location information involving nested-name-specifiers rather than trying to reconstruct that information later, long after it's been lost in the parser. With this change, test/Index/recursive-cxx-member-calls.cpp is showing much improved results again, since that code has lots of nested-name-specifiers. llvm-svn: 126748
-
Douglas Gregor authored
llvm-svn: 126746
-
Duncan Sands authored
in alphabetical order. llvm-svn: 126745
-
Anders Carlsson authored
intersection of the LHS and RHS ConstantRanges and return "false" when the range is empty. This simplifies some code and catches some extra cases. llvm-svn: 126744
-
Howard Hinnant authored
Chris Jefferson found this bug to pair/tuple introduced by a recent change to the draft that I missed. llvm-svn: 126743
-
Chris Lattner authored
llvm-svn: 126742
-
Nick Lewycky authored
more work to do here, "icmp ult (urem X, 10), 11" doesn't optimize away yet. Fixes example 3 from PR9343! llvm-svn: 126741
-
Rafael Espindola authored
CC="clang -use-gold-plugin -emit-llvm" CXX="clang++ -use-gold-plugin -emit-llvm" llvm-svn: 126740
-
Chandler Carruth authored
possible for these to show up due to metaprogramming both in unevaluated contexts and compile-time dead branches. Those aren't the bugs we're looking for. llvm-svn: 126739
-
Ted Kremenek authored
In preparation for fixing PR 6884, rework CFGElement to have getAs<> return pointers instead of fresh CFGElements. - Also, consoldiate getDtorKind() and getKind() into one "kind". - Add empty getDestructorDecl() method to CFGImplicitDtor. llvm-svn: 126738
-
Douglas Gregor authored
name types, e.g., "enum clang::NestedNameSpecifier::SpecifierKind". Aside from the normal changes, this also required some tweaks to the parser. Essentially, when we're looking at a type name (via getTypeName()) specifically for the purpose of creating an annotation token, we pass down the flag that asks for full type-source location information to be stored within the returned type. That way, we retain source-location information involving nested-name-specifiers rather than trying to reconstruct that information later, long after it's been lost in the parser. With this change, test/Index/recursive-cxx-member-calls.cpp is showing much improved results again, since that code has lots of nested-name-specifiers. llvm-svn: 126737
-
Johnny Chen authored
the SBProcess.ReadMemory() API, which, due to SWIG typemap'ing, expects 3 arguments (the location to read from, the size in bytes to read, and an SBError object), and returns the result as a Python string object. On SnowLeopard where this has been tested, the SWIG script needs to be pampered (use the exact same parameter names as in SBProcess.h) in order for this to work. llvm-svn: 126736
-
Argyrios Kyrtzidis authored
llvm-svn: 126735
-
Argyrios Kyrtzidis authored
llvm-svn: 126734
-
Jim Grosbach authored
llvm-svn: 126733
-
Jim Ingham authored
llvm-svn: 126732
-
Jim Grosbach authored
llvm-svn: 126731
-
Ken Dyck authored
functionality intended. llvm-svn: 126730
-
Douglas Gregor authored
DependentNameTypeLoc. Teach the recursive AST visitor and libclang how to walk DependentNameTypeLoc nodes. Also, teach libclang about TypedefDecl source ranges, so that we get those. The massive churn in test/Index/recursive-cxx-member-calls.cpp is a good thing: we're annotating a lot more of this test correctly now. llvm-svn: 126729
-
Argyrios Kyrtzidis authored
and hope the wrath of the buildbots will not descend upon me. llvm-svn: 126728
-
Ken Dyck authored
in functionality intended. llvm-svn: 126727
-
Argyrios Kyrtzidis authored
llvm-svn: 126726
-
Argyrios Kyrtzidis authored
llvm-svn: 126725
-
Argyrios Kyrtzidis authored
llvm-svn: 126724
-
Bill Wendling authored
shift. 16-bit: imm6<5:3> = '001', 8 - <imm> is encded in imm6<2:0> 32-bit: imm6<5:4> = '01',16 - <imm> is encded in imm6<3:0> 64-bit: imm6<5> = '1', 32 - <imm> is encded in imm6<4:0> llvm-svn: 126723
-
Zhanyong Wan authored
- renames evalCastNL and evalCastL to evalCastFromNonLoc and evalCastFromLoc (avoid abbreviations that aren't well known). - makes all function parameter names start with a lower case letter for consistency and distinction from member variables. - avoids abbreviations in function parameter names. Reviewed by kremenek@apple.com. llvm-svn: 126722
-
Douglas Gregor authored
information. Fixes <rdar://problem/9063643>. llvm-svn: 126721
-
Eli Friedman authored
llvm-svn: 126720
-
Chris Lattner authored
llvm-svn: 126719
-
Chris Lattner authored
arithmetic. This is part of PR9256, it would be great if someone else wired up -fno-strict-overflow in the driver to -fwrapv. llvm-svn: 126718
-
Ted Kremenek authored
llvm-svn: 126717
-
Douglas Gregor authored
source-location information into a NestedNameSpecifierLocBuilder class, which lives within the AST library and centralize all knowledge of the format of nested-name-specifier location information here. No functionality change. llvm-svn: 126716
-
Ted Kremenek authored
llvm-svn: 126715
-
Talin authored
llvm-svn: 126714
-
Rafael Espindola authored
CC="clang -use-gold-plugin" CFLAGS=-emit-llvm ../configure... and not be hit with a warning for each .c file. llvm-svn: 126713
-
Caroline Tice authored
Add code to emulate LDRH (literal) Arm instruction. llvm-svn: 126709
-
- Feb 28, 2011
-
-
Stephen Wilson authored
Add register context for i386 on Linux. Patch by Marco Minutoli! llvm-svn: 126696
-
Chris Lattner authored
llvm-svn: 126694
-