Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
79433b59915859126a774fcd09fa32d7d5a1a3ef
/
lib
/
Sema
/
SemaInit.cpp
« Previous
9e80f72
Better documentation for our initialization checker
by Douglas Gregor
· 15 years ago
c34ee5e
Move InitListChecker out of Sema.h
by Douglas Gregor
· 15 years ago
6fbdc6b
Eliminate infinite looping in a wacky case with designated initializers. Simplifies (somewhat) the actually checking of the initializer expression following the designators
by Douglas Gregor
· 15 years ago
54f0728
Remove Expr::hasSideEffects. It doesn't work anyway
by Douglas Gregor
· 15 years ago
34e7946
Improvements to code-generation and semantic analysis of designated
by Douglas Gregor
· 15 years ago
4c67834
Code generation support for C99 designated initializers.
by Douglas Gregor
· 15 years ago
20c6b3b
Split the single monolithic DiagnosticKinds.def file into one
by Chris Lattner
· 15 years ago
d6f584f
More APSInt appeasement
by Douglas Gregor
· 15 years ago
53d3d8e
Hopefully the last of the APSInt signedness issues with initializers. Fixes PR clang/3378
by Douglas Gregor
· 15 years ago
e3fa2de
Make sure all of the isUnsigned flags line up when comparing initializer values, to really really fix PR clang/3377
by Douglas Gregor
· 15 years ago
f6c717c
Properly manage the bit-widths of APInts/APSInts in array initialization.
by Douglas Gregor
· 15 years ago
87f55cf
Reimplement the handling of the "current object" in designator
by Douglas Gregor
· 15 years ago
05c13a3
Initial implementation of semantic analysis and ASTs for C99
by Douglas Gregor
· 15 years ago
09f41cf
Introduce support for C++0x explicit conversion operators (N2437)
by Douglas Gregor
· 15 years ago
b3eef68
Revert my previous, failed attempt to pretty-print anonymous struct/union accesses well. Added a FIXME so we know to revisit this later
by Douglas Gregor
· 15 years ago
83233a4
Fix printing of member references to avoid displaying implicitly-generated member references, e.g., for anonymous struct/unions or implicit 'this' in member functions
by Douglas Gregor
· 16 years ago
e267ff3
Address some comments on the name lookup/DeclContext patch from Chris
by Douglas Gregor
· 16 years ago
44b4321
Unifies the name-lookup mechanisms used in various parts of the AST
by Douglas Gregor
· 16 years ago
d162584
Change a whole lot of diagnostics to take QualType's directly
by Chris Lattner
· 16 years ago
f3a41af
remove the last old-fashioned Diag method. Transition complete!
by Chris Lattner
· 16 years ago
dcd5ef1
remove one more old-style Diag method.
by Chris Lattner
· 16 years ago
418f6c7
Remember whether an initlist had a designator in the AST.
by Chris Lattner
· 16 years ago
396f0bf
Support initialization of incomplete array with zero size (as extension).
by Daniel Dunbar
· 16 years ago
acc5f3e
More #include cleaning
by Daniel Dunbar
· 16 years ago
12bc692
Minor #include cleaning
by Daniel Dunbar
· 16 years ago
6135352
InitListChecker::CheckListElementTypes(): Check for function types and issue an appropriate diagnostic.
by Steve Naroff
· 16 years ago
1bb516c
Make sure to count the struct elements correctly; here, we want the
by Eli Friedman
· 16 years ago
c63a1f2
by Chris Lattner
· 16 years ago
39ba4ae
-Changes to TagDecl:
by Argyrios Kyrtzidis
· 16 years ago
c92e5e4
For struct initialization, check compatibility with the unqualified
by Eli Friedman
· 16 years ago
f84eda3
Count the number of initializable members correctly in structs/unions
by Eli Friedman
· 16 years ago
402256f
Diagnose implicit init list for empty aggregate, like struct {}. Fixes
by Eli Friedman
· 16 years ago
638e144
Move the error checking for variable-sized objects so we don't
by Eli Friedman
· 16 years ago
d8dc210
Be a bit more defensive in SemaInit.
by Eli Friedman
· 16 years ago
cda25a9
Adjust warning so that it doesn't fire when there is an error.
by Eli Friedman
· 16 years ago
bb504d3
Add errors for some illegal constructs (specifically, "int a = {{3}};"
by Eli Friedman
· 16 years ago
c9c0ea6
Some more SemaInit cleanup.
by Eli Friedman
· 16 years ago
b85f707
Various fixes; solves (almost) all of the test regressions that would be
by Eli Friedman
· 16 years ago
a647caa
Several fixes to SemaInit.cpp. It's still not enabled (since it fails a few tests). Expect to enable it very soon.
by Steve Naroff
· 16 years ago
0cca749
Replace Sema::CheckInitializerListTypes() with a helper class (InitListChecker) that synthesizes implicit InitListExpr's when appropriate (see InitListExpr comments in Expr.h for more details). I also moved the code to SemaInit.cpp, to help reduce clutter in SemaDecl.cpp.
by Steve Naroff
· 16 years ago