- Mar 28, 2009
-
-
Chris Lattner authored
pointer. Its purpose in life is to be a glorified void*, but which does not implicitly convert to void* or other OpaquePtr's with a different UID. Introduce Action::DeclPtrTy which is a typedef for OpaquePtr<0>. Change the entire parser/sema interface to use DeclPtrTy instead of DeclTy*. This makes the C++ compiler enforce that these aren't convertible to other opaque types. We should also convert ExprTy, StmtTy, TypeTy, AttrTy, BaseTy, etc, but I don't plan to do that in the short term. The one outstanding known problem with this patch is that we lose the bitmangling optimization where ActionResult<DeclPtrTy> doesn't know how to bitmangle the success bit into the low bit of DeclPtrTy. I will rectify this with a subsequent patch. llvm-svn: 67952
-
Ted Kremenek authored
llvm-svn: 67948
-
Cedric Venet authored
llvm-svn: 67944
-
Anders Carlsson authored
llvm-svn: 67932
-
Chris Lattner authored
llvm-svn: 67928
-
Anders Carlsson authored
llvm-svn: 67925
-
Ted Kremenek authored
llvm-svn: 67924
-
Chris Lattner authored
llvm-svn: 67923
-
Chris Lattner authored
llvm-svn: 67922
-
Anders Carlsson authored
llvm-svn: 67921
-
Chris Lattner authored
llvm-svn: 67920
-
Chris Lattner authored
points within contexts not scopes. llvm-svn: 67919
-
Anders Carlsson authored
llvm-svn: 67915
-
Chris Lattner authored
llvm-svn: 67914
-
Chris Lattner authored
TranslationUnit llvm-svn: 67913
-
Anders Carlsson authored
SemaCXX//overload-member-call.cpp SemaCXX//overloaded-operator.cpp SemaTemplate//instantiate-method.cpp llvm-svn: 67912
-
Chris Lattner authored
llvm-svn: 67911
-
Chris Lattner authored
llvm-svn: 67910
-
Ted Kremenek authored
llvm-svn: 67909
-
Anders Carlsson authored
llvm-svn: 67908
-
Chris Lattner authored
just a wrapper around ASTContext. llvm-svn: 67906
-
Chris Lattner authored
llvm-svn: 67905
-
Chris Lattner authored
llvm-svn: 67904
-
Chris Lattner authored
llvm-svn: 67903
-
Chris Lattner authored
llvm-svn: 67902
-
Ted Kremenek authored
etc., so that the "body" is always considered a top-level statement for edge transitions (even if it is an expression). llvm-svn: 67901
-
Eli Friedman authored
llvm-svn: 67899
-
Eli Friedman authored
types don't get generated when blocks aren't used. llvm-svn: 67898
-
Eli Friedman authored
llvm-svn: 67896
-
Eli Friedman authored
llvm-svn: 67895
-
Chris Lattner authored
happy with just ASTContext, they don't need a TU. llvm-svn: 67894
-
Chris Lattner authored
llvm-svn: 67891
-
Chris Lattner authored
clang.cpp llvm-svn: 67890
-
Eli Friedman authored
LHS type and the computation result type; this encodes information into the AST which is otherwise non-obvious. Fix Sema to always come up with the right answer for both of these types. Fix IRGen and the analyzer to account for these changes. This fixes PR2601. The approach is inspired by PR2601 comment 2. Note that this changes real *= complex in CodeGen from a silent miscompilation to an explicit error. I'm not really sure that the analyzer changes are correct, or how to test them... someone more familiar with the analyzer should check those changes. llvm-svn: 67889
-
Anders Carlsson authored
llvm-svn: 67887
-
Douglas Gregor authored
syntax into extension warnings, and provide code-modification hints showing how to fix the problem. llvm-svn: 67885
-
Douglas Gregor authored
llvm-svn: 67880
-
rdar://problem/6724396Douglas Gregor authored
GNU-style array designators, causing us to emit broken initializers. llvm-svn: 67878
-
Douglas Gregor authored
NestedNameSpecifiers without causing problems for the FoldingSet that contains them. llvm-svn: 67877
-
Devang Patel authored
Do not emit debug information for variables while generating optimized code. The llvm optimizer and code generator are not yet ready to support optimized code debugging. llvm-svn: 67876
-