hanchenye-llvm-project/clang/test/Parser
Richard Smith aba8b36abf Replace completely bogus ambiguous-compound-literal-in-C++ code with something
that isn't always wrong.

llvm-svn: 208844
2014-05-15 02:51:15 +00:00
..
CompoundStmtScope.c
DelayedTemplateParsing.cpp Handle -fdelayed-template-parsing of out-of-line definitions of 2014-05-02 02:01:07 +00:00
MicrosoftExtensions.c Fixing a typo, updating the diagnostic wording and logic based on post-commit review feedback. Amends r206186. 2014-04-15 00:36:39 +00:00
MicrosoftExtensions.cpp Implement the MS extension __identifier properly: take a token and strip it of 2014-03-15 00:06:08 +00:00
PR11000.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
access-spec-attrs.cpp
altivec-csk-bool.c Move a bunch of tests to directly use the CC1 layer. This at least saves 2014-01-15 09:08:07 +00:00
altivec.c Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
argument_qualified.c
argument_redef.c
argument_scope.c
arm-windows-calling-convention-handling.c Driver: add target definition for Windows on ARM 2014-04-04 20:31:19 +00:00
asm-constraints-pr7869.c
asm.c Parse: Avoid crashing on unterminated top-level asm strings 2013-12-10 21:29:48 +00:00
asm.cpp
atomic.c
attr-availability.c As Aaron pointed out it's simpler to reject wide string availability attr messages in the parser. 2013-09-13 17:31:48 +00:00
attributes.c Properly diagnose standard C++ attributes which have optional argument lists when the arguments are elided. eg) 2014-04-14 16:03:22 +00:00
attributes.mm Revert "Don't require -re suffix on -verify directives with regexes." 2013-12-14 01:07:05 +00:00
backtrack-crash.cpp
bad-control.c Fix to PR8880 (clang dies processing a for loop) 2014-01-23 15:05:00 +00:00
block-block-storageclass.c
block-pointer-decl.c
bracket-crash.cpp
builtin_classify_type.c Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
builtin_types_compatible.c
c-namespace.c
c1x-alignas.c
c1x-generic-selection.c
c11-noreturn.c
captured-statements.c
char-literal-printing.c
check-objc2-syntax-1.m [Parser] Remove "add -fmodules" from the "use of '@import' when modules are disabled, add -fmodules" error. 2014-04-17 02:32:52 +00:00
check-syntax-1.m
check_cast.c
colon-colon-parentheses.cpp
completely-empty-header-file.h
compound_literal.c Replace completely bogus ambiguous-compound-literal-in-C++ code with something 2014-05-15 02:51:15 +00:00
control-scope.c
crash-report.c Use the new --crash option in commands that are expected to crash. 2013-07-05 02:53:30 +00:00
cuda-kernel-call.cu
cxx-altivec.cpp Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
cxx-ambig-decl-expr-xfail.cpp
cxx-ambig-decl-expr.cpp
cxx-ambig-init-templ.cpp Modify the uninitialized field visitor to detect uninitialized use across the 2013-09-20 03:03:06 +00:00
cxx-ambig-paren-expr.cpp
cxx-attributes.cpp Factor out custom parsing for iboutletcollection and vec_type_hint attributes 2013-10-31 01:56:18 +00:00
cxx-bool.cpp
cxx-casting.cpp PR19748: Make sure we don't lose colon protection after the parenthesized type-id in a cast-expression. 2014-05-15 02:43:47 +00:00
cxx-class-template-specialization.cpp
cxx-class.cpp Improve diagnostics for malformed constructor declarations (where lookup for 2014-03-03 21:12:53 +00:00
cxx-condition.cpp
cxx-decl.cpp Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
cxx-default-args.cpp PR13657 (and duplicates): 2013-09-12 23:28:08 +00:00
cxx-default-delete.cpp
cxx-ext-delete-default.cpp
cxx-extern-c-array.cpp
cxx-extra-semi.cpp
cxx-friend.cpp Sema: Implement DR317 2014-03-30 06:44:54 +00:00
cxx-in-c.c
cxx-member-crash.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
cxx-member-init-missing-paren-crash.cpp
cxx-member-initializers.cpp PR16480: Reimplement token-caching for constructor initializer lists. This 2013-07-04 00:13:48 +00:00
cxx-namespace-alias.cpp
cxx-reference.cpp PR13110: Add a -Wignored-qualifiers warning when ignoring a const, volatile, or 2014-02-19 00:13:27 +00:00
cxx-stmt.cpp
cxx-template-argument.cpp Fix PR17637: incorrect calculation of template parameter depth 2013-12-04 03:51:14 +00:00
cxx-template-decl.cpp Fix PR17637: incorrect calculation of template parameter depth 2013-12-04 03:51:14 +00:00
cxx-throw.cpp
cxx-typeid.cpp
cxx-typeof.cpp
cxx-undeclared-identifier.cpp
cxx-using-declaration.cpp Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
cxx-using-directive.cpp Allow CorrectTypo to replace CXXScopeSpecifiers that refer to classes. 2013-10-19 00:05:00 +00:00
cxx-variadic-func.cpp
cxx0x-ambig.cpp Recover from errors in enum definition 2013-12-31 06:26:03 +00:00
cxx0x-attributes.cpp Fixing a typo, updating the diagnostic wording and logic based on post-commit review feedback. Amends r206186. 2014-04-15 00:36:39 +00:00
cxx0x-condition.cpp
cxx0x-decl.cpp Allow virt-specifiers after GNU attributes in member-declarators. GCC doesn't 2014-01-24 22:34:35 +00:00
cxx0x-for-range.cpp Revised wording for diagnostics in r208299 2014-05-09 09:49:29 +00:00
cxx0x-in-cxx98.cpp PR17567: Improve diagnostic for a mistyped constructor name. If we see something 2013-10-15 00:00:26 +00:00
cxx0x-lambda-expressions.cpp PR19339: Disambiguate lambdas with init-captures from designated initializers 2014-04-13 04:31:48 +00:00
cxx0x-literal-operators.cpp
cxx0x-member-initializers.cpp PR13657 (and duplicates): 2013-09-12 23:28:08 +00:00
cxx0x-override-control-keywords.cpp
cxx0x-rvalue-reference.cpp PR13110: Add a -Wignored-qualifiers warning when ignoring a const, volatile, or 2014-02-19 00:13:27 +00:00
cxx11-base-spec-attributes.cpp
cxx11-brace-initializers.cpp
cxx11-stmt-attributes.cpp Diagnose C++11 attributes before fp_contract pragmas. 2013-11-15 21:10:54 +00:00
cxx11-type-specifier.cpp Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
cxx11-user-defined-literals.cpp PR18870: Parse language linkage specifiers properly if the string-literal is 2014-02-17 23:25:27 +00:00
declarators.c Fix bungled parse recovery in K&R function declarations 2014-01-05 03:27:57 +00:00
designator.c
diag-crash.c Fix crash when both ExpectAndConsume and ConsumeAnyToken emit diagnostics 2014-02-23 03:45:03 +00:00
empty-translation-unit.c
encode.m
enhanced-proto-1.m
eof.cpp Fix PR 19630, don't crash when file ends with whitespace. 2014-05-02 23:40:32 +00:00
expressions.c Make wording for certain invalid unary expressions more consistent. 2013-10-09 00:22:23 +00:00
expressions.m
extension.c
for.cpp
function-decls.c
goto.c
if-scope-c90.c
if-scope-c99.c
implicit-casts.c
knr_parameter_attributes.c
method-def-in-class.m
method-prototype-1.m
missing-closing-rbrace.m
missing-end-2.m
missing-end-3.m
missing-end-4.m Revert my patch in r191155 to allow forward 2013-09-24 17:03:07 +00:00
missing-end.m
missing-selector-name.mm
ms-inline-asm.c Re-enable ms inline asm parser test. 2013-12-08 21:12:27 +00:00
namelookup-bug-1.c
namelookup-bug-2.c
namespace-alias-attr.cpp Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
namespaces.cpp
nested-namespaces-recovery.cpp
objc-alias-printing.m
objc-boxing.m
objc-category-neg-1.m
objc-diag-width.mm Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
objc-error-qualified-implementation.m Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
objc-forcollection-1.m
objc-forcollection-neg-2.m
objc-forcollection-neg.m
objc-foreach-syntax.m
objc-init.m
objc-interfaces.m
objc-messaging-1.m
objc-messaging-neg-1.m
objc-missing-impl.m
objc-property-syntax.m
objc-quirks.m
objc-recover.mm
objc-synthesized-recover.m
objc-try-catch-1.m
objc-type-printing.m
objcbridge-related-attribute.m ObjectiveC - Introducing objc_bridge_related attribute 2013-12-04 20:32:50 +00:00
objcxx-at.mm
objcxx-lambda-expressions-neg.mm
objcxx0x-lambda-expressions.mm Add compat/extension warnings for init captures. 2013-09-28 05:38:27 +00:00
objcxx11-attributes.mm Adding the Subjects entry back for the noreturn attributes. This caused some test cases to be updated because the original diagnostic was about applying to methods as well as functions, but the semantic checking disallowed methods. 2013-11-27 18:53:58 +00:00
objcxx11-initialized-temps.mm
objcxx11-protocol-in-template.mm
objcxx11-user-defined-literal.mm
offsetof.c
opencl-astype.cl Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
opencl-image-access.cl
opencl-kernel.cl
opencl-keywords.cl Fix a typo in r204164 that made *all* keywords available in OpenCL mode. 2014-03-18 22:43:19 +00:00
opencl-pragma.cl
opencl-storage-class.cl
parenthesis-balance.cpp
parmvardecl_conversion.c
parser_overflow.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
placeholder-recovery.m
pointer-arithmetic.c
pointer_promotion.c
pragma-fp-contract.c Fix bogus diagnostic wording. There's no such thing as a compound expression. 2013-11-15 21:08:45 +00:00
pragma-options.c
pragma-options.cpp
pragma-pack.c
pragma-visibility.c
pragma-visibility2.c
pragma-weak.c Fix a parser crash when there are #pragmas in a context which requires a single 2013-10-28 22:04:30 +00:00
promote_types_in_proto.c
recovery.c
recovery.cpp Improve error recovery around colon. 2014-04-13 16:52:03 +00:00
recovery.m
recursion-limits.cpp
selector-1.m
skip-function-bodies.mm
statements.c
struct-recursion.c
switch-recovery.cpp Allow CorrectTypo to replace CXXScopeSpecifiers that refer to classes. 2013-10-19 00:05:00 +00:00
top-level-semi-cxx0x.cpp
traditional_arg_scope.c
typeof.c
types.c
warn-dangling-else.cpp
warn-semicolon-before-method-body.m Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00