hanchenye-llvm-project/clang/test/Coverage
Peter Collingbourne 03007d79fe Sema: have BuildExpressionFromIntegralTemplateArgument produce well-formed IntegerLiterals
BuildExpressionFromIntegralTemplateArgument can produce malformed
IntegerLiterals with an EnumType if the template parameter type
is an EnumType.  This breaks the AST printer which expects all
IntegerLiterals to have a plain integer type.  Instead, give the
IntegerLiteral the enum's promotion type and wrap in an implicit cast
to the EnumType.

llvm-svn: 121862
2010-12-15 15:06:14 +00:00
..
ast-printing.c Better coverage for -dump-record-layouts and -print-decl-contexts. 2010-01-03 02:01:11 +00:00
ast-printing.cpp "this patch properly addresses escaping < and > which might appear 2010-05-12 23:27:11 +00:00
ast-printing.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
c-language-features.inc Frontend/XML: Add support for printing nested structures, patch by Martin Vejnár! 2010-09-29 16:09:28 +00:00
codegen-gnu.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
codegen-next.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
codegen.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cxx-language-features.inc Sema: have BuildExpressionFromIntegralTemplateArgument produce well-formed IntegerLiterals 2010-12-15 15:06:14 +00:00
html-diagnostics.c putback r116782, it's a safe fix and should not break windows 2010-10-21 03:59:06 +00:00
html-print.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-language-features.inc Fix crash when synthesizing property setters when the property type and ivar 2009-10-27 19:21:30 +00:00
targets.c Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if 2010-10-11 05:44:49 +00:00
verbose.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00