- Mar 01, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 126734
-
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
-
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
-
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
-
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
-
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
-
- Feb 28, 2011
-
-
Douglas Gregor authored
source-location information. We don't actually preserve this information in any of the resulting TypeLocs (yet), so it doesn't matter. llvm-svn: 126693
-
Devang Patel authored
llvm-svn: 126691
-
Argyrios Kyrtzidis authored
llvm-svn: 126690
-
Douglas Gregor authored
MemberExpr, the last of the expressions with qualifiers! llvm-svn: 126688
-
Fariborz Jahanian authored
llvm-svn: 126685
-
Douglas Gregor authored
UnresolvedLookupExpr and UnresolvedMemberExpr. Also, improve the computation that checks whether the base of a member expression (either unresolved or dependent-scoped) is implicit. The previous check didn't cover all of the cases we use in our representation, which threw off source-location information for these expressions (which, in turn, caused some breakage in libclang's token annotation). llvm-svn: 126681
-
Fariborz Jahanian authored
The prototype for objc_msgSend() is technically variadic - `id objc_msgSend(id, SEL, ...)`. But all method calls should use a prototype that matches the method, not the prototype for objc_msgSend itself(). // rdar://9048030 llvm-svn: 126678
-
Argyrios Kyrtzidis authored
llvm-svn: 126676
-
Argyrios Kyrtzidis authored
llvm-svn: 126675
-
Argyrios Kyrtzidis authored
llvm-svn: 126674
-
Argyrios Kyrtzidis authored
llvm-svn: 126673
-
Peter Collingbourne authored
llvm-svn: 126670
-
Douglas Gregor authored
llvm-svn: 126665
-
Douglas Gregor authored
CXXDependentScopeMemberExpr, and clean up instantiation of nested-name-specifiers with dependent template specialization types in the process. llvm-svn: 126663
-
Argyrios Kyrtzidis authored
They cooperate in that NSErrorChecker listens for ImplicitNullDerefEvent events that DereferenceChecker can dispatch. ImplicitNullDerefEvent is when we dereferenced a location that may be null. llvm-svn: 126659
-
Argyrios Kyrtzidis authored
A checker can register as receiver/listener of "events" (basically it registers a callback with a function getting called with an argument of the event type) and other checkers can register as "dispatchers" and can pass an event object to all the listeners. This allows cooperation amongst checkers but with very loose coupling. llvm-svn: 126658
-
Argyrios Kyrtzidis authored
llvm-svn: 126657
-
Douglas Gregor authored
dependent template names. There is still a lot of redundant code in TreeTransform to cope with TemplateSpecializationTypes, which I'll remove in stages. llvm-svn: 126656
-
David Chisnall authored
Make -fobjc-nonfragile-abi and -fgnu-runtime imply -fblocks (unless -fno-blocks is specified), because this combination of flags defines an Objective-C runtime that includes a blocks runtime. llvm-svn: 126654
-
Douglas Gregor authored
llvm-svn: 126653
-
Axel Naumann authored
* Add default implementations (no-op) for ExternalASTSource's pure virtual functions. There are valid use cases that can live with these defaults. * Move ExternalASTSource's out of line implementations into separate source file. * Whitespace, forward decl, #include cleanup. llvm-svn: 126648
-
NAKAMURA Takumi authored
The feature "shell" is implemented in llvm/test. llvm-svn: 126646
-
Chandler Carruth authored
I've only covered C++'s flags here, we should probably do something similar for ObjC flags. llvm-svn: 126641
-
Chandler Carruth authored
of -fexceptions to disably C++ exceptions. The correct code was in the ObjC branch, this just mirrors that logic on the C++ side of things. Thanks to John Wiegley for pointing this out. llvm-svn: 126640
-
Chris Lattner authored
compound stmt containing the decl is skipped. llvm-svn: 126639
-
Chris Lattner authored
llvm-svn: 126638
-
NAKAMURA Takumi authored
llvm-svn: 126634
-