- Sep 03, 2009
-
-
Daniel Dunbar authored
variables.", this is breaking x86_64-apple-darwin10 and Linux tests. llvm-svn: 80896
-
Daniel Dunbar authored
previous commit this depends on is breaking x86_64-apple-darwin10 and Linux tests. llvm-svn: 80895
-
Daniel Dunbar authored
- Patch by David Chisnall, with PCH and Darwin support mixed in. llvm-svn: 80883
-
Daniel Dunbar authored
llvm-svn: 80882
-
Ted Kremenek authored
llvm-svn: 80873
-
David Chisnall authored
Fixed bug introduced in r79900 where FreeBSD was turned into NetBSD, transposing the ABIs and breaking both platforms. llvm-svn: 80870
-
Ted Kremenek authored
'dyn_cast' instead of 'cast' as the denominator value could be UnknownVal (and is not guaranteed to be a DefinedVal). llvm-svn: 80869
-
Zhongxing Xu authored
llvm-svn: 80865
-
Mike Stump authored
llvm-svn: 80864
-
Anders Carlsson authored
llvm-svn: 80862
-
Steve Naroff authored
llvm-svn: 80861
-
Fariborz Jahanian authored
1) Issue digsnostics in non-fragile ABI, when an expression evaluates to an interface type (except when it is used to access a non-fragile ivar). 2) Issue unsupported error in fragile ABI when an expression evaluates to an interface type (except when it is used to access a fragile ivar). llvm-svn: 80860
-
Steve Naroff authored
Add clang_getTranslationUnitSpelling(). llvm-svn: 80859
-
Douglas Gregor authored
with to properly support member access expressions in templates. This test is XFAIL'd, because we get it completely wrong, but I've made the minimal changes to the representation to at least avoid a crash. llvm-svn: 80856
-
Douglas Gregor authored
llvm-svn: 80853
-
Daniel Dunbar authored
llvm-svn: 80849
-
Fariborz Jahanian authored
llvm-svn: 80847
-
Fariborz Jahanian authored
must be defined. Fixed pr4853. llvm-svn: 80846
-
Douglas Gregor authored
x->Base::f We no longer try to "enter" the context of the type that "x" points to. Instead, we drag that object type through the parser and pass it into the Sema routines that need to know how to perform lookup within member access expressions. We now implement most of the crazy name lookup rules in C++ [basic.lookup.classref] for non-templated code, including performing lookup both in the context of the type referred to by the member access and in the scope of the member access itself and then detecting ambiguities when the two lookups collide (p1 and p4; p3 and p7 are still TODO). This change also corrects our handling of name lookup within template arguments of template-ids inside the nested-name-specifier (p6; we used to look into the scope of the object expression for them) and fixes PR4703. I have disabled some tests that involve member access expressions where the object expression has dependent type, because we don't yet have the ability to describe dependent nested-name-specifiers starting with an identifier. llvm-svn: 80843
-
- Sep 02, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 80840
-
Anders Carlsson authored
Fix an assertion when initializing a union using a member initializer. (We weren't casting from the union type to the initializer type correctly). llvm-svn: 80837
-
Fariborz Jahanian authored
an interface pointer. llvm-svn: 80836
-
Anders Carlsson authored
llvm-svn: 80835
-
Ted Kremenek authored
llvm-svn: 80834
-
Eli Friedman authored
llvm-svn: 80833
-
John McCall authored
whether the current context is dependent. Thanks to Anders for pointing this out. llvm-svn: 80828
-
Anders Carlsson authored
Fix a codegen crash when a class template has a constructor that does member initialization of an anonymous union. llvm-svn: 80826
-
Steve Naroff authored
llvm-svn: 80813
-
Steve Naroff authored
llvm-svn: 80810
-
Anders Carlsson authored
llvm-svn: 80808
-
Fariborz Jahanian authored
in constructors's initializer list. pr4854 llvm-svn: 80802
-
Steve Naroff authored
- More declaration types (distinguish between struct/union/class, instance/class methods). - Add definition types (class, category, function, instance/class method, etc.). Add client data to clang_loadDeclaration() and implement. llvm-svn: 80787
-
Zhongxing Xu authored
Also fix a checker context bug: the Dst set is not always empty initially. Because in GRExprEngine::CheckerVisit(), *CurrSet is used repeatedly. So we removed the Dst.empty() condition in ~CheckerContext() when deciding whether to do autotransision. llvm-svn: 80786
-
Douglas Gregor authored
llvm-svn: 80785
-
Douglas Gregor authored
Add a few more typename-specifier tests that involve simple-template-ids in the nested-name-specifier llvm-svn: 80784
-
Douglas Gregor authored
simple-template-id form), check whether the scope specifier is computable as a declaration context rather than checking whether it is dependent, so that we properly cope with members of the current instantiation. Improve testing for typename specifiers that terminate in a simpe-template-id. llvm-svn: 80783
-
Zhongxing Xu authored
Now bad callee is checked as a PreVisit to the CallExpr. llvm-svn: 80771
-
Zhongxing Xu authored
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
-
Ted Kremenek authored
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
-
-