- Mar 28, 2009
-
-
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
-
Douglas Gregor authored
instantiation for C++ typename-specifiers such as typename T::type The parsing of typename-specifiers is relatively easy thanks to annotation tokens. When we see the "typename", we parse the typename-specifier and produce a typename annotation token. There are only a few places where we need to handle this. We currently parse the typename-specifier form that terminates in an identifier, but not the simple-template-id form, e.g., typename T::template apply<U, V> Parsing of nested-name-specifiers has a similar problem, since at this point we don't have any representation of a class template specialization whose template-name is unknown. Semantic analysis is only partially complete, with some support for template instantiation that works for simple examples. llvm-svn: 67875
-
- Mar 27, 2009
-
-
Sebastian Redl authored
llvm-svn: 67870
-
Ted Kremenek authored
successor, using 'getEnclosingStmt()' to have the end location be the top-level Stmt* enclosing the target Expr*. llvm-svn: 67869
-
Eli Friedman authored
remove a redundant error in CodeGen. llvm-svn: 67868
-
Eli Friedman authored
rather nasty, but I can't think of a better fix off the top of my head. llvm-svn: 67867
-
Ted Kremenek authored
PathDiagnosticLocation. llvm-svn: 67866
-
Chris Lattner authored
instead of a load + large inlined switch. llvm-svn: 67864
-
Chris Lattner authored
llvm-svn: 67861
-
Anders Carlsson authored
It is OK to cast to a private base class if the current member belongs to the class that the private base class is a base of: class A {}; class B : private A { void f(B *b) { A* a = b; } }; llvm-svn: 67860
-
Anders Carlsson authored
Add a Class field to the base path element structure. This holds the record decl of the class taht the base is a base of. llvm-svn: 67859
-
Chris Lattner authored
llvm-svn: 67858
-
Fariborz Jahanian authored
ir gen. No intended change in functionality. llvm-svn: 67857
-
Chris Lattner authored
llvm-svn: 67854
-
Ted Kremenek authored
start-end points, where start and end are source ranges. llvm-svn: 67847
-
-
Daniel Dunbar authored
turned into -m[no-]pascal-strings by the tool chain. - This still has issue that derived arguments don't propogate "used" information correctly so spurious "argument unused" warnings will still show up. llvm-svn: 67841
-
Daniel Dunbar authored
llvm-svn: 67837
-
Anders Carlsson authored
Implement checking for base class access. Right now it's overly conservative but that will change. (Also, protected isn't implemented right now). llvm-svn: 67827
-
Douglas Gregor authored
to a function or function pointer, it's probably because the user forgot to put in parentheses () to call the function. llvm-svn: 67826
-
Zhongxing Xu authored
llvm-svn: 67825
-
Douglas Gregor authored
llvm-svn: 67824
-
Douglas Gregor authored
Remove the code insertion hint for implicit int. Too often, we're wrong about this hint, so it loses its usefulness. Maybe some day we can make the hint smart enough to be useful. llvm-svn: 67823
-
Ted Kremenek authored
- Added an internal helper class 'PathDiagnosticBuilder' which now bundles the 'ExecutionContinues' methods. - Added preliminary diagnostics for short-circuit '&&' and '||' llvm-svn: 67822
-
Anders Carlsson authored
llvm-svn: 67821
-
Anders Carlsson authored
llvm-svn: 67820
-
Anders Carlsson authored
llvm-svn: 67819
-
Douglas Gregor authored
llvm-svn: 67818
-
Douglas Gregor authored
classes. Test case from Anders Carlsson, fix from Piotr Rak! llvm-svn: 67817
-
rdar://6719156Chris Lattner authored
by changing blocks from being disabled in the parser to being disabled in Sema. llvm-svn: 67816
-
Zhongxing Xu authored
llvm-svn: 67813
-
Mike Stump authored
llvm-svn: 67806
-
Fariborz Jahanian authored
llvm-svn: 67802
-