- Nov 10, 2008
-
-
Zhongxing Xu authored
llvm-svn: 58985
-
Zhongxing Xu authored
llvm-svn: 58983
-
Zhongxing Xu authored
Implement RegionStoreManager::RemoveDeadBindings(). This prunes several false warning caused by removal of symbolic constraints. Currently we just mark all symbols live. Further optimization for dead binding removal needed. llvm-svn: 58982
-
Chris Lattner authored
speeds up the compiler by ~8% at -emit-llvm -O0. llvm-svn: 58977
-
Chris Lattner authored
llvm-svn: 58976
-
Chris Lattner authored
1. emit proper debug info for forward decls of structs. 2. emit DW_TAG_member nodes around members of a field like llvm-gcc does. This slows down debug info generation, but is required for correctness. llvm-svn: 58973
-
Chris Lattner authored
using MachineModuleInfo. This runs at about the same speed as the old code, but fixes a bunch of bugs and is simpler and shorter. llvm-svn: 58971
-
Zhongxing Xu authored
Print integer value instead of raw pointer. This is a hack to be fixed by migrating the output in analyzer to llvm::raw_ostream. llvm-svn: 58965
-
Chris Lattner authored
llvm-svn: 58956
-
Argyrios Kyrtzidis authored
Introduce ScopedDecl::getLexicalDeclContext() which is different from ScopedDecl::getDeclContext() when there are nested-names. e.g.: namespace A { void f(); // SemanticDC (getDeclContext) == LexicalDC (getLexicalDeclContext) == 'namespace A' } void A::f(); // SemanticDC == namespace 'A' // LexicalDC == global namespace llvm-svn: 58948
-
- Nov 09, 2008
-
-
Argyrios Kyrtzidis authored
When a tag has nested-name ('struct foo::bar'), use not 'CurContext' but the context of the nested-name ('foo::'). llvm-svn: 58945
-
Argyrios Kyrtzidis authored
-Use more of the non nested-name code path. -Also use the ActOnTagStruct code path. llvm-svn: 58944
-
Anders Carlsson authored
llvm-svn: 58940
-
Sebastian Redl authored
llvm-svn: 58932
-
- Nov 08, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 58916
-
Argyrios Kyrtzidis authored
llvm-svn: 58914
-
Argyrios Kyrtzidis authored
No Sema functionality change, just the signatures of the Action/Sema methods. llvm-svn: 58913
-
Argyrios Kyrtzidis authored
Introduce annotation tokens, a special kind of token, created and used only by the parser to replace a group of tokens with a single token encoding semantic information. Will be fully utilized later for C++ nested-name-specifiers. llvm-svn: 58911
-
Sebastian Redl authored
Update C++ status to reflect parser capabilities for chapter 9 (classes). Slightly extend the class parser test. llvm-svn: 58909
-
Sebastian Redl authored
llvm-svn: 58907
-
Sebastian Redl authored
Move named cast helpers out of Sema, as Chris requested. This requirse making a few functions public that weren't before. llvm-svn: 58906
-
Argyrios Kyrtzidis authored
llvm-svn: 58904
-
Argyrios Kyrtzidis authored
llvm-svn: 58902
-
Daniel Dunbar authored
llvm-svn: 58892
-
Daniel Dunbar authored
- Size/align are not effected by CVR qualifiers. Support getCanonicalType: const Type* -> const Type*. llvm-svn: 58891
-
Daniel Dunbar authored
generate the type of a member. llvm-svn: 58889
-
Daniel Dunbar authored
llvm-svn: 58888
-
Zhongxing Xu authored
llvm-svn: 58886
-
Argyrios Kyrtzidis authored
Previously: class C { int C; // Declarator::SetConstructor was called here. }; llvm-svn: 58880
-
Ted Kremenek authored
llvm-svn: 58878
-
Sebastian Redl authored
llvm-svn: 58873
-
- Nov 07, 2008
-
-
Douglas Gregor authored
llvm-svn: 58870
-
Cedric Venet authored
llvm-svn: 58867
-
Argyrios Kyrtzidis authored
-When parsing declarators, don't depend on "CurScope->isCXXClassScope() == true" for constructors/destructors -For C++ member declarations, don't depend on "Declarator.getContext() == Declarator::MemberContext" llvm-svn: 58866
-
Ted Kremenek authored
llvm-svn: 58864
-
Douglas Gregor authored
llvm-svn: 58862
-
Douglas Gregor authored
functions in C++, e.g., struct X { operator bool() const; }; Note that these conversions don't actually do anything, since we don't yet have the ability to use them for implicit or explicit conversions. llvm-svn: 58860
-
Argyrios Kyrtzidis authored
Assert that Parser::MaybeParseOperatorFunctionId is called when token is kw_operator, and replace ExpectAndConsume for the 'operator' token with a ConsumeToken. llvm-svn: 58855
-
Douglas Gregor authored
Separate the parsing of type-specifiers from other declaration specifiers, so that we can parse a C++ type-specifier-seq llvm-svn: 58854
-
Anders Carlsson authored
include alloca.h instead of malloc.h. If this doesn't work for everyone we can just declare alloca directly in the file. llvm-svn: 58853
-