]> granicus.if.org Git - clang/commitdiff
Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsum...
authorAndy Gibbs <andyg1001@hotmail.co.uk>
Fri, 19 Oct 2012 12:44:48 +0000 (12:44 +0000)
committerAndy Gibbs <andyg1001@hotmail.co.uk>
Fri, 19 Oct 2012 12:44:48 +0000 (12:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166280 91177308-0d34-0410-b5e6-96231b3b80d8

580 files changed:
test/ASTMerge/exprs.c
test/Analysis/CFContainers-invalid.c
test/Analysis/CFRetainRelease_NSAssertionHandler.m
test/Analysis/MissingDealloc.m
test/Analysis/NSPanel.m
test/Analysis/NoReturn.m
test/Analysis/OSAtomic_mac.cpp
test/Analysis/ObjCProperties.m
test/Analysis/PR9741.cpp
test/Analysis/casts.c
test/Analysis/casts.m
test/Analysis/cfref_PR2519.c
test/Analysis/cfref_rdar6080742.c
test/Analysis/complex-init-list.cpp
test/Analysis/concrete-address.c
test/Analysis/cstring-syntax-cxx.cpp
test/Analysis/cxx-method-names.cpp
test/Analysis/cxx11-crashes.cpp
test/Analysis/dead-stores.m
test/Analysis/delegates.m
test/Analysis/engine/replay-without-inlining.c
test/Analysis/idempotent-operations.m
test/Analysis/inline2.c
test/Analysis/inline3.c
test/Analysis/inline4.c
test/Analysis/inlining/test_objc_inlining_option.m
test/Analysis/lvalue.cpp
test/Analysis/malloc-overflow.cpp
test/Analysis/method-call-intra-p.cpp
test/Analysis/misc-ps-64.m
test/Analysis/misc-ps-arm.m
test/Analysis/misc-ps-eager-assume.m
test/Analysis/misc-ps-region-store-i386.m
test/Analysis/misc-ps-region-store-x86_64.m
test/Analysis/misc-ps-region-store.mm
test/Analysis/no-exit-cfg.c
test/Analysis/null-deref-ps-region.c
test/Analysis/objc-bool.m
test/Analysis/pr_4164.c
test/Analysis/rdar-6442306-1.m
test/Analysis/rdar-6562655.m
test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m
test/Analysis/redefined_system.c
test/Analysis/region-1.m
test/Analysis/region-store.c
test/Analysis/security-syntax-checks-no-emit.c
test/Analysis/static_local.m
test/Analysis/svalbuilder-logic.c
test/Analysis/taint-tester.cpp
test/Analysis/taint-tester.m
test/Analysis/uninit-vals.m
test/Analysis/unions-region.m
test/Analysis/unions.cpp
test/CXX/basic/basic.lookup/basic.lookup.argdep/p2-template-id.cpp
test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp
test/CXX/basic/basic.lookup/basic.lookup.classref/p4-cxx11.cpp
test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p3.cpp
test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p4.cpp
test/CXX/basic/basic.lookup/basic.lookup.udir/p1.cpp
test/CXX/basic/basic.lookup/basic.lookup.unqual/p12.cpp
test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp
test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp
test/CXX/basic/basic.lookup/basic.lookup.unqual/p3.cpp
test/CXX/basic/basic.scope/basic.scope.pdecl/p9.cpp
test/CXX/basic/basic.start/basic.start.main/p2a.cpp
test/CXX/basic/basic.start/basic.start.main/p2b.cpp
test/CXX/basic/basic.start/basic.start.main/p2c.cpp
test/CXX/basic/basic.start/basic.start.main/p2g.cpp
test/CXX/basic/basic.stc/basic.stc.dynamic/p2-nodef.cpp
test/CXX/basic/basic.stc/basic.stc.dynamic/p2-noexceptions.cpp
test/CXX/class.access/class.protected/p1-cxx11.cpp
test/CXX/class.derived/p2.cpp
test/CXX/class/class.friend/p1-ambiguous.cpp
test/CXX/class/class.friend/p1-cxx11.cpp
test/CXX/class/class.nest/p3.cpp
test/CXX/class/p1-0x.cpp
test/CXX/class/p6-0x.cpp
test/CXX/conv/conv.prom/p2.cpp
test/CXX/conv/conv.prom/p4.cpp
test/CXX/conv/conv.ptr/p2.cpp
test/CXX/conv/conv.qual/pr6089.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.def/p2.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p10.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p13.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udir/p6.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/basic.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p1.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.string/p1.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p2.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p14.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.ref/p6-0x.cpp
test/CXX/dcl.decl/dcl.name/p1.cpp
test/CXX/dcl.decl/p4-0x.cpp
test/CXX/except/except.spec/canonical.cpp
test/CXX/except/except.spec/p11.cpp
test/CXX/expr/expr.cast/p4-0x.cpp
test/CXX/expr/expr.const/p3-0x-nowarn.cpp
test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp
test/CXX/expr/expr.post/expr.ref/p3.cpp
test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp
test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp
test/CXX/expr/expr.post/expr.type.conv/p1-0x.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p18.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p20.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p21.cpp
test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp
test/CXX/expr/expr.unary/expr.unary.op/p3.cpp
test/CXX/expr/p8.cpp
test/CXX/expr/p9.cpp
test/CXX/lex/lex.literal/lex.ccon/p1.cpp
test/CXX/lex/lex.trigraph/p3.cpp
test/CXX/over/over.built/p23.cpp
test/CXX/over/over.built/p25.cpp
test/CXX/over/over.match/over.match.best/over.ics.rank/p3-0x.cpp
test/CXX/over/over.match/over.match.best/p1.cpp
test/CXX/over/over.match/over.match.funcs/over.match.oper/p3.cpp
test/CXX/over/over.match/over.match.funcs/p4-0x.cpp
test/CXX/over/over.oper/over.literal/p7.cpp
test/CXX/special/class.conv/class.conv.ctor/p1.cpp
test/CXX/special/class.copy/p15-0x.cpp
test/CXX/special/class.copy/p8-cxx11.cpp
test/CXX/special/class.ctor/p1.cpp
test/CXX/special/class.dtor/p2.cpp
test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp
test/CXX/temp/temp.arg/temp.arg.type/p2-cxx0x.cpp
test/CXX/temp/temp.decls/temp.alias/p1.cpp
test/CXX/temp/temp.decls/temp.class.spec/p9.cpp
test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/p2.cpp
test/CXX/temp/temp.decls/temp.class.spec/temp.class.spec.mfunc/p1.cpp
test/CXX/temp/temp.decls/temp.class/temp.mem.func/p1-retmem.cpp
test/CXX/temp/temp.decls/temp.class/temp.mem.func/pr5056.cpp
test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3-0x.cpp
test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp
test/CXX/temp/temp.decls/temp.fct/temp.func.order/p5.cpp
test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4.cpp
test/CXX/temp/temp.decls/temp.friend/p5.cpp
test/CXX/temp/temp.decls/temp.mem/p1.cpp
test/CXX/temp/temp.decls/temp.variadic/deduction.cpp
test/CXX/temp/temp.decls/temp.variadic/example-bind.cpp
test/CXX/temp/temp.decls/temp.variadic/example-function.cpp
test/CXX/temp/temp.decls/temp.variadic/example-tuple.cpp
test/CXX/temp/temp.decls/temp.variadic/injected-class-name.cpp
test/CXX/temp/temp.decls/temp.variadic/partial-ordering.cpp
test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-0x.cpp
test/CXX/temp/temp.fct.spec/temp.arg.explicit/p9-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/cwg1170.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/sfinae-1.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p2.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p4.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p2.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p3.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p12.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p9-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p10-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p2-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p21.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p22.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p5-0x.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p8-0x.cpp
test/CXX/temp/temp.names/p2.cpp
test/CXX/temp/temp.names/p4.cpp
test/CXX/temp/temp.param/p10-0x.cpp
test/CXX/temp/temp.param/p10.cpp
test/CXX/temp/temp.param/p13.cpp
test/CXX/temp/temp.param/p2.cpp
test/CXX/temp/temp.param/p5.cpp
test/CXX/temp/temp.param/p8.cpp
test/CXX/temp/temp.res/temp.dep/p3.cpp
test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2-0x.cpp
test/CXX/temp/temp.res/temp.local/p1.cpp
test/CXX/temp/temp.res/temp.local/p7.cpp
test/CXX/temp/temp.res/temp.local/p8.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p1.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p11.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p9.cpp
test/CXX/temp/temp.spec/temp.explicit/p11.cpp
test/CXX/temp/temp.spec/temp.explicit/p3-0x.cpp
test/CXX/temp/temp.spec/temp.explicit/p6.cpp
test/CodeGen/2009-06-01-addrofknr.c
test/CodeGen/arm-aapcs-zerolength-bitfield.c
test/CodeGen/arm-apcs-zerolength-bitfield.c
test/CodeGen/func-ptr-cast-decl.c
test/CodeGenCXX/conversion-operator-base.cpp
test/CodeGenCXX/copy-assign-synthesis-3.cpp
test/CodeGenCXX/dependent-type-member-pointer.cpp
test/CodeGenCXX/enum.cpp
test/CodeGenCXX/incomplete-types.cpp
test/CodeGenCXX/instantiate-init-list.cpp
test/CodeGenCXX/member-call-parens.cpp
test/CodeGenCXX/member-init-struct.cpp
test/CodeGenCXX/member-init-union.cpp
test/CodeGenCXX/new-operator-phi.cpp
test/CodeGenCXX/reference-bind-default-argument.cpp
test/CodeGenCXX/reference-init.cpp
test/CodeGenCXX/static-assert.cpp
test/CodeGenCXX/static-init-2.cpp
test/CodeGenCXX/throw-expression-dtor.cpp
test/CodeGenCXX/throw-expressions.cpp
test/CodeGenCXX/unary-type-trait.cpp
test/Driver/no-objc-arr.m
test/Driver/x86_64-nacl-types.cpp
test/Frontend/iframework.c
test/Frontend/macros.c
test/Frontend/unknown-pragmas.c
test/Frontend/warning-mapping-1.c
test/Frontend/warning-mapping-4.c
test/Headers/c89.c
test/Headers/int64-type.c
test/Headers/typedef_guards.c
test/Headers/wchar_limits.cpp
test/Headers/wmmintrin.c
test/Lexer/clang-keywords.cpp
test/Lexer/digraph.c
test/Lexer/gnu_keywords.c
test/Lexer/long-long.cpp
test/Lexer/msdos-cpm-eof.c
test/Lexer/newline-eof-c++11.cpp
test/Lexer/numeric-literal-trash.c
test/Lexer/pragma-mark.c
test/Lexer/rdr-6096838.c
test/Misc/predefines.c
test/Modules/Inputs/lookup_right.hpp
test/Modules/compiler_builtins.m
test/Modules/header-import.m
test/Modules/inferred-submodules.m
test/Modules/on-demand-macros.m
test/Modules/redeclarations.m
test/Modules/submodules.m
test/Modules/templates.mm
test/PCH/__va_list_tag.c
test/PCH/asm.c
test/PCH/builtins.c
test/PCH/chain-categories.m
test/PCH/chain-class-extension.m
test/PCH/chain-cxx.cpp
test/PCH/chain-decls.c
test/PCH/chain-macro.c
test/PCH/chain-remap-types.m
test/PCH/cmdline-include.c
test/PCH/cxx-exprs.cpp
test/PCH/cxx-friends.cpp
test/PCH/cxx-functions.cpp
test/PCH/cxx-implicit-moves.cpp
test/PCH/cxx-method.cpp
test/PCH/cxx-ms-function-specialization-class-scope.cpp
test/PCH/cxx-namespaces.cpp
test/PCH/cxx-templates.cpp
test/PCH/cxx-traits.cpp
test/PCH/cxx-typeid.cpp
test/PCH/cxx-variadic-templates.cpp
test/PCH/cxx11-exception-spec.cpp
test/PCH/cxx_exprs.cpp
test/PCH/enum.c
test/PCH/exprs.c
test/PCH/objc_container.m
test/PCH/objc_import.m
test/PCH/objc_literals.m
test/PCH/objc_literals.mm
test/PCH/objc_methods.m
test/PCH/objc_property.m
test/PCH/pending-ids.m
test/PCH/pragma-diag-section.cpp
test/PCH/pragma-diag.c
test/PCH/rdar8852495.c
test/PCH/reinclude.cpp
test/PCH/single-token-macro.c
test/Parser/block-block-storageclass.c
test/Parser/block-pointer-decl.c
test/Parser/check-objc2-syntax-1.m
test/Parser/compound_literal.c
test/Parser/cxx-attributes.cpp
test/Parser/cxx-extern-c-array.cpp
test/Parser/cxx0x-override-control-keywords.cpp
test/Parser/cxx11-brace-initializers.cpp
test/Parser/encode.m
test/Parser/enhanced-proto-1.m
test/Parser/if-scope-c90.c
test/Parser/knr_parameter_attributes.c
test/Parser/namelookup-bug-1.c
test/Parser/namelookup-bug-2.c
test/Parser/opencl-kernel.cl
test/Parser/parmvardecl_conversion.c
test/Parser/pragma-options.cpp
test/Parser/recursion-limits.cpp
test/Parser/selector-1.m
test/Parser/top-level-semi-cxx0x.cpp
test/Parser/types.c
test/Preprocessor/comment_save_if.c
test/Preprocessor/cxx_true.cpp
test/Preprocessor/expr_define_expansion.c
test/Preprocessor/expr_multichar.c
test/Preprocessor/macro_paste_identifier_error.c
test/Preprocessor/objc-pp.m
test/Preprocessor/optimize.c
test/Preprocessor/pragma_sysheader.c
test/Preprocessor/user_defined_system_framework.c
test/Sema/PR2727.c
test/Sema/PR2728.c
test/Sema/PR2923.c
test/Sema/address-constant.c
test/Sema/align-arm-apcs.c
test/Sema/align-x86-64.c
test/Sema/align-x86.c
test/Sema/arg-scope-c99.c
test/Sema/arg-scope.c
test/Sema/arm-layout.c
test/Sema/assign-null.c
test/Sema/bitfield-layout.c
test/Sema/bitfield-promote.c
test/Sema/block-storageclass.c
test/Sema/builtin_objc_msgSend.c
test/Sema/builtins-decl.c
test/Sema/check-increment.c
test/Sema/complex-promotion.c
test/Sema/const-eval-64.c
test/Sema/const-ptr-int-ptr-cast.c
test/Sema/constant-builtins.c
test/Sema/darwin-align-cast.c
test/Sema/enum-packed.c
test/Sema/expr-comma-c99.c
test/Sema/expr-comma.c
test/Sema/format-string-percentm.c
test/Sema/implicit-builtin-freestanding.c
test/Sema/init-struct-qualified.c
test/Sema/init-vector.c
test/Sema/int-arith-convert.c
test/Sema/knr-variadic-def.c
test/Sema/many-logical-ops.c
test/Sema/member-reference.c
test/Sema/mms-bitfields.c
test/Sema/ms_wide_predefined_expr.cpp
test/Sema/overloaded-func-transparent-union.c
test/Sema/pragma-align-mac68k.c
test/Sema/pragma-align-packed.c
test/Sema/pragma-pack-2.c
test/Sema/pragma-pack-3.c
test/Sema/pragma-pack-4.c
test/Sema/pragma-pack-5.c
test/Sema/pragma-pack-6.c
test/Sema/return-silent.c
test/Sema/short-enums.c
test/Sema/struct-cast.c
test/Sema/struct-packed-align.c
test/Sema/surpress-deprecated.c
test/Sema/transparent-union-pointer.c
test/Sema/typedef-prototype.c
test/Sema/unnamed-bitfield-init.c
test/Sema/va_arg_x86_64.c
test/Sema/variadic-block.c
test/Sema/vfprintf-valid-redecl.c
test/Sema/warn-gnu-designators.c
test/Sema/weak-import-on-enum.c
test/SemaCXX/2008-01-11-BadWarning.cpp
test/SemaCXX/MicrosoftCompatibilityNoExceptions.cpp
test/SemaCXX/PR10447.cpp
test/SemaCXX/PR5086-ambig-resolution-enum.cpp
test/SemaCXX/PR6562.cpp
test/SemaCXX/PR9884.cpp
test/SemaCXX/PR9902.cpp
test/SemaCXX/PR9908.cpp
test/SemaCXX/__try.cpp
test/SemaCXX/anonymous-union-cxx11.cpp
test/SemaCXX/blocks-1.cpp
test/SemaCXX/blocks.cpp
test/SemaCXX/borland-extensions.cpp
test/SemaCXX/builtin-exception-spec.cpp
test/SemaCXX/builtin-ptrtomember-overload.cpp
test/SemaCXX/builtin_objc_msgSend.cpp
test/SemaCXX/cast-explicit-ctor.cpp
test/SemaCXX/class-layout.cpp
test/SemaCXX/comma.cpp
test/SemaCXX/complex-init-list.cpp
test/SemaCXX/constexpr-turing.cpp
test/SemaCXX/decltype-98.cpp
test/SemaCXX/decltype-pr4444.cpp
test/SemaCXX/decltype-pr4448.cpp
test/SemaCXX/decltype-this.cpp
test/SemaCXX/decltype.cpp
test/SemaCXX/default-argument-temporaries.cpp
test/SemaCXX/do-while-scope.cpp
test/SemaCXX/empty-class-layout.cpp
test/SemaCXX/exception-spec-no-exceptions.cpp
test/SemaCXX/friend-out-of-line.cpp
test/SemaCXX/gnu-case-ranges.cpp
test/SemaCXX/goto2.cpp
test/SemaCXX/indirect-goto.cpp
test/SemaCXX/issue547.cpp
test/SemaCXX/local-classes.cpp
test/SemaCXX/lookup-member.cpp
test/SemaCXX/member-expr-anonymous-union.cpp
test/SemaCXX/member-expr-static.cpp
test/SemaCXX/member-pointer-size.cpp
test/SemaCXX/ms-exception-spec.cpp
test/SemaCXX/new-delete-predefined-decl-2.cpp
test/SemaCXX/new-delete-predefined-decl.cpp
test/SemaCXX/no-warn-composite-pointer-type.cpp
test/SemaCXX/nullptr-98.cpp
test/SemaCXX/overload-value-dep-arg.cpp
test/SemaCXX/overloaded-builtin-operators-0x.cpp
test/SemaCXX/pragma-pack.cpp
test/SemaCXX/pragma-unused.cpp
test/SemaCXX/prefetch-enum.cpp
test/SemaCXX/primary-base.cpp
test/SemaCXX/ptrtomember-overload-resolution.cpp
test/SemaCXX/qualified-member-enum.cpp
test/SemaCXX/short-wchar-sign.cpp
test/SemaCXX/static-initializers.cpp
test/SemaCXX/tag-ambig.cpp
test/SemaCXX/trivial-constructor.cpp
test/SemaCXX/trivial-destructor.cpp
test/SemaCXX/unused-functions.cpp
test/SemaCXX/using-decl-pr4441.cpp
test/SemaCXX/using-decl-pr4450.cpp
test/SemaCXX/value-dependent-exprs.cpp
test/SemaCXX/vararg-default-arg.cpp
test/SemaCXX/warn-new-overaligned-2.cpp
test/SemaCXX/warn-self-comparisons.cpp
test/SemaCXX/zero-length-arrays.cpp
test/SemaObjC/ClassPropertyNotObject.m
test/SemaObjC/ContClassPropertyLookup.m
test/SemaObjC/arc-readonly-property-ivar-1.m
test/SemaObjC/arc-readonly-property-ivar.m
test/SemaObjC/arc-setter-property-match.m
test/SemaObjC/arc-unsafe_unretained.m
test/SemaObjC/attr-cleanup.m
test/SemaObjC/block-as-object.m
test/SemaObjC/block-ivar.m
test/SemaObjC/block-return.m
test/SemaObjC/builtin_objc_assign_ivar.m
test/SemaObjC/builtin_objc_msgSend.m
test/SemaObjC/category-method-lookup-2.m
test/SemaObjC/category-method-lookup.m
test/SemaObjC/class-getter-using-dotsyntax.m
test/SemaObjC/class-property-access.m
test/SemaObjC/class-protocol.m
test/SemaObjC/comptypes-2.m
test/SemaObjC/comptypes-8.m
test/SemaObjC/conditional-expr-5.m
test/SemaObjC/conditional-expr-6.m
test/SemaObjC/conditional-expr-7.m
test/SemaObjC/conditional-expr-8.m
test/SemaObjC/conflict-nonfragile-abi2.m
test/SemaObjC/delay-parsing-cfunctions.m
test/SemaObjC/direct-synthesized-ivar-access.m
test/SemaObjC/enhanced-proto-2.m
test/SemaObjC/enum-fixed-type.m
test/SemaObjC/getter-setter-defined-in-category-of-parent.m
test/SemaObjC/id_builtin.m
test/SemaObjC/ignore-qualifier-on-qualified-id.m
test/SemaObjC/ignore-weakimport-method.m
test/SemaObjC/interface-layout-2.m
test/SemaObjC/interface-layout.m
test/SemaObjC/interface-scope-2.m
test/SemaObjC/interface-scope.m
test/SemaObjC/ivar-access-package.m
test/SemaObjC/method-conflict-1.m
test/SemaObjC/method-in-class-extension-impl.m
test/SemaObjC/method-lookup-2.m
test/SemaObjC/method-lookup-4.m
test/SemaObjC/nested-typedef-decl.m
test/SemaObjC/no-gc-weak-test.m
test/SemaObjC/no-ivar-access-control.m
test/SemaObjC/no-warn-qual-mismatch.m
test/SemaObjC/no-warn-synth-protocol-meth.m
test/SemaObjC/no-warn-unimpl-method.m
test/SemaObjC/no-warning-unavail-unimp.m
test/SemaObjC/nowarn-superclass-method-mismatch.m
test/SemaObjC/nsobject-attribute-1.m
test/SemaObjC/objc-buffered-methods.m
test/SemaObjC/objc-qualified-property-lookup.m
test/SemaObjC/overriding-property-in-class-extension.m
test/SemaObjC/pedantic-dynamic-test.m
test/SemaObjC/pragma-pack.m
test/SemaObjC/property-11.m
test/SemaObjC/property-13.m
test/SemaObjC/property-2.m
test/SemaObjC/property-6.m
test/SemaObjC/property-7.m
test/SemaObjC/property-8.m
test/SemaObjC/property-9-impl-method.m
test/SemaObjC/property-and-ivar-use.m
test/SemaObjC/property-dot-receiver.m
test/SemaObjC/property-method-lookup-impl.m
test/SemaObjC/property-nonfragile-abi.m
test/SemaObjC/property-noprotocol-warning.m
test/SemaObjC/property-redundant-decl-accessor.m
test/SemaObjC/property-weak.m
test/SemaObjC/props-on-prots.m
test/SemaObjC/protocol-expr-1.m
test/SemaObjC/protocol-implementation-inherited.m
test/SemaObjC/protocol-lookup-2.m
test/SemaObjC/protocol-lookup.m
test/SemaObjC/protocol-qualified-class-unsupported.m
test/SemaObjC/rdar6248119.m
test/SemaObjC/restrict-id-type.m
test/SemaObjC/selector-1.m
test/SemaObjC/selector-2.m
test/SemaObjC/self-declared-in-block.m
test/SemaObjC/self-in-function.m
test/SemaObjC/setter-dotsyntax.m
test/SemaObjC/super-cat-prot.m
test/SemaObjC/super-property-message-expr.m
test/SemaObjC/super-property-notation.m
test/SemaObjC/synth-provisional-ivars-1.m
test/SemaObjC/synthesize-setter-contclass.m
test/SemaObjC/transparent-union.m
test/SemaObjC/ucn-objc-string.m
test/SemaObjC/va-method-1.m
test/SemaObjC/writable-property-in-superclass.m
test/SemaObjCXX/arc-bool-conversion.mm
test/SemaObjCXX/arc-libstdcxx.mm
test/SemaObjCXX/arc-memfunc.mm
test/SemaObjCXX/arc-type-traits.mm
test/SemaObjCXX/argument-dependent-lookup.mm
test/SemaObjCXX/composite-objc-pointertype.mm
test/SemaObjCXX/conversion-ranking.mm
test/SemaObjCXX/conversion-to-objc-pointer-2.mm
test/SemaObjCXX/conversion-to-objc-pointer.mm
test/SemaObjCXX/debugger-support.mm
test/SemaObjCXX/delay-parsing-cfunctions.mm
test/SemaObjCXX/delay-parsing-cplusfuncs.mm
test/SemaObjCXX/delay-parsing-func-tryblock.mm
test/SemaObjCXX/expr-objcxx.mm
test/SemaObjCXX/function-pointer-void-star.mm
test/SemaObjCXX/instantiate-method-return.mm
test/SemaObjCXX/ivar-lookup.mm
test/SemaObjCXX/ivar-struct.mm
test/SemaObjCXX/linkage-spec.mm
test/SemaObjCXX/namespace-lookup.mm
test/SemaObjCXX/null_objc_pointer.mm
test/SemaObjCXX/nullptr.mm
test/SemaObjCXX/overload-gc.mm
test/SemaObjCXX/pointer-to-objc-pointer-conv.mm
test/SemaObjCXX/property-type-mismatch.mm
test/SemaObjCXX/references.mm
test/SemaObjCXX/reinterpret-cast-objc-pointertype.mm
test/SemaObjCXX/reserved-keyword-methods.mm
test/SemaObjCXX/standard-conversion-to-bool.mm
test/SemaObjCXX/static-cast.mm
test/SemaObjCXX/vla.mm
test/SemaOpenCL/cond.cl
test/SemaOpenCL/init.cl
test/SemaOpenCL/vec_compare.cl
test/SemaOpenCL/vector_literals_const.cl
test/SemaTemplate/ackermann.cpp
test/SemaTemplate/alias-church-numerals.cpp
test/SemaTemplate/alias-template-template-param.cpp
test/SemaTemplate/array-to-pointer-decay.cpp
test/SemaTemplate/atomics.cpp
test/SemaTemplate/default-arguments-cxx0x.cpp
test/SemaTemplate/dependent-base-member-init.cpp
test/SemaTemplate/dependent-expr.cpp
test/SemaTemplate/enum-argument.cpp
test/SemaTemplate/example-typelist.cpp
test/SemaTemplate/instantiate-array.cpp
test/SemaTemplate/instantiate-attr.cpp
test/SemaTemplate/instantiate-decl-init.cpp
test/SemaTemplate/instantiate-declref-ice.cpp
test/SemaTemplate/instantiate-deeply.cpp
test/SemaTemplate/instantiate-dependent-nested-name.cpp
test/SemaTemplate/instantiate-elab-type-specifier.cpp
test/SemaTemplate/instantiate-enum-2.cpp
test/SemaTemplate/instantiate-friend-class.cpp
test/SemaTemplate/instantiate-local-class.cpp
test/SemaTemplate/instantiate-non-type-template-parameter.cpp
test/SemaTemplate/instantiate-overloaded-arrow.cpp
test/SemaTemplate/instantiate-sizeof.cpp
test/SemaTemplate/instantiation-default-3.cpp
test/SemaTemplate/issue150.cpp
test/SemaTemplate/lookup-dependent-bases.cpp
test/SemaTemplate/member-initializers.cpp
test/SemaTemplate/nested-linkage.cpp
test/SemaTemplate/operator-function-id-template.cpp
test/SemaTemplate/overload-uneval.cpp
test/SemaTemplate/pragma-ms_struct.cpp
test/SemaTemplate/temp_class_spec_blocks.cpp
test/SemaTemplate/template-class-traits.cpp
test/SemaTemplate/typo-dependent-name.cpp
test/SemaTemplate/unresolved-construct.cpp

index 0a4e1e51e24d5540275efc6e8906ca1b98e0ce6f..c82e6831f5c6c4266616f4c12a63f49d434f1cd1 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/exprs1.c
 // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/exprs2.c
 // RUN: %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only -verify %s
+// expected-no-diagnostics
 
index 939af06b7658496a13dd47d1ae490a0bf0d5fb76..3268e1eae2534075785380135c4b6a04e0432e08 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -triple x86_64-apple-darwin -verify %s
+// expected-no-diagnostics
 
 typedef const struct __CFAllocator * CFAllocatorRef;
 typedef const struct __CFArray * CFArrayRef;
index 5ffcaae07fcc02f7fc19746c18e78084d0347136..853bfb24dacd2475829d974b83731a99c2addf74 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify %s -analyzer-constraints=range -analyzer-store=region
+// expected-no-diagnostics
 
 typedef struct objc_selector *SEL;
 typedef signed char BOOL;
index 29803382276ed6591f6833327aaa37a3f53f71f1..b465959791b07d46f7a4a210a4f9a1bff84970b2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=alpha.osx.cocoa.Dealloc %s -verify
+// expected-no-diagnostics
 typedef signed char BOOL;
 @protocol NSObject
 - (BOOL)isEqual:(id)object;
index 602ed07ed51c1a7c073d833ea4c66aaa41de5da7..1d77d1e3702bac87ed249ceea41b115aee9d5cca 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-store=region -analyzer-constraints=range -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 // BEGIN delta-debugging reduced header stuff
 
index fafb44f134356e07f8f38580f46a9bd133d1aa0f..6d547f47f66ce860e3e8849ae070c6eaa2f1672e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -verify %s
+// expected-no-diagnostics
 
 #include <stdarg.h>
 
index 8ad7b3c3da66e2edc45c4bd7da1b49478e05d385..f93895893c59fddf1ebf19d2b87a9dd6fb46170e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,osx -analyzer-store=region -verify -fblocks   -analyzer-opt-analyze-nested-blocks %s
+// expected-no-diagnostics
 
 // Test handling of OSAtomicCompareAndSwap when C++ inserts "no-op" casts and we
 // do a forced load and binding to the environment on an expression that would regularly
index 53b919b729b43778c05310648922afee07a80a4a..1712feff5b7862966e1d17c02a8dd6d0253e478a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -Wno-objc-root-class %s -verify
+// expected-no-diagnostics
 
 // The point of this test cases is to exercise properties in the static
 // analyzer
index 7497d5627c918d97d1d6a27e41730f3e2c80be80..2807c44ab7bc69a2349fee40e59841eff6613bfc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -cc1 -std=c++11 -Wuninitialized -verify %s
+// expected-no-diagnostics
 
 void f() {
   int a[] = { 1, 2, 3 };
index 0e158d34ec4b165af884eee5ca53470703647e0d..1c0f35749b22af199447fc47d5e1317b69c86637 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
+// expected-no-diagnostics
 
 // Test if the 'storage' region gets properly initialized after it is cast to
 // 'struct sockaddr *'. 
index 0560692d815ce7d5d2cd250c7fcf74203bfb0309..1a78940eee25e7577f9e4ca4cbab039002e2da86 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
+// expected-no-diagnostics
 
 // Test function pointer casts.  Currently we track function addresses using
 // loc::FunctionVal.  Because casts can be arbitrary, do we need to model
index 03e42220b225ee2261d01c292cedfd4eac79b57b..7fce2263c23b838eae7687f8e4a6dd76e82c2a6f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-store=region -analyzer-constraints=range -verify %s
+// expected-no-diagnostics
 
 typedef unsigned char Boolean;
 typedef signed long CFIndex;
index e1a8805fbc163cd556f92b695d9d2158af27b3e6..0023d13703abc40a53578139f133badeaebeca4a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -verify %s
+// expected-no-diagnostics
 
 // This test case was reported in <rdar:problem/6080742>.
 // It tests path-sensitivity with respect to '!(cfstring != 0)' (negation of inequality).
index 24244cb5eff0dd6de8d26f54bc17a95484b6caec..bbff64b7a13f57354ed91ff2e329c2c903368ba9 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -verify %s
+// expected-no-diagnostics
 
 // Do not crash on initialization to complex numbers.
 void init_complex() {
index d460df071595dd7f28e94ec08ad29fcfd54e918a..819afca967c90ece2a5b8e52f3d581351588a414 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
+// expected-no-diagnostics
 
 void foo() {
   int *p = (int*) 0x10000; // Should not crash here.
index f8975abc185b7cd381504966f4b5a58fbdc193bf..bae3d0a1642378ee5bf18302ebb3c40ff4d203ee 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=unix.cstring.BadSizeArg -analyzer-store=region -verify %s
+// expected-no-diagnostics
 
 // Ensure we don't crash on C++ declarations with special names.
 struct X {
index 7d57c3539689f120199d1750618035e7f317f154..21be5e4bd3f4d1daa3f67f01d9a04464ed70437c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -analyzer-store region -verify %s
+// expected-no-diagnostics
 
 class Evil {
 public:
index 16bfc891000f611761641b6cb567e3201cdc94ae..d0b9222b6a66437dabfbd10998228bf73648828f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -std=c++11 -verify %s
+// expected-no-diagnostics
 
 // radar://11485149, PR12871
 class PlotPoint {
index 9edb60d8c13f0cdf0c3d14b0b5c47cd1ffc94c42..5a807ed52c99d8c30be524495de5a9e11f91bc73 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index 7fc4f2bb96166e130f2290983b7cd2f1469ffe1f..28e9006c18e5daf9222362be0893640519759e1c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-store=region -Wno-objc-root-class -verify %s
+// expected-no-diagnostics
 
 
 //===----------------------------------------------------------------------===//
index 9ec2d08f3993a0131c58a08aeec4e241b9ae94b2..06029731694bff23197498b8da76e717e8b1ac96 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -verify %s
+// expected-no-diagnostics
 
 typedef struct {
     char I[4];
index ef00cf975cb0c4632d989546546d6232ce3ddf17..306376dd57577342081889f1b7fc8afd9f487a5b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-store=region -analyzer-constraints=range -fblocks -analyzer-opt-analyze-nested-blocks -analyzer-checker=alpha.deadcode.IdempotentOperations,osx.cocoa.RetainCount -verify %s
+// expected-no-diagnostics
 
 typedef signed char BOOL;
 typedef unsigned long NSUInteger;
index 2a39c66fcb1b60acd686efeb400d5ac54df13aae..bae7434518e2ac267100d366fedaa41430c78253 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -verify %s
+// expected-no-diagnostics
 
 // Test parameter 'a' is registered to LiveVariables analysis data although it
 // is not referenced in the function body. 
index 05f56fbc58e1716569b4f23807b6e621e67db333..e7f4775925a1084d5fd0108d63e59fc4db82a9bc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -verify %s
+// expected-no-diagnostics
 
 // Test when entering f1(), we set the right AnalysisDeclContext to Environment.
 // Otherwise, block-level expr '1 && a' would not be block-level.
index 1dcebbe64d6880de563c5342a7b1f1f75a769a8f..71a379a02c75510955dd2c79864160a383b04e15 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -verify %s
+// expected-no-diagnostics
 
 int g(int a) {    
   return a;
index 963b572b1e3f56c3078e759daac8847096ec3bf2..34502c4aa81d4a564aac528e79deb0f8f8c4ab4f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify %s
+// expected-no-diagnostics
 
 typedef signed char BOOL;
 typedef struct objc_class *Class;
index 0cc42f50372b3b82a46f9336f8de6aaab2ee5b7b..9a6bd5939743aea7cfc49479fa0d28f7f2528c61 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -verify %s
+// expected-no-diagnostics
 
 int f1() {
   int x = 0, y = 1;
index 79d525308363326b42a425e714a0cb882515f49b..e3a0408863e66522de3544266f9020acea4cf7c2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=alpha.security.MallocOverflow -verify %s
+// expected-no-diagnostics
 
 class A {
 public:
index 701479faa820be06aa87de1aaedbf8b0eee31e72..a1709428402c4672aa196a6dea4ae6fb8d6d6cbc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store region -verify %s
+// expected-no-diagnostics
 
 // Intra-procedural C++ tests.
 
index dcda8d7667d1c66ad353669984eb2665ccf4a55e..1fbbeefd2ae45d6d16d5b850a166bb3b3320e994 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
+// expected-no-diagnostics
 
 // <rdar://problem/6440393> - A bunch of misc. failures involving evaluating
 //  these expressions and building CFGs.  These tests are here to prevent
index a909ef13d0f8a71f7b674d33793a615cab8f5abd..1ff0f17cea5f9ef97a6fc5bb48ab4657be38e6af 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple thumbv7-apple-ios0.0.0 -analyze -analyzer-checker=core -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 // <rdar://problem/11405978> - Handle casts of vectors to structs, and loading
 // a value.
index 58d9c8e1488c01b72ad8c4624752baea679483c4..9fbe3d0e4ee9a525b58f402346fa7e774bcf2ccd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s -analyzer-eagerly-assume
+// expected-no-diagnostics
 
 // Delta-reduced header stuff (needed for test cases).
 typedef signed char BOOL;
index 0f7040a0527cc58a45c1b46d992fde2564e726b4..bed6fc30d315ce3c3975a62d48c29106eb432e33 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify -fblocks %s
+// expected-no-diagnostics
 
 // Here is a case where a pointer is treated as integer, invalidated as an
 // integer, and then used again as a pointer.   This test just makes sure
index 9ff877240cffe42884a516b1f1f7472316e1feac..4575ad44977bdca5352bdb46392a9e4b6a2a950a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify -fblocks %s
+// expected-no-diagnostics
 
 // Here is a case where a pointer is treated as integer, invalidated as an
 // integer, and then used again as a pointer.   This test just makes sure
index a5b0b8d4b5836c4969793126b55c780b5d38cda7..c19a90f011c8280ba8b73ef069a419ccbf9097f5 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify -fblocks   -analyzer-opt-analyze-nested-blocks %s
+// expected-no-diagnostics
 
 //===------------------------------------------------------------------------------------------===//
 // This files tests our path-sensitive handling of Objective-c++ files.
index ee248e04c163c2be2188276a39b2905f17c0d8ac..b3c3fbcc624126fa36ae6a7b7a1d51843543d9f6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s 
+// expected-no-diagnostics
 
 // This is a test case for the issue reported in PR 2819:
 //  http://llvm.org/bugs/show_bug.cgi?id=2819
index 30dba25d1dbe599e2bc119fae0943074e9be8ae4..5bb945486fbccb2575623e5027a81e12b9d09132 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -std=gnu99 -analyzer-store=region -verify %s
+// expected-no-diagnostics
 
 
 // The store for 'a[1]' should not be removed mistakenly. SymbolicRegions may
index f95736a6df51d453e618af92e2922b62c810c906..a2d10cc3badecd574dccb7af7fc23d26b6141312 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang --analyze %s -o %t -Xclang -verify
+// expected-no-diagnostics
 
 // Test handling of ObjC bool literals.
 
index 972a6b2dd403011a82090d425244682e8ec603c2..0d2ca41b32e1d9677a7ef72f21ae2fdaa5b70839 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
+// expected-no-diagnostics
 
 // PR 4164: http://llvm.org/bugs/show_bug.cgi?id=4164
 //
index aad055a70a127f10d258ec3b4fa22c9628cdb95d..0fb49c2a9b2fd69ff09746a5d0a0f2bdf13a6029 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core %s -analyzer-store=region -verify
+// expected-no-diagnostics
 
 typedef int bar_return_t;
 typedef struct {
index d2f5fd9855a82f5f495b9b2aaa7a4a3837651719..1c866bb03732228b154a5ae1cbf666708068b940 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-constraints=range -analyzer-store=region -verify %s
+// expected-no-diagnostics
 //
 // This test case mainly checks that the retain/release checker doesn't crash
 // on this file.
index 3f3c778779f709ec7a71791334d1847670114009..74d5484fae8b668cc7bc5a14fa813ff8c8d38db5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=range -analyzer-store=region -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 typedef struct Foo { int x; } Bar;
 
index 2b998200e70629b8d9d12202dc6c454e9625c507..ae5bf2647f70536fed3fdbd77a63c36ef237c0b0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=unix,core,alpha.security.taint -w -verify %s
+// expected-no-diagnostics
 
 // Make sure we don't crash when someone redefines a system function we reason about.
 
index 98ac582b762d74270dcdeeb8dd80122ec86f31e8..9edb35b78b7c4410cdcbdb505bd718ea83f252d3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify %s
+// expected-no-diagnostics
 //
 // This test case simply should not crash.  It evaluates the logic of not
 // using MemRegion::getRValueType in incorrect places.
index 09c3f102e3ad36b38b97c075c955711020fef573..d62015008572188a52c4c67ae740e0b2f51d6539 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -verify %s
+// expected-no-diagnostics
 
 int printf(const char *restrict,...);
 
index c2869cabae99b76804dc027d36821a0c5f304425..7759aa73b33b32a2f45158888f3f2abb159b4b3a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -analyze -analyzer-checker=security.insecureAPI,security.FloatLoopCounter %s -verify
+// expected-no-diagnostics
 
 // This file complements 'security-syntax-checks.m', but tests that we omit
 // specific checks on platforms where they don't make sense.
index 709262535f788d38b6050547a44fb3b378345c4d..dcd49e11a16c677b9e551e46fb2871aeabcb0b21 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 // Test reasoning about static locals in ObjCMethods. 
 int *getValidPtr();
index bc79f859053c0cb12290f1102d11d76179e16267..41d4fe21c2f0018a0eeb153ed780a37d777c8826 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix -verify %s
+// expected-no-diagnostics
 
 // Testing core functionality of the SValBuilder.
 
index ded8dc91bfb3aa73a30b5b40dd730e8eb4963a00..f97eefb950e3b25de8d34ab894bb8fd7140b8b48 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -analyze -analyzer-checker=alpha.security.taint,debug.TaintTest %s -verify
+// expected-no-diagnostics
 
 typedef struct _FILE FILE;
 typedef __typeof(sizeof(int)) size_t;
index 55feb73e6bc17198fa497c466de75088fb38a77b..b5663ca02777066b30e387876d538ad1badf6fac 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -analyze -analyzer-checker=alpha.security.taint,debug.TaintTest %s -verify
+// expected-no-diagnostics
 
 #import <stdarg.h>
 
index 4ba26f59b720ead80bff4185644ebbc927ca04cf..1cd57590df054420fe3327c54ba5c77c34adddfc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -verify %s
+// expected-no-diagnostics
 
 typedef unsigned int NSUInteger;
 
index 1a716847186fdc2cfa730f2c896e328b26c605d9..3a9fb93bf8ad0119251bac2277751003512c63a4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -analyzer-constraints=range %s -verify
+// expected-no-diagnostics
 
 //===-- unions-region.m ---------------------------------------------------===//
 //
index e7671a90b90edbd6b2e4bdca158232de02d0d806..2bffe78b41c25b12745443629e363e0e661767a2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -analyze -analyzer-checker=core %s -verify
+// expected-no-diagnostics
 
 namespace PR14054_reduced {
   struct Definition;
index f650ad517a1981413010d7760517e705b21f1e0f..eda869b9934df4e8ed15fe9caf507ca8005581c3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace N1 {
   struct X { };
index cd7e669527bcd8cf38e0be1f829c0fca177a04ae..ef4243e28e8931f9ede28cc39367f44c117ae263 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // C++0x [basic.lookup.classref]p3:
 //   If the unqualified-id is ~type-name, the type-name is looked up in the 
index 792545453e739ad82622fab6f4d1d38e5d02661f..a4721d61a871ae2fa57c83a824e353b8c22b15a6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 %s -verify
+// expected-no-diagnostics
 
 struct A { void f(); };
 struct C { void f(); };
index dc0f8b4af23c8ac2dbf3471f6bdd974bad7e40e7..1060f615991172412513dd8a73f12f6b98a4a8d0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // This is basically paraphrased from the standard.
 
index 38eccfa2248bfdfd3a047dfaefcbf83d30263d17..7c292d58f500e1b2bde89e763467a012a8a25838 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace A {
   int a;
index ab0dc248f3dc12b2d58734a281b2fc4d404c2315..91f5a54eb9cebe17d1d004db4f9257fc02ddfba2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // When looking up a namespace-name in a using-directive or
 // namespace-alias-definition, only namespace names are considered.
index 878ff078bc267e546c04d5aeb392bd045a477f0b..6bf74c1da131e6059c8bf185d90d10ec49598971 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 struct S {};
 S E0;
index 58d7ff4d16afbac237d8618f126a447816ce5e68..ba34571d7b6c99580d8b2297cb498ca1c641ebe1 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 struct S {
   static const int f0 = 0;
index 0fa4f650b0bb3516c7770688a50888ef1dc1df65..4ffe538bebb0a4a5a428c210e6921b5edf442d63 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // C++0x [basic.lookup.unqual]p14:
 //   If a variable member of a namespace is defined outside of the
index 20a7ae05a12a31f0ebf38c4bb59761d811e46e38..abcc6eee94a77848b93973ad06a017bbb11b5be7 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 typedef int f; 
 
index e64b6752f0824eca6b0d5fab3ab1fb46c2954246..c62753538040d658bf2db3d2220aedee5f980179 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Template type parameters.
 typedef unsigned char T;
index b8dfbe78b6cce1a8077c56f5f6efa603d9d2c9fd..b27d492afc449603a5073d5af99cd156ca5cfe3e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 
 typedef int Int;
 typedef char Char;
index 785382cd077b89fab3b94c0e8b04a079037c41c1..65cd2027109e2d9ba94f8e3b65bb38feeec88dee 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 
 typedef int Int;
 typedef char Char;
index 81b08b98758d42308435138734096db9cd2a8b99..2b082ec604e6e166524251fbe0eb8808d2aa32e5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 
 int main() {
 }
index e3209fd3ce947775fee91f4af9a0c06f050777ba..45f643fd9a395dbe4583d3eff96a7d6d1ac4e0a3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 
 int main(int argc, const char* const* argv) {
 }
index 6cd587c4de402aa115e143ad3d91ebd69e7c80e0..9a740df5cebec9ab1d7ef2bccb4a7e74adb3cb63 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 int *use_new(int N) {
   return new int [N];
index 4567c469e817a7fc4a306e65f3f0e76c8a9f16e8..9819ea0293f64b0caaba547a822ab81285bc5d49 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 namespace std {
   class bad_alloc { };
   
index dc9b20d17c0e374376a6314e266cb6a230c7a63f..c1cf047aadb461da1d4be845970d841db3d7f9f2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR12497
 namespace test0 {
index 7ef53d36ab7b2e882fcc781ec50b7e08a68cf96b..87e0f7486154566a94ceb304a61f06320b29e16a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 // "During the lookup for a base class name, non-type names are ignored"
 namespace PR5840 {
index a9dca4fa8ec881de6f73747d9a1a26d3c17a7191..3bb32718361d547ddbed4e0136564a6083c87945 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Make sure that friend declarations don't introduce ambiguous
 // declarations.
index 235f295d1277d2775c16ccf3cf6e47bb2b2f7f18..6e3d85001fa87dca7845c5af8d44aa30f4f0e3b4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 class A {
   class AInner {
index c4c4ca7e094f1a1dffabe270941dbf69d4c80f66..677411fe3c8a91a16c50569e2a0de05e407d26b6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // C++0x [class.nest] p3:
 //   If class X is defined in a namespace scope, a nested class Y may be
index be5fdffb43f4ae7c0c63b75677e8ba958c9a55e0..5c327880e4b7843a4b493108b9478947a6c655e2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 namespace Test1 {
 
 class A final { };
index e153b4daaf3c03b53a220262e74d81a81a622039..cf628a6343aecb0080628baaea9f5519e6f544ff 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 
 class Trivial { int n; void f(); };
 class NonTrivial1 { NonTrivial1(const NonTrivial1 &); };
index 6549a1a0bdaaa2087f44207fa01e82ca4a7e8037..ca64cfa8d0ec5701c2414e1e41ef99df628d18d8 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x -triple x86_64-pc-linux-gnu -ffreestanding %s
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x -triple x86_64-pc-linux-gnu -ffreestanding -fshort-wchar %s
+// expected-no-diagnostics
 
 #include <stdint.h>
 
index 5f34dc4d397e0c054fd4508629a76425d9d169b8..8c86d2a1838dabe79d55970e82aee52fdf81f412 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
+// expected-no-diagnostics
 
 enum X : short { A, B };
 extern decltype(+A) x;
index 8808d203fd919c53e09643037ae0b586f95b929e..b7617696e6fb2b7316af43433090ac0a4773e448 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace pr7801 {
   extern void* x[];
index ae75ec41bd8f23f08de8d163c47eb6ce0fb7798c..bfadc6cac48e4cf7f0249d4bc05acfca1627ac63 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 bool is_char_ptr( const char* );
 
index 411c16cd8dfb0e52ff1ae2440dd1a1de0662a1c8..943e05322d253899b04fe332c3f44c7103fcf967 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR8430
 namespace N {
index 546c4a477f7b631797be57d9f3d9336aea84e5ad..ae40062fe14cd9c841e3a82affa48c247c9600d8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace test0 {
   namespace ns0 {
index dd44bfc914b2d55d6ea900d5b483a81702385b87..699d80ae7c7f48e51cf9dd7b641aa88977940393 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // C++03 [namespace.udecl]p3:
 //   For the purpose of overload resolution, the functions which are
index 4cb91cdf0021fd7ee72c81b1b057a980ab49697f..2bcbe269e1229b384f8fcc5c96e36302ced2c907 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // <rdar://problem/8296180>
 typedef int pid_t;
index 885d11b9c24a6737ba3e78e86418570b5c36d886..2c9cd88e40bfd793b1e3cd820c53eb4f47b45c37 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR5787
 class C {
index 20c059eab6f350f92d94c28d801c7f05cff111ec..76053f028e2b8d43b644420d0d688ccd4ca34d9e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 int g(int);
 void f() {
   int i; 
index 3631af1b7fd2fa6f67d2c4caf703a3ceb71944e1..878d2c68ec338fe720a5852096b27a4411805cb8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 char x1[]("hello");
 extern char x1[6];
index 0a107eb2b139b7420f2f2d31f5072e3c8b67bc9e..68aabca71eac681f6a3f5336991264467d3c9570 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 void point(int = 3, int = 4);
 
index 0e69521fbdfca7c7537cf033928c6cf42f7859b1..bc249b5a087b361fa05b11ab53c8c64a11dbd3b5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T> struct identity;
 template<typename ...Types> struct tuple;
index 4ce80bc35ac9dfd812eb82a7324ccbbb42629f48..cd623df71e81bfad82600505354259e95380f07c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T, typename U> 
 struct is_same {
index 9838b4f4737dbd1da203f771734fbf9d176b9327..e032a7f92a5c141ca36745dad12b1eda686992c0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace pr6200 {
   struct v {};
index 98c33b25f4d2f19bd63244f7b23060a5aa16a979..35177a0386977ed269e7559f8a35d84412856dae 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 struct X {
   void f() &;
index 81ca2ae0a20edfe2d099352e2517eade5b6522b4..b6d3e9c7aba1ce12d885775a12965602d1e61c4f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 // PR10087: Make sure that we don't conflate exception specifications
 // from different functions in the canonical type system.
index 0e4fad53e350d92407c3dc24a01bf92912548b7f..1f6bf2131cd6bc96f19b045efd69e7f0d8dfb22b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // This is the "let the user shoot himself in the foot" clause.
 void f() noexcept {
index 96bf5f91196bbc2b3166ae42bea30c0773eb49f3..76ac318017302c7781593a5627ff468b47144fca 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 struct X { };
 struct Y : X { };
index c891374519fba0507d47035da959a663ccec10dd..7d12cedeacf050070081b4d90fe4cbc134519af7 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wno-c++11-narrowing -verify %s
+// expected-no-diagnostics
 
 // <rdar://problem/11121178>
 void f(int x) {
index 6ba8d519346e5f645f0afa1e7eef4af09696a5e0..be898761fafaa034599a1f2234ca4f7cd3c1b312 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // The result of the expression const_cast<T>(v) is of type T. If T is
 // an lvalue reference to object type, the result is an lvalue; if T
index 98771d34b63de017f8cf2c5696a4450425306db1..db33c014eeb733f7a8cb86d65c15fec7053824ed 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify -fsyntax-only %s
+// expected-no-diagnostics
 
 template<typename T> struct Node {
        int lhs;
index 9ef15e6642b1bc424017246c88e8c22df6b15456..830ccda245baa9eabf892e1854a0cfec52e7ed64 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // A glvalue of type "cv1 T1" can be cast to type "rvalue reference to
 // cv2 T2" if "cv2 T2" is reference-compatible with "cv1 T1" (8.5.3).
index 731c508444285e88efb1c69ddc3c04faf146b391..c624c7e3f2f980299708b374217e885613ce42c5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 enum class EC { ec1 };
 
index 253744e23f572b82567f5111fc9b2054a52d94df..568c61b95fb99b29755402697481983823d39e13 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 struct foo {
   foo();
index c4deba9c974398064a23c50908faa41a81aa864f..b4b1605ab0025e4be6f55c324a8b203cceb7f6ea 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify
+// expected-no-diagnostics
 
 class NonCopyable {
   NonCopyable(const NonCopyable&);
index 930a4b32fa06cd128e7499463b8375b5468fe9d4..93c2805497f3464701ead989ac58afe883e1cf9c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 %s -Wunused -verify
+// expected-no-diagnostics
 
 template<typename T, typename U>
 struct is_same {
index 4487cfc4ba282aa1aa7ba431ce13916a612350c8..17eb841fc3fcf6243b935f2a755d5bdcf12510a0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 %s -Wunused -verify
+// expected-no-diagnostics
 
 template<typename T>
 void destroy(T* ptr) {
index 7139058cd08917f7504c3314f097d5f9a62433a2..bc2c9997379a6b158a785e3a5ff14b9ddcc0732f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify
+// expected-no-diagnostics
 
 struct DirectInitOnly {
   explicit DirectInitOnly(DirectInitOnly&);
index b5de1a7f8fee07acb4be839329b75d9cdc98dc8e..1f5969d49327174fc1b89bac0338ebc0fe473cb6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -verify -std=c++11 -fms-extensions %s
+// expected-no-diagnostics
 
 #define P(e) static_assert(noexcept(e), "expected nothrow")
 #define N(e) static_assert(!noexcept(e), "expected throw")
index 2dd6b23fa0249630f97031259388fd2fa0ad5245..08ab0ca56fb6328e641aec0483dfd80a7fcf0e9c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only %s -verify 
+// expected-no-diagnostics
 
 namespace rdar10544564 {
   // Check that we don't attempt to use an overloaded operator& when
index 2f6c094301ee2d2063c31b3284123fb995d57806..471d1c5a30206a33a984965559c46e4d5fea5c50 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 int a0;
 const volatile int a1 = 2;
index 803b0cc459b26e49d939f59f98cd30ef59a5d0f2..4c60b8ba62e422215d27a184a6f5eb5a65d2dad9 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // floating-point overloads
 
index 5342153b63badc70b2d40f9d0d1a78b4381805de..f84f5fba3e0a5bc196eed46c5c160591f79732a4 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Check types of char literals
 extern char a;
index 2be03285fe65ff86c15929a189cec3ecb49eb52d..c74d8f358d027f96323b2615b7717eb8d60746bf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -trigraphs -Wtrigraphs -verify %s
+// expected-no-diagnostics
 
 char a[] =
 "?? ??\"??#??$??%??&??*??+??,??.??0??1??2??3??4??5??6"
index 41255214ec6af9f9d2fd19e1ca97062d3264f5b3..a1c0d4f3f612a0c02d814ae8ee2ef5e1ad9cd867 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
+// expected-no-diagnostics
 
 struct Variant {
   template <typename T> operator T();
index aea3854a420e4c821efdfe82fa4bb762fd0e50db..09e550ddc0ec3ea91f4a7e927f3f277c772f54c3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 enum class Color { Red, Green, Blue };
 
index 3971acc581696ebc26510ed153bdd8fddd013b0d..f813305b4a19f19d1d5305967e3a9fc46ae00368 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 namespace std_example {
   int i; 
   int f1(); 
index 5c315a736052ef8256cb086712f0bd64283fcc3e..59e3dac742832288518faa269d79efde1fa1f664 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T> int &f0(T*, int);
 float &f0(void*, int);
index c8b07e53faeba64a6b73768dd807e53240be19c0..35f8808fff88cb9b6cac6469c54e0928a314d644 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 // This is specifically testing the bullet:
 // "do not have the same parameter-type-list as any non-template
index 3845af09d14ca67ecee5de66e4f4af09c78abd23..68c79900b95124d25c7143614b83d03e898b3461 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T> T &lvalue();
 template<typename T> T &&xvalue();
index 72411b954e1423a936ccb6a7a44da3beb145dcab..74e9457bb55c38ce33a1b319ee1455e671684ac2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 %s -verify
+// expected-no-diagnostics
 
 constexpr int operator "" _a(const char *c) {
   return c[0];
index d2add82f420f479d81a7b4055adce23e3da1e81d..5a45f7c358a33124ca82b421c6277a12ca7c9d5a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 %s -verify 
+// expected-no-diagnostics
 
 namespace PR13003 {
   struct void_type
index fff88442555c0e48cdbfddb45b9fcd4e21bf024b..9d03a55423db5e82897e63d7820941ce80ea5d55 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
+// expected-no-diagnostics
 
 namespace PR10622 {
   struct foo {
index a2613f4612989d64746cf31b1bfbbab9e1643d13..4a9f3f2113dfb4a6a58d5417f2f6f67bbaf39d0c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 %s -verify
+// expected-no-diagnostics
 
 // C++98 [class.copy]p5 / C++11 [class.copy]p8.
 
index 9500a7d2346da1d3ecf2f14e07e8e39b377ed8b5..4d821841e47fdf9b812b14c8a597726007265beb 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 struct X0 {
   struct type { };
 
index b05c992f4115656e3d6c65bc2cd57190070e28a9..4a10eb9e0d0bb8c55f0fa37f61212fffcd6304fd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR5548
 struct A {~A();};
index 000c870d59018dccce4cab671500c43aa94a774d..d0f15d4d3df2a6c0e9c8c3b11e7af48c69839b0c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 %s -verify
+// expected-no-diagnostics
 
 struct Value {
   constexpr Value(int n) : n(n) {}
index b03ed46e92f0f5476b8ad452b49e28683a86f091..67f317b018079b375aebab1f020e1bae8ab59803 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
+// expected-no-diagnostics
 
 // C++03 imposed restrictions in this paragraph that were lifted with 0x, so we
 // just test that the example given now parses cleanly.
index 966e3c10e5de1e36868bd4748104ab9ef6402d31..aafe4808bb1846c77c63808c813deb6db675b25a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T> using U = T;
 
index 2a3e9142169c5f70ec61ce53492c1c838a7802e3..df0e68d29b6f241bd7291140965c63dfba41271f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR8905
 template<char C1, char C2>
index 97457ea213bbc532c5a890e801cc4ac9b02808d0..64cc5923f0086b7baffefcf2028678d8067d8dc9 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 template<int I, int J, class T> struct X { 
   static const int value = 0;
 };
index 87e21e4af845ef4804b7f55f89ff5404ff86c944..184160ac78d1781da46a4b039beeb892805545c0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 template<typename T, int N>
 struct A;
 
index 4c05c622926d33e6eecd8fb97e552a366deb99ff..213f0c60d5b30e2587f5e1c65d225549699f8dee 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T> struct X1 { };
 
index 70c9c70a41c01eed117268c30057148a827bd1d2..fcbb724a7af00f6cfce1e8cd32b86b3307702603 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 extern "C" void * malloc(int);
 
index 4d566538452f71c6fb022463da9b57a51ba1edae..6d22f88093653af9599fb4a4628d92a1618a8f88 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 // Core DR 532.
 namespace PR8130 {
index 815f8bfb5670b632ded8860597a288bdcb0d35ad..8212a125be600cf4633fb513e666ad73d101f54a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace DeduceVsMember {
   template<typename T>
index 4d34968d32aa942982d608dcd11b8cfb6b770588..5f2dbb6018ce13d16432827351d249dd849409bf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 template<class T> int &f(T); 
 template<class T> float &f(T*, int=1); 
 
index f42b94a727d2f5e084001647e863a01171f1664e..d24a3fb71d5df98633e697adfd1612e1bee89c51 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // All of these function templates are distinct.
 template<typename T> void f0(T) { }
index 63fd3df269000131614cd452feb7349a3892f9cc..4b899e4e52119702e518de6e888218f3079b96a8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace test0 {
   template <class T> class A {
index f5f12055c19ee0fb19951f2d83ba9e114502f1c8..01eab24757f0723a35251f075a78b240b0c592bf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template <class T> struct A {
   static T cond;
index fec8060955e36d68206e6234dda2dc5151910975..2e24fc00dc1a9cfd158ecac1a305b45ab2ccabe4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace DeductionForInstantiation {
   template<unsigned I, typename ...Types>
index db28eea98a544b08a0c9e924f98dd463b0ffade0..83e03bcc0ddb7db3903ef592ba1e1d97fd945fe7 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Example bind implementation from the variadic templates proposal,
 // ISO C++ committee document number N2080.
index e15203abc615028a328496a7ffc40b065379b092..4cbacf830266627aaf62c6012d9592c9099df2e6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Example function implementation from the variadic templates proposal,
 // ISO C++ committee document number N2080.
index 9de5fa84b48a25a5d6148b57f5de855f4cf6c4f2..f5800471ac2dd57d517403362b158a78222fe2e7 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Example tuple implementation from the variadic templates proposal,
 // ISO C++ committee document number N2080.
index b5786acf82a221eece5200a3cebd6b0a808777c1..c09c0b243a92f937bae5e7396fc28009d81740e0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Check for declaration matching with out-of-line declarations and
 // variadic templates, which involves proper computation of the
index 71bd6aa8eb527b0c9f75074e64c91230c67971ba..36535e3f90ed2a9ea1b3eabae0d9a01bec4f7ada 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Various tests related to partial ordering of variadic templates.
 template<typename ...Types> struct tuple;
index 4d29b740d803346cb8df231e5f8f0cde0cd418c6..36b07002cf3d82dfe7a3e9c43d85543ff1022b51 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace ParameterPacksWithFunctions {
   template<typename ...> struct count;
index 81addfe4bdcd7b1484029d5fd077a1dbf532fed1..a9bda621e98f564ee163f2c1c2c65d9ceb9bbabd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Metafunction to extract the Nth type from a set of types.
 template<unsigned N, typename ...Types> struct get_nth_type;
index c14b063ab746ce490a44b094d24567d8ebe29ade..47184ec0345561688c78ceb85508fb1d735c2d43 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 #if !__has_feature(cxx_access_control_sfinae)
 #  error No support for access control as part of SFINAE?
index 6481485b2a084f0c9753b3e00e4e123215338fd3..1907bd77998f204a34aaf5043e1a6463660c7251 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify %s
+// expected-no-diagnostics
 
 typedef char one_byte;
 struct two_bytes { char data[2]; };
index c165c45306684d25ca7f1a949b76fe81c746386b..4be81d882588217fff61a8293cb14e96f6159b0f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 template<typename T> struct A { };
 
 // bullet 1
index 83b5f23140113e44918a51b0906b16ff608dee1c..132d61814227aeb96375c0289e5896a9900ef7ef 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace PR8598 {
   template<class T> struct identity { typedef T type; };
index 5a9ea084fd61819e07e75374ec5bf809a31328d2..badd5a8c6a2c146f3bb84424d281dbf0a9d8ae7e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // FIXME: [temp.deduct.conv]p2 bullets 1 and 2 can't actually happen without
 // references?
index e23e98abe64d69ffbc74305b2dc66653416c7394..a5916ba65377ab22950dbefa11bf29698de1c20b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 struct AnyPtr {
   template<typename T>
   operator T*() const;
index b96530056b2ce275afc6dcd52ae432a55e33454c..ec7e8970b1b5441f850d93237e7a7bcc78031dfe 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Note: Partial ordering of function templates containing template
 // parameter packs is independent of the number of deduced arguments
index f204caf57abd48c4fb34ed0bca1166b81719e95b..cc129c0a9b2eff5ae34990360105a4f323cda38d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T> int &f0(T&);
 template<typename T> float &f0(T&&);
index 8183061a8ab4e0110b601dd7e2998b2d9c644eb2..b38ade39edf24d5716d42902fc70340c7c66de02 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 template<typename T> void f(T&&);
 template<> void f(int&) { }
 void (*fp)(int&) = &f;
index 5b031c24ed716e29fb4d0166261f5b43b5c6d124..e3a9f5798dbf89cddbefd3b008af98839a416b7c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // If type deduction cannot be done for any P/A pair, or if for any
 // pair the deduction leads to more than one possible set of deduced
index 4e98a6d15e1a2150aef4f93fcd2413526470e657..20e6ea2d7127082ee5c49dc1199d32a9ee16155e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Note: Template argument deduction involving parameter packs
 // (14.5.3) can deduce zero or more arguments for each parameter pack.
index fcc6cf7ec732031e353d4c2a1346c0a8311642b2..09b1648e68e7695c1e2700b7f1655fa9089d5e7a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // If the original function parameter associated with A is a function
 // parameter pack and the function parameter associated with P is not
index c819d973a94103e6223900fc3629342f7f946a47..d239a5e1720007bd79fa7f348fa98cfa51db9d67 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // FIXME: More bullets to go!
 
index a6b1172afccc004a2621f62c17f215117c38736d..6ef8e2fd5ecd4c1b9660e9087d6bee062586f956 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Deductions specific to C++0x.
 
index 93e45dd7e3b0cd48186a39c62a0ab69ca0dc1311..532dd84ecb439291c635ac7a099be1b9e8618f7e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Ensure that when enforcing access control an unqualified template name with
 // explicit template arguments, we don't lose the context of the name lookup
index 103a1bd537f86d3402d0ec219c6b8877a155da64..64ca80517b8c399d3d7a1bd38aab4473f0d1d499 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 struct meta {
   template<typename U>
index 37bb284a36eb6263cbb97f5c22e443ddedafe843..21a96bf613e6d1c83720a94771892706c6d366b8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 
+// expected-no-diagnostics
 
 template<typename> struct Y1;
 template<typename, int> struct Y2;
index b9dac75beb91ec6c5ecfc47fb2c9fabc70a144e5..4feea828466e1836792921c0af109eeab53de6cf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 template<typename> struct Y1;
 template<typename, int> struct Y2;
 
index 7e7dbe58a7b56d8d5e819dc6e46489aeeca8c252..257b36f4f96f32b8ddc7e27895313a6734689d8f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 
 // The scope of atemplate-parameterextends from its point of
 // declaration until the end of its template. In particular, a
index fed6e9c266be8953c091531e626bd80828a22b5f..4eca05774ab5c0b0fb02b5cf418e3f3071e63a78 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // There is no semantic difference between class and typename in a
 // template-parameter. typename followed by an unqualified-id names a
index 3cbb3b7c0103f9d0b1bfc0dca1fac89d8da488c2..67efc4e48162544e8543a7f4a8d1e9c1f3c55110 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify %s -std=c++11
+// expected-no-diagnostics
 
 template<const int I> struct S {
   decltype(I) n;
index fed048cad8b621a54c0d4a6335700ddce79539eb..592e41ec408e0612876113938cb2bcb557500ab9 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 template<int X[10]> struct A;
 template<int *X> struct A;
 template<int f(float, double)> struct B;
index c41a4c60ee743146e1993c4813a2e061478f783a..88b4752e6b76bdbc1070e12afba364a49a69feed 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 struct A0 {
   struct K { };
 };
index 0aba4028b76996b431f243767f60f685db3ae345..8f2a599ab28ae9f1691ea19f05b0fd9f810f300e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -verify %s
+// expected-no-diagnostics
 
 template<int n> struct S;
 
index 1ad4464c975c41106086da762552bef0de0f5cfa..f6ef636daa56b729c6e307d6bc033a7ab7d773ca 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // C++0x [temp.local]p1:
 //   Like normal (non-template) classes, class templates have an
index bd05e756a19e772fb34c4473ac7106d54cc84285..3fa9c995260939e3c04ee1856f75ea9a4bf03988 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<class T> struct A { 
   int B;
index 5d9d50913f360dd080f891d96515682143e72316..fecfed06f109ce146f7d9a6425619d07bc9faea4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace N { 
   enum { C };
index 3843c0d2c880dcd5082fd993447501ef91d48ae0..263356e949a3ed2c4d59f20aea3eb631fa1e6113 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // This test creates cases where implicit instantiations of various entities
 // would cause a diagnostic, but provides expliict specializations for those
index 5fa2f627b00948cfd044958b45c23d6b62c222e9..f03811f35e60d64430c08d033d7e3531f0f6a506 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<class T> class Array { /* ... */ }; 
 template<class T> void sort(Array<T>& v);
index d4ce01fd65010e893ad2eb7dd0899154e8bfc3cb..10ec66d53994a90e11dbdb9c8e7453ba623becce 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace N { 
   template<class T> class X { /* ... */ }; 
index 4ca54283157b012077d7f1c50f8d14ce57c82071..5363cbe0aedfba565e316d03978b1ef68f333604 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 class X {
   template <typename T> class Y {};
index 1028830abe7501d8916427fafe4acfbbd29c7c0c..146b6b5da80bd1686d9054e2ed59163b572844ac 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -verify %s
+// expected-no-diagnostics
 
 // If the name declared in the explicit instantiation is an
 // unqualified name, the explicit instantiation shall appear in the
index 13822725b5bd93bac1881dd2e8fa7efd594022cb..0f5db211905259ed3a1fa34b9252f9e39492fc49 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<class T> class Array { /* ... */ }; 
 template<class T> void sort(Array<T>& v) { }
index 17d6fdf5d89f68b45a01030607e2f14d7605b99b..f987e3270c873b00671d6e21338b7b3859dac202 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -o %t -emit-llvm -verify
+// expected-no-diagnostics
 // PR4289
 
 struct funcptr {
index 140ff6c42436fb597ccea057ec5c885767b1d6df..2855045c1e788433e16061df1e7e024d461f58eb 100644 (file)
@@ -1,5 +1,6 @@
 // REQUIRES: arm-registered-target
 // RUN: %clang_cc1 -target-abi aapcs -triple armv7-apple-darwin10 %s -verify
+// expected-no-diagnostics
 
 #include <stddef.h>
 
index 049ffae4dc6f00a71933d1feb2f3d38754542fdb..763db65063fcec6847e552f93c43719735736af4 100644 (file)
@@ -1,5 +1,6 @@
 // REQUIRES: arm-registered-target
 // RUN: %clang_cc1 -target-abi apcs-gnu -triple armv7-apple-darwin10 %s -verify
+// expected-no-diagnostics
 //
 // Note: gcc forces the alignment to 4 bytes, regardless of the type of the
 // zero length bitfield.
index e6307964294adfe21305459c82080081b5392ccd..28364dec9aaec6d648e7cd1d564c01f776f2e374 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm-only %s -verify
+// expected-no-diagnostics
 // PR5882
 
 int q_sk_num(void *a);
index 8fbeadf14916aa1ebd939fe60132ec9efb5cf213..e62e225a201fc20f55bda4a8caa3ea7a2e95b761 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm-only %s -verify
+// expected-no-diagnostics
 // PR5730
 
 struct A { operator int(); float y; };
index ce4640a7eddb55c273124f5218e876e36fc68cc8..5469d113357e02b56bbc57eea40028ba1b7c97ba 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm-only -verify %s
+// expected-no-diagnostics
 
 struct A {
   A& operator=(A&);
index 41bb5e29d58c35dd559e22c6a3d5fa3f4d66e8c5..99b8ecd555c79e16241ac635f2708128815918f4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm-only -verify %s
+// expected-no-diagnostics
 // PR7736
 
 template <class scriptmemberptr> int InitMember(scriptmemberptr);
index cfcd264bd347a6b01b37edb83af6d3e75d939f48..3985e96ab9fe78573f238e53aba7576aae4fb294 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm-only -verify %s
+// expected-no-diagnostics
 
 enum A { a } __attribute((packed));
 int func(A x) { return x==a; }
index 1d4f430e5cb5c58a243bb4bc97110b7d5f6ca2df..802ed4628d9e55e643e9dcc486816476c729368e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -emit-llvm-only -verify
+// expected-no-diagnostics
 // PR5489
 
 template<typename E>
index 49c6f51c775104dc0857dfc34824540f829efb12..e498d2476c0153bd169f78a11275319f9e1fbeee 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -emit-llvm-only -verify
+// expected-no-diagnostics
 
 struct F {
   void (*x)();
index 2054137fe94116d69a526aa57016dfd5c89e220a..3def43ebc05d232107668429fafc09f51d2cf9eb 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm-only -verify %s
+// expected-no-diagnostics
 
 struct A { int a(); };
 typedef int B;
index 688d92d74b8ea954d41d04addb7d73541941370a..d509b0ebac2898e300b6bd58dec16119038d16e2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -emit-llvm-only -verify
+// expected-no-diagnostics
 
 struct A {int a;};
 struct B {float a;};
index 2c50e18b6ffa8f80ad87e55e81b6ba178f22d459..be171a365b011ee739b53d0a4829c6106315312a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -emit-llvm-only -verify
+// expected-no-diagnostics
 
 union x {
   int a;
index 49859acf4fa60a999eadcdedfb68191bb5a45a24..641734d223ad718955f83956d87240d625566df6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm-only -verify %s
+// expected-no-diagnostics
 // PR5454
 #include <stddef.h>
 
index acce962b1953f665a78ae0dcccd848e6be29d81e..5cf279f62a185a4e422be88c27a1c0b8122a90a0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -emit-llvm-only -verify
+// expected-no-diagnostics
 
 struct A {};
 struct B : A {};
index 9469c84eb5d04391c8b23397b0fcee8add3df08a..d47b1f37489c73eb53101e6c106a740ced95b586 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm-only -verify %s
+// expected-no-diagnostics
 
 struct XPTParamDescriptor {};
 struct nsXPTParamInfo {
index 53dc9a73805f6cad3125fefc329be342d686bf49..ff82f6dc5490908a27a3fe582c3ec00ff3ff299a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -emit-llvm -o - -std=c++11 -verify
+// expected-no-diagnostics
 
 static_assert(true, "");
 
index 768e6de92c0f033104cb9b3d704722b7ad0a055c..354fcd4dda538626ae98c1ca8b25e063f2ed1a1b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm-only -verify %s
+// expected-no-diagnostics
 
 // Make sure we don't crash generating y; its value is constant, but the
 // initializer has side effects, so EmitConstantExpr should fail.
index 0de6683f88d112306e43d855c210894f3ae4f38e..cb4a6c69bdddfdd968f44762fef532f9a6c1b31b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -emit-llvm-only -verify -fcxx-exceptions -fexceptions
+// expected-no-diagnostics
 // PR7281
 
 class A {
index 2515acb48ee726e62a32857c99931e45500a5c08..f04185b23f1b91d08d8ee5443aa5b9dafaece029 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fcxx-exceptions -fexceptions -emit-llvm-only -verify %s -Wno-unreachable-code
+// expected-no-diagnostics
 
 int val = 42;
 int& test1() {
index a11c67e12890958addeaea9b8f0db0ec423f33b4..3c6f9c03aa41300cc474d9cf5bc4811b8ceb55be 100644 (file)
@@ -1,3 +1,4 @@
 // RUN: %clang_cc1 -emit-llvm-only -verify %s
+// expected-no-diagnostics
 
 bool a() { return __is_pod(int); }
index e44939337a6afed5f1a61ad7b27c54aec730523e..21246a37a6afa26f31500582c2736e1627da171a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang  -Werror -fobjc-arc -fsyntax-only -fno-objc-arc -Xclang -verify %s
+// expected-no-diagnostics
 // rdar://8949617
 
 void * FOO() {
index 2cdc26ddcaad8f9d8004294781c6e4a957234409..a994cb75ef6672ca5630a168e0fa72a498b71605 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-nacl -std=c++11 -verify %s
+// expected-no-diagnostics
 
 #include <stddef.h>
 #include <stdarg.h>
index 7180416e998576ee764e5c7f361c80b1ec7724a1..6f801f2437a28e3fdd0df6cc9be77589ca2aaca7 100644 (file)
@@ -1,3 +1,4 @@
 // RUN: %clang -fsyntax-only -iframework %S/Inputs %s -Xclang -verify
+// expected-no-diagnostics
 
 #include <TestFramework/TestFramework.h>
index 828c762840343a5b964fb7183de8a2d1d1f76af2..68f220339dbfad67f864a5de7a7c502a6b1fe09f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -DA= -DB=1 -verify -fsyntax-only %s
+// expected-no-diagnostics
 
 int a[(B A) == 1 ? 1 : -1];
 
index 53a5a45a43379059c52f3160d19898f2d528c0ba..eea025ceeea91bdcc6d6a0380af6f31ead65618e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -Eonly -Wall -verify %s
 // RUN: %clang_cc1 -E -dM -Wall -verify %s
+// expected-no-diagnostics
 
 #pragma adgohweopihweotnwet
index 883dafb1f5006b17556ffcaa76c6d231ea6fe98f..623e5e3933a20c466ce22944fe6cf9792ccc2722 100644 (file)
@@ -1,5 +1,6 @@
 // Check that -w has higher priority than -Werror.
 // RUN: %clang_cc1 -verify -Wsign-compare -Werror -w %s
+// expected-no-diagnostics
 
 int f0(int x, unsigned y) {
   return x < y;
index d8d2769fc5353092fc5f6eef9a891e595d989da8..6644042e24ee01d27da78eb4d91ff724f4346bc5 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -verify -Wno-error=sign-compare %s
 // RUN: %clang_cc1 -verify -Wsign-compare -w -Wno-error=sign-compare %s
+// expected-no-diagnostics
 
 int f0(int x, unsigned y) {
   return x < y;
index eea8d44d8dced6432fb82373e27ab7705ce06437..acf01b40e06e277c7809607ecb62968cdf5e5e56 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang -target i386-apple-darwin10 -fsyntax-only -Xclang -verify -std=c89 %s
+// expected-no-diagnostics
 
 // FIXME: Disable inclusion of mm_malloc.h, our current implementation is broken
 // on win32 since we don't generally know how to find errno.h.
index 16b42d2d7f8f4d1920c1cb031311701b73add7ea..442f8a0cc23022e783b1acac3fa07e85c4350e37 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -verify %s -ffreestanding
+// expected-no-diagnostics
 
 #include <stdint.h>
 typedef unsigned long long uint64_t;
index 646b2ca0efe8105c585986729c6a7f55352fd74c..968b26d8c7319f7f77d4c15255583de4b4f2ce51 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // NULL is rdefined in stddef.h
 #define NULL ((void*) 0)
index 93a99ad78f2bca6b548c7fe34f122348d53c0279..35ae7affb514defc622384d8a441a099ca2088d2 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify %s
 // RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify -fshort-wchar %s
+// expected-no-diagnostics
 
 #include <stdint.h>
 
index 6aa8be49881a6fcfca05e945b68a6f523644bdeb..8cabbf066388b7eb86b7de9931f74e24ffdcf79f 100644 (file)
@@ -1,4 +1,5 @@
 // Check that wmmintrin.h is includable with just -maes.
 // RUN: %clang_cc1 -triple x86_64-unknown-unknown \
 // RUN:   -verify %s -ffreestanding -target-feature +aes
+// expected-no-diagnostics
 #include <wmmintrin.h>
index a349b44ade20944db5c8fe5415691333e6fde9ae..3a24dce981a373d35f30d1a0504b940e06fe401e 100644 (file)
@@ -1,3 +1,4 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 __char16_t c16;
 void f(__char32_t) { }
index cf6e4789afa8d9c1c10406ed96aadfa7247e0164..e940caf44f4b50d7bee70bf44cc155db5d56bf2e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
+// expected-no-diagnostics
 
 %:include <stdint.h>
 
index c4bd9b3e59d6e7f1e7bfefef2d4d9cac4f700dce..10a7d31d2038bfc61c15ba0f85f666a65c9977b6 100644 (file)
@@ -2,6 +2,7 @@
 // RUN: %clang_cc1 -DGNU_KEYWORDS -std=c99 -fgnu-keywords -fsyntax-only -verify %s
 // RUN: %clang_cc1 -std=c99 -fsyntax-only -verify %s
 // RUN: %clang_cc1 -std=gnu89 -fno-gnu-keywords -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 void f() {
 #ifdef GNU_KEYWORDS
index c3f371d17f0ee47196a6a07f77db74b87a929784..1a0f37b7ff40b4c7f5e8d29f345dd4b1c6e320c9 100644 (file)
@@ -6,13 +6,15 @@
 
 #if !defined(__cplusplus)
 #  if __STDC_VERSION__ < 199901L
-/* expected-error@19 {{'long long' is an extension when C99 mode is not enabled}} */
+/* expected-error@21 {{'long long' is an extension when C99 mode is not enabled}} */
+#  else
+/* expected-no-diagnostics */
 #  endif
 #else
 #  if __cplusplus < 201103L
-/* expected-error@19 {{'long long' is a C++11 extension}} */
+/* expected-error@21 {{'long long' is a C++11 extension}} */
 #  else
-/* expected-warning@19 {{'long long' is incompatible with C++98}} */
+/* expected-warning@21 {{'long long' is incompatible with C++98}} */
 #  endif
 #endif
 
index 9ef6e32ea0b412b0dfbd32694673ca39c88148a3..3469b59d4089c8001e8774beada678f8c296d3fd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
+// expected-no-diagnostics
 
 int x; 
 
index 3c45f28336f5c9184a46b60731ff27fe6e2811cb..eeabe8bb9fc3de817f0fd0ce8d1f82072fae4097 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wnewline-eof -verify %s
+// expected-no-diagnostics
 
 // The following line isn't terminated, don't fix it.
 void foo() {}
\ No newline at end of file
index 5407ba9824f721dcc794397bd1130103b4e82f75..60981feee16ba9bdc241572516326dcd1e972f93 100644 (file)
@@ -1,5 +1,5 @@
 /* RUN: %clang_cc1 -fsyntax-only -verify %s
- */
+ * expected-no-diagnostics */
 # define XRECORD(x, c_name) e##c (x, __LINE__)
 
 
index 96e8485a70ace6ea1d227ff6e9e57a8071933fae..e58b2267ddbcebd45cc6497176cf135b122eeee8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 // Lexer diagnostics shouldn't be included in #pragma mark.
 #pragma mark Mike's world
index d1426cca14aaebe09fc90a17823b99d25e39c494..b77b95e796135ebbfe4537eb956f70830f2c0f44 100644 (file)
@@ -2,5 +2,6 @@
  * RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=gnu89 -fsyntax-only -verify %s
  rdar://6096838
  */
+// expected-no-diagnostics
 
 long double d = 0x0.0000003ffffffff00000p-16357L;
index 87f676e89fc43b82a25e4c811b02e8fdaf7e3c9a..63944b03d8f966fd744f305710c968edbe0933a3 100644 (file)
@@ -1,4 +1,5 @@
 /* RUN: %clang_cc1 -fsyntax-only -verify -std=c89 -ffreestanding -pedantic-errors %s
+ * expected-no-diagnostics
  * rdar://6814950
  */
 #include <stdint.h>
index 884534747f69b5c3e9eecfbc93844a6ac85ccba6..b2611a1380cc5651af530c7f9032cf3dde88cd64 100644 (file)
@@ -1 +1,2 @@
 float *f0(float*);
+// expected-no-diagnostics
index de6f57b5f285bbd2c0ac25d4f70fb5133caa27c5..d974dae52e03cce4c9e3ff2178b3d1d0a51e5920 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: rm -rf %t
 // RUN: %clang -fsyntax-only -fmodules -fmodule-cache-path %t -D__need_wint_t %s -Xclang -verify
+// expected-no-diagnostics
 
 #ifdef __SSE__
 @__experimental_modules_import _Builtin_intrinsics.intel.sse;
index 5444854a62bfdde0a3a9539eb7fbe354e8471dcc..49549d0c671a81491a3831feafe567104f64b5bb 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -I %S/Inputs -verify %s
+// expected-no-diagnostics
 
 #import "point.h"
 @__experimental_modules_import Module;
index bee1cec98e4442c3fd35842b80d2318d0f61234b..8c61bc081c2da1efbff7080ebd820c783d50a6e8 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -x objective-c -Wauto-import -fmodule-cache-path %t -fmodules -F %S/Inputs %s -verify
+// expected-no-diagnostics
 
 @__experimental_modules_import Module.Sub;
 
index 2b8c5456eb65dec35b650446ccc7db0f2e18fb3f..8b50529f1a28f064f353b22f4eb35b76fec6c395 100644 (file)
@@ -1,6 +1,7 @@
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -DFOO_RETURNS_INT_PTR -verify %s
 // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -verify %s
+// expected-no-diagnostics
 
 @__experimental_modules_import CmdLine;
 
index 3f3e6954cc2ca33b006be9fc3f225d93ac605732..221e154cb2742cedaaa1ca1e4e7d4679b08578d3 100644 (file)
@@ -8,4 +8,5 @@
 // RUN: %clang_cc1 -fmodules -x objective-c -fmodule-cache-path %t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map
 // RUN: %clang_cc1 -fmodules -x objective-c -fmodule-cache-path %t -emit-module -fmodule-name=redeclarations_right %S/Inputs/module.map
 // RUN: %clang_cc1 -fmodules -fmodule-cache-path %t %s -verify
+// expected-no-diagnostics
 
index e014bead73b24638acddc62f7eb602291e35a6a5..a758abc248dd2ed9ae54ca31c752f126cce3f6a7 100644 (file)
@@ -1,6 +1,7 @@
 
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -Wauto-import -fmodule-cache-path %t -fmodules -F %S/Inputs %s -verify
+// expected-no-diagnostics
 
 // Note: transitively imports Module.Sub2.
 @__experimental_modules_import Module.Sub;
index e2d762c11e53cfc7cb12e9e5bebd8751c6868c09..45417401d86fd26c72c05e00be4279c5b9de682c 100644 (file)
@@ -1,6 +1,7 @@
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -x objective-c++ -fmodules -fmodule-cache-path %t -I %S/Inputs -verify %s -Wno-objc-root-class
 // RUN: %clang_cc1 -x objective-c++ -fmodules -fmodule-cache-path %t -I %S/Inputs -emit-llvm %s -o - -Wno-objc-root-class | grep Emit | FileCheck %s
+// expected-no-diagnostics
 
 @__experimental_modules_import templates_left;
 @__experimental_modules_import templates_right;
index 23c54ea8fb8eea82cea5269516118b08c2a49821..efe5c1b36630a72b7b2150afb1de2bcd8d30d773 100644 (file)
@@ -7,6 +7,8 @@
 // RUN: %clang_cc1 -triple=x86_64-unknown-freebsd7.0 -emit-pch -x c-header -o %t %S/Inputs/__va_list_tag.h
 // RUN: %clang_cc1 -triple=x86_64-unknown-freebsd7.0 -include-pch %t %s -verify
 
+// expected-no-diagnostics
+
 int myvprintf(const char *fmt, va_list args) {
     return myvfprintf(fmt, args);
 }
index 99bc14dc2fb44e2355cb9717c5f7de598d11e6e7..160829b7a6e710684ae8be7a2eaec026dec2d053 100644 (file)
@@ -5,6 +5,7 @@
 // RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pch -o %t %S/asm.h
 // RUN: %clang_cc1 -triple i386-unknown-unknown -include-pch %t -fsyntax-only -verify %s 
 
+// expected-no-diagnostics
 
 void call_f(void) { f(); }
 
index eed2224d415fee36b3f76fea62a97ba985fdfe58..da9eef7496cd8ff384d27650134813f57b15f0b8 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 -emit-pch -o %t %S/builtins.h
 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
+// expected-no-diagnostics
+
 void hello() {
   printf("Hello, World!");
 }
index 1b91c732b4d0ec40ce3960afc3b04e0b58c43861..7836e09d88fe329d4c04cf7ef0cff283809dcb90 100644 (file)
@@ -4,6 +4,8 @@
 // With PCH
 // RUN: %clang_cc1 -fsyntax-only -verify %s -chain-include %s -chain-include %s
 
+// expected-no-diagnostics
+
 #ifndef HEADER1
 #define HEADER1
 //===----------------------------------------------------------------------===//
index c99d6d43ae5e280d2fe897108cf3ca82fa3c23a7..03fdee70b850f877a5c221d93091d5697a813a5f 100644 (file)
@@ -4,6 +4,8 @@
 // With PCH
 // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-apple-darwin10 -fobjc-arc %s -chain-include %s -chain-include %s
 
+// expected-no-diagnostics
+
 #ifndef HEADER1
 #define HEADER1
 //===----------------------------------------------------------------------===//
index 0d50e61c5a956f426d538903a139bbf53eba3726..4b64f51143df662d5cea2e23501fb4bb4a4a91f2 100644 (file)
@@ -6,6 +6,8 @@
 // With PCH
 // RUN: %clang_cc1 -fsyntax-only -verify %s -chain-include %s -chain-include %s
 
+// expected-no-diagnostics
+
 #ifndef HEADER1
 #define HEADER1
 //===----------------------------------------------------------------------===//
index f5724c4c1343736b6679c03090a9f702785c3b76..bffa09228f90c251a84c721b13c5a2a9eb2004ff 100644 (file)
@@ -7,6 +7,8 @@
 // RUN: %clang_cc1 -include-pch %t2 -fsyntax-only -verify %s
 // RUN: %clang_cc1 -ast-print -include-pch %t2 %s | FileCheck %s
 
+// expected-no-diagnostics
+
 // CHECK: void f();
 // CHECK: void g();
 
index 18356f75a0e2b1649cf1a5e585b158c511b0b6df..b0fd63de46d5acfb1c9d039edb560d33f1a12748 100644 (file)
@@ -2,6 +2,7 @@
 // RUN: %clang_cc1 -emit-pch -o %t2 -detailed-preprocessing-record %S/Inputs/chain-macro2.h -include-pch %t1
 // RUN: %clang_cc1 -fsyntax-only -verify -include-pch %t2 %s
 // RUN: %clang_cc1 -ast-print -include-pch %t2 %s | FileCheck %s
+// expected-no-diagnostics
 
 // CHECK: void f();
 FOOBAR
index 585da448650263d2ac5f91d5d3b3e2d15d1fa7fa..13f2e39b148d6cd02d2d55338be5fa11124b5944 100644 (file)
@@ -2,6 +2,7 @@
 // RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t2 %S/Inputs/chain-remap-types2.h -include-pch %t1
 // RUN: %clang_cc1 -include-pch %t2 -fsyntax-only -verify %s
 // RUN: %clang_cc1 -ast-print -include-pch %t2 %s | FileCheck %s
+// expected-no-diagnostics
 
 // CHECK: @class X;
 // CHECK: struct Y 
index ad4519279ae36c6370b71f941494b79818366a70..556c28ea0f5afd5fac4db50a82645603abe8f584 100644 (file)
@@ -2,5 +2,6 @@
 // RUN: %clang_cc1 %s -include-pch %t -fsyntax-only -verify
 // RUN: %clang_cc1 -x c-header %S/cmdline-include1.h -emit-pch -o %t
 // RUN: %clang_cc1 %s -include-pch %t -include %S/cmdline-include2.h -fsyntax-only -verify
+// expected-no-diagnostics
 
 int g = x1 + x2;
index 9cd31941e3562eea48b8263544940b8d54602768..b7707e0b9347f4c5db5e38fb0e72e20c14bd0992 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 -std=c++11 -emit-pch -o %t %s
 // RUN: %clang_cc1 -include-pch %t -verify -std=c++11 %s 
 
+// expected-no-diagnostics
+
 #ifndef HEADER
 #define HEADER
 
index bdba42bbcb51fe3f86ea8396ce2bca6edb36be66..f7d45cea8df4abc252c4b3d006bcf202087c8873 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-friends.h
 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
+// expected-no-diagnostics
+
 class F {
   void m() {
     A* a;
index 74df01a094b3679e589fcb99cafcff8ad64315d3..3b4fe77c044a2ccf0c35aa8f51fd89df9b7368c2 100644 (file)
@@ -4,6 +4,8 @@
 // RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-functions.h
 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
 
+// expected-no-diagnostics
+
 
 void test_foo() {
   foo();
index ccdc874cb1fa8aa48ed6bea7f5d45d13f3f3e1e0..ff6322d49d689997c1d9dc18f441727f7ded9388 100644 (file)
@@ -1,6 +1,7 @@
 // Test with PCH
 // RUN: %clang_cc1 -std=c++11 -x c++-header -emit-pch -o %t %s
 // RUN: %clang_cc1 -std=c++11 -include-pch %t -verify %s
+// expected-no-diagnostics
 
 // PR10847
 #ifndef HEADER
index 6ec65b24861810c7ed5bfc2b0e7022fb9fa62cad..40490ea681faf7112325f2b5fcdd9f11486a1842 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -x c++ -emit-pch %S/Inputs/cxx-method.h -o %t
 // RUN: %clang_cc1 -include-pch %t -verify %s
+// expected-no-diagnostics
 
 void S::m(int x) { }
 
index 1803a11b96b85da0be00dc91eb51ce1a4e3b0f91..afbb80b7376e34c1f0e77352ef86640c1f6ba9b3 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -fms-extensions -triple i386-unknown-unknown  -x c++-header -emit-pch -o %t %S/cxx-ms-function-specialization-class-scope.h
 // RUN: %clang_cc1 -fms-extensions -triple i386-unknown-unknown -include-pch %t -fsyntax-only -verify %s 
+// expected-no-diagnostics
 
 
 void test2()
index 0fd3de7f6c884345eabb87daad7309ab43149fb7..e0ff27c020c45e7348632f1de5b72e8163df8b23 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-namespaces.h
 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
+// expected-no-diagnostics
+
 void m() {
   N::x = 0;
 }
index 6312ca97882eee04207617215673612f61eb2645..d27e9ca93c43ffe9026e32b0bf16a151e4fef3a1 100644 (file)
@@ -7,6 +7,8 @@
 // RUN: %clang_cc1 -std=c++11 -fcxx-exceptions -fexceptions -include-pch %t -verify %s -ast-dump  -o -
 // RUN: %clang_cc1 -std=c++11 -fcxx-exceptions -fexceptions -include-pch %t %s -emit-llvm -o - | FileCheck %s
 
+// expected-no-diagnostics
+
 // CHECK: define weak_odr void @_ZN2S4IiE1mEv
 // CHECK: define linkonce_odr void @_ZN2S3IiE1mEv
 
index 3df34794f2e231535fd5e596ff61c5f5aef008ec..938f36f2c2791dfacdf3b8ce011f620c3ed31485 100644 (file)
@@ -4,6 +4,8 @@
 // RUN: %clang_cc1 -x c++-header -std=c++11 -emit-pch -o %t %S/cxx-traits.h
 // RUN: %clang_cc1 -std=c++11 -include-pch %t -fsyntax-only -verify %s
 
+// expected-no-diagnostics
+
 bool _Is_pod_comparator = __is_pod<int>::__value;
 bool _Is_empty_check = __is_empty<int>::__value;
 
index 41dd544807ea08307b84bfcc891142e7139d27a0..d1e0f9ded751e7a727f0a022171325e421c52ca0 100644 (file)
@@ -4,6 +4,8 @@
 // RUN: %clang -ccc-pch-is-pch -x c++-header -o %t.gch %S/cxx-typeid.h
 // RUN: %clang -ccc-pch-is-pch -include %t -fsyntax-only -Xclang -verify %s 
 
+// expected-no-diagnostics
+
 void f() {
     (void)typeid(int);
 }
index c78a1a57047c195b06c0cf36ecc8ec5c96e2e77d..dc00758aa52012287e5b71c2dbce76e5cee47e51 100644 (file)
@@ -7,6 +7,8 @@
 // RUN: %clang_cc1 -std=c++11 -include-pch %t -verify %s -ast-dump  -o -
 // RUN: %clang_cc1 -std=c++11 -include-pch %t %s -emit-llvm -o - | FileCheck %s
 
+// expected-no-diagnostics
+
 // CHECK: allocate_shared
 shared_ptr<int> spi = shared_ptr<int>::allocate_shared(1, 2);
 
index 3fca4e48acf8f88b952a7a02117e5d593cbfe075..446619ed1c9436c8518923c84994da02d40d15a8 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -pedantic-errors -std=c++11 -emit-pch %s -o %t
 // RUN: %clang_cc1 -pedantic-errors -std=c++11 -include-pch %t -verify %s
+// expected-no-diagnostics
 
 #ifndef HEADER_INCLUDED
 
index 01fc33a9a8445820e580cad104e338946ad78c88..0fb7590c68b5754b8d8ded15cd1f4c8b74427806 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 -fcxx-exceptions -fexceptions -x c++-header -std=c++11 -emit-pch -o %t %S/cxx_exprs.h
 // RUN: %clang_cc1 -fcxx-exceptions -fexceptions -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-dump
 
+// expected-no-diagnostics
+
 int integer;
 double floating;
 char character;
index 10ceb7c60b0a8072bbda27113a638af829f294f8..81dbd907ac786ae26c687c6ce4ffc9923e225ec6 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 -emit-pch -o %t %S/enum.h
 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
+// expected-no-diagnostics
+
 int i = Red;
 
 int return_enum_constant() {
index 5928abda58f3569fd6f9ca2dc2bdc4854e4a4124..c0b279f88a381f3cc36c955b1153a4adb561fc0b 100644 (file)
@@ -3,7 +3,11 @@
 
 // Test with pch.
 // RUN: %clang_cc1 -emit-pch -fblocks -o %t %S/exprs.h
-// RUN: %clang_cc1 -fblocks -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fblocks -include-pch %t -fsyntax-only -verify %s -DWITH_PCH
+
+#ifdef WITH_PCH
+// expected-no-diagnostics
+#endif
 
 __SIZE_TYPE__ size_type_value;
 int integer;
index 1e59054a2e542caeadd91ce4c6a15c29212f4cf6..ad7a6c3138fbaedda629777dc2940b00368260d8 100644 (file)
@@ -7,6 +7,8 @@
 // RUN: %clang -cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
 // RUN: %clang -cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
 
+// expected-no-diagnostics
+
 // CHECK-PRINT: id oldObject = array[10];
 // CHECK-PRINT: array[10] = oldObject;
 // CHECK-PRINT: oldObject = dictionary[key];
index 277c6dd6c2f0a91ed2e90720f1405b63a4b13643..c7dd805b3e470ff652ba6ced056ba58b6fae96e4 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_import.h
 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
+// expected-no-diagnostics
+
 #import "objc_import.h"
 
 void func() {
index cce3173bba0276f992c8ba58426f29fdb860d38c..c1220f80b5abd49f121eb91c95e4360b8569a49c 100644 (file)
@@ -3,6 +3,8 @@
 // RUN: %clang -cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s
 // RUN: %clang -cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
 
+// expected-no-diagnostics
+
 #ifndef HEADER
 #define HEADER
 
index 8ef335115030bc01b4dd46d13a43ba9ae33cad70..e41daddb8b5e67f60c1adc7820186fe11220789c 100644 (file)
@@ -3,6 +3,8 @@
 // RUN: %clang -cc1 -include-pch %t -x objective-c++ -std=c++0x  -ast-print %s | FileCheck -check-prefix=PRINT %s
 // RUN: %clang -cc1 -include-pch %t -x objective-c++ -std=c++0x  -emit-llvm -o - %s | FileCheck -check-prefix=IR %s
 
+// expected-no-diagnostics
+
 #ifndef HEADER
 #define HEADER
 
index e8aab843dc515f45f469d164805ae6b81b2dadfa..ea40460fb8df1f606d860bf95bec892d878924fb 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_methods.h
 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
+// expected-no-diagnostics
+
 void func() {
  TestPCH *xx;
  TestForwardClassDecl *yy;
index b51cd90927ae541b2d086f90ddbdd89f102be783..88a091928050f778fc7fd252db90aa10ea85341c 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_property.h
 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
+// expected-no-diagnostics
+
 void func() {
  TestProperties *xx = [TestProperties alloc];
  xx.value = 5;
index b612d89e945244485c72e30f01b51ea62f72cc03..2ca0e6e93568c51d1489fc4c8f402757a4e93b62 100644 (file)
@@ -7,6 +7,8 @@
 // RUN: %clang_cc1 %s -emit-pch -o %t
 // RUN: %clang_cc1 -emit-llvm-only -verify %s -include-pch %t -g
 
+// expected-no-diagnostics
+
 #ifndef HEADER
 #define HEADER
 //===----------------------------------------------------------------------===//
index 5b996bb2f0d16f438e1301b4f28c0dc6a6469ef6..103b252416d6c3a11688b356a4d3186b41b861fb 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 %s -emit-pch -o %t
 // RUN: %clang_cc1 %s -include-pch %t -verify -fsyntax-only
 
+// expected-no-diagnostics
+
 #ifndef HEADER
 #define HEADER
 
index b304c4bf8c35fe7b12701324dcc40b7c74fddff4..601c940cee9b3b33be86fb249a4adf664770072b 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 %s -emit-pch -o %t
 // RUN: %clang_cc1 %s -include-pch %t -verify -fsyntax-only
 
+// expected-no-diagnostics
+
 #ifndef HEADER
 #define HEADER
 
index fb465a37ce38da00f78ed52cd4f9eba4cfdac532..7639f1f0db6598f08ffddf77fdf3f4dfd2960bcc 100644 (file)
@@ -5,6 +5,8 @@
 // RUN: %clang_cc1 %s -emit-pch -o %t -Wsign-compare -Wtautological-compare
 // RUN: %clang_cc1 %s -include-pch %t -verify -fsyntax-only -Wno-sign-compare -Wtautological-compare
 
+// expected-no-diagnostics
+
 // This tests that diagnostic mappings from PCH are propagated for #pragma
 // diagnostics but not for command-line flags.
 
index 97e22cf9d6f14b87aa1bd2bc4535efa198d7d5df..4bec0508b14906bca0b22ad09654a4bdd9f11260 100644 (file)
@@ -7,4 +7,6 @@
 // RUN: %clang_cc1 -x c++-header %S/reinclude2.h -include-pch %t1 -emit-pch -o %t2 
 // RUN: %clang_cc1 %s -include-pch %t2 -fsyntax-only -verify
 
+// expected-no-diagnostics
+
 int q2 = A::y;
index 29edb753e41a46ebf6bff061f9b77c5d03e6a503..52873bfc244191a61ea002559c8dd2bb4af46928 100644 (file)
@@ -7,6 +7,8 @@
 // RUN: %clang_cc1 %s -emit-pch -o %t
 // RUN: %clang_cc1 %s -include-pch %t -verify -fsyntax-only
 
+// expected-no-diagnostics
+
 #ifndef HEADER
 #define HEADER
 
index 97ba113492176836d748eedeaf8a17a487916204..53cd99725225934caccd612415d14f07347f56d5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -fblocks -verify %s
+// expected-no-diagnostics
 int printf(const char *, ...);
 void _Block_byref_release(void*src){}
 
index a8cc258ca3756f7d8410782ae8fa3a3a2d66b394..d88daf3a870dd8d5df0d6c64bf9b9f81236a4039 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s
+// expected-no-diagnostics
 
 int printf(char const *, ...);
 
index 3cdf2b05cf85335c35223bb551a0353408401ac3..9aff96377404abc1f154a690e575c87a14f18411 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface Subclass 
 + (int)magicNumber;
index 4f3609dc29f4ebdfc7bd81774fbb6ec8ed9030ff..9a0e4a64a6547c64eb1020ac1d4764b306133ad7 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 int main() {
   char *s;
   s = (char []){"whatever"}; 
index 8603b30900162d763d3562c512eabce268ddb987..5ea0ce227595e9a798549e4f96c5689ddb66f996 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 class c {
   virtual void f1(const char* a, ...)
index 14912fd1067b7c6bb2f96b3137922e3d835b9911..11092ad0c1ccded9b41e004890b4f43c75944a01 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 extern "C" int myarray[];
 int myarray[12] = {0};
index 444862a5c85386b6bc89bfd35fbdd707f4d93f3a..be79db36e0df49f24054c61c102061cccebe4855 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 struct Base {
   virtual void override();
index a1ef0944dd1d2bd71cfb70de9a5d1ff38867859b..a2102056bc1af2f965f0c8ba6634f6c6807ecf13 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 
 struct S {
   S(int, int) {}
index 7b8022e78dc04ce1e2be23f9f652f27b39c0b6a1..056cee1ac06b24a343e0d9aabfbc079b9b51cd7b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 int main(void) {
   const char ch = @encode(char *)[0];
index fa6e4138f1c1eb7069a9a3f124cfdf3a5d588820..bad5c7c258d25c40fedea04aa27a4d8e88562e2f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @protocol MyProto1 
 @optional
index c368fabb80ed5141ec08e27ca0c77747d4c7be7e..61119eacc9eef416904abedd463da642f9384d52 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c90 %s
+// expected-no-diagnostics
 
 int f (int z)
 { 
index fb975cbf332754714e513835e9de27a01cbc0b76..b11a75ed20753d9fa7113fc06e03fefd76c1edbe 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -W -Wall -Werror -verify %s
+// expected-no-diagnostics
 
 int f(int i __attribute__((__unused__)))
 {
index 8667a71657ccf931e0f9d58e8592d919fb39ec75..31d17a9d7de9baa8063eeb738366d37a3d1a0c2a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify %s
+// expected-no-diagnostics
 
 typedef int Object;
 
index 84850ffafb175b34694fd1ead12fd6104fbf5be0..4598da05cd02968817c01c42434c2c26453e6be5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify %s
+// expected-no-diagnostics
 
 typedef int Object;
 
index 3abb62b6169c5b2585720c0b1c1071d25b869ff3..01c7ed6b5ab69bb1a11a3909f48b73143bbc1c72 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
 
 __kernel void test()
 {
index 9fa8a6880a21d2f42ea522d17ae75a096efb0c3d..f6afd1205879660aa9344453f31d8c646cb136be 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 void f (int p[]) { p++; }
 
index 152aacb8fd10ed3c5c3eb49861c9319293719dcc..84cd38dfb3cd13465ca03a7ad1dfa75c015dd479 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 class C {
 #pragma options align=natural
index ea25dea0daccc43e3b659215a87de269578c7e57..bb7354f550cc9e5a4f1fbd2a1944155104ddf72c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only %s -verify
+// expected-no-diagnostics
 class outer {
   class inner1 { inner1(); };
   class inner2 { inner2(); };
index 5ba2da9931cf8d0d6fc17b1165fe99e990472f60..3e2a86d9e9b2a0341733aeb73994ab046cbe7954 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s 
+// expected-no-diagnostics
 
 // rdar://8366474
 int main() {
index be342a225704d42ff8d492b97594db74d4585288..472686e8b3451da5a8a93274d2e6670d44186dca 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++11 -verify %s
+// expected-no-diagnostics
 
 void foo();
 
index 53b9dd5e9eca1b59cd94d7beb4585b60284e3b7a..db8c08303f5727feaae5d83a7cbce45bbad11edf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 // Test the X can be overloaded inside the struct.
 typedef int X; 
index 4946122a3f0c82a98b2b1b151c4558240e3bb5c1..b972d914ebdb8809096e612bbfe722a1343b0fbb 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -E -CC -pedantic -verify
+// expected-no-diagnostics
 
 #if 1 /*bar */
 
index 5ee29720d3d70d9e63e5ac0a94cdef96dfac0c10..39cb349b2a810d9c4561b5dbf574e03621f602c1 100644 (file)
@@ -3,6 +3,7 @@
    RUN: %clang_cc1 -E %s -x c | not grep block
    RUN: %clang_cc1 -E %s -x c++ -verify -Wundef
 */
+// expected-no-diagnostics
 
 #if true
 block_1
index 38c0384092aea0d4fcb730c59d06b7a2512584a0..3e5a2c4b0e67718c546b32be72b586eca327ec2b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -E -CC -pedantic -verify
+// expected-no-diagnostics
 
 #define FOO && 1
 #if defined FOO FOO
index 8ab12d9ab8aa91a86657dc603b245e90ea645944..39155e41501edce3048ebaa1f7e866b2ae713017 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 < %s -E -verify -triple i686-pc-linux-gnu
+// expected-no-diagnostics
 
 #if (('1234' >> 24) != '1')
 #error Bad multichar constant calculation!
index 457e6f7fc1aad8d46d3a53a71ea1f06dec517400..bba317239ac644d7ee53fc832401e2bbfe1ee785 100644 (file)
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -fms-extensions -Wno-invalid-token-paste %s -verify
 // RUN: %clang_cc1 -E -fms-extensions -Wno-invalid-token-paste %s | FileCheck %s
 // RUN: %clang_cc1 -E -fms-extensions -Wno-invalid-token-paste -x assembler-with-cpp %s | FileCheck %s
+// expected-no-diagnostics
 
 #define foo a ## b ## = 0
 int foo;
index 0ec288c830a0b788c425362ee042808547750977..3522f739344f439df5e5dbfd92189b456cb9b87e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic -ffreestanding
+// expected-no-diagnostics
 
 #import <stdint.h>  // no warning on #import in objc mode.
 
index 97f841a6fbb9d1ea0ab1b92d1e0990542d90eb27..0167e70e0122e59353edc463a5a35aca8b87ae2c 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -Eonly %s -DOPT_O2 -O2 -verify
 #ifdef OPT_O2
+  // expected-no-diagnostics
   #ifndef __OPTIMIZE__
     #error "__OPTIMIZE__ not defined"
   #endif
@@ -10,6 +11,7 @@
 
 // RUN: %clang_cc1 -Eonly %s -DOPT_O0 -O0 -verify
 #ifdef OPT_O0
+  // expected-no-diagnostics
   #ifdef __OPTIMIZE__
     #error "__OPTIMIZE__ defined"
   #endif
@@ -20,6 +22,7 @@
 
 // RUN: %clang_cc1 -Eonly %s -DOPT_OS -Os -verify
 #ifdef OPT_OS
+  // expected-no-diagnostics
   #ifndef __OPTIMIZE__
     #error "__OPTIMIZE__ not defined"
   #endif
index 17080fec53db82fed5f8b76e135fe5de218088df..075c9803a507f4f810f076478a6fbc902e9dea28 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -verify -pedantic %s -fsyntax-only
 // RUN: %clang_cc1 -E %s | FileCheck %s
+// expected-no-diagnostics
 // rdar://6899937
 #include "pragma_sysheader.h"
 
@@ -9,4 +10,4 @@
 // CHECK-NEXT: # 1 "{{.*}}pragma_sysheader.h" 3
 // CHECK-NEXT: typedef int x;
 // CHECK-NEXT: typedef int x;
-// CHECK-NEXT: # 5 "{{.*}}pragma_sysheader.c" 2
+// CHECK-NEXT: # 6 "{{.*}}pragma_sysheader.c" 2
index 8e3db5619795e8f0eaceb1c188ea7ece333fc545..23f24f96fda42e0e76d4393e5513af86347643d5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang -cc1 -fsyntax-only -F %S/Inputs -Wsign-conversion -verify %s
+// expected-no-diagnostics
 
 // Check that TestFramework is treated as a system header.
 #include <TestFramework/TestFramework.h>
index 332b0df72835017e58f7a3ca3dab64f4c101fcef..11282fdea8a47164ba87fb1b7d8731e79a3cb53b 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -verify -fsyntax-only -std=c90 %s
 // RUN: %clang_cc1 -verify -fsyntax-only -std=c99 %s
+// expected-no-diagnostics
 
 int f (int x)
 {
index e9f1deaf7cd61987190d4647cabae9dfc29155a9..0c994057a1e401d8a5aa51a9c1022807b5919249 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -verify -fsyntax-only -std=c90 %s
 // RUN: %clang_cc1 -verify -fsyntax-only -std=c99 %s
+// expected-no-diagnostics
 
 struct s
 {
index f22e70dd8d3d55a881dde3587f05b30dee6e39c7..5741de8e38ec1a9cb28218d6e5bd6568da121ee0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Test for absence of crash reported in PR 2923:
 //
index e842a7396b8d8860be7bfc5ee417264d175a926b..c13485b37ba5c109e8f35d852c697772f4e32152 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 int i;
 int a[] = {0};
index 0a5d3fe921518cbe46af54d14ec256c471361ed7..544f539231917930bef097379f47b019a6ed652a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple arm-unknown-unknown -target-abi apcs-gnu -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 struct s0 { double f0; int f1; };
 char chk0[__alignof__(struct s0) == 4 ? 1 : -1]; 
index edea5d8b742232fc57fe3fe2bfac2f3705c6b236..09bf63390f358fbc7e3d97b397b97f401444d3bc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR5599
 
index c6cd7543c21d4fd9fbfccf212846e4e6c9f89473..6b93a4893d150df1302cfc8ccafca7b2f08bb339 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR3433
 double g1;
index 912776ab8ff6d2cac343d8ef9805a86728821ef6..9b2811ccc7596e3c0c6871740551fc52a0869c74 100644 (file)
@@ -1,2 +1,3 @@
 // RUN: %clang_cc1 -fsyntax-only -std=c99 -verify %s
+// expected-no-diagnostics
 void bb(int sz, int ar[sz][sz]) { }
index ed9261941b583196b5b0d2cc2f06a8a2294cd4a1..3de672be9f7d3ed0c58f8243be70573e0eca20ec 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 void aa(int b, int x[sizeof b]) {}
 
 void foo(int i, int A[i]) {}
index d017fdb8aa07df5d36f181d83f3fe4739d69f6fd..4b76515d625766c269bd6c7825f17e5a1f23fe88 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -triple armv7-unknown-unknown -target-abi apcs-gnu %s -verify
 // RUN: %clang_cc1 -triple armv7-unknown-unknown -target-abi aapcs %s -verify
+// expected-no-diagnostics
 
 #define check(name, cond) int _##name##_check[(cond) ? 1 : -1]
 
index 7f172b19535522cbb205b777bd85204ce878a975..ac90850eb7ce442363ce27e6741c218cd72eca68 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 #include <stddef.h>
 
index 2655fc70cd4c427bde64cf2062014bb79c1025b1..d22639147586c01e4ad5ee7e48b0ed4927d40b99 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple=i686-apple-darwin9
+// expected-no-diagnostics
 
 #define CHECK_SIZE(kind, name, size) extern int name##1[sizeof(kind name) == size ? 1 : -1];
 #define CHECK_ALIGN(kind, name, size) extern int name##2[__alignof(kind name) == size ? 1 : -1];
index 4d14ad191e1ed2c8ad04baab767b22805fbaa9fb..3189cd57e4f363690ff92ade0b894edd3bc3aed0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 struct {unsigned x : 2;} x;
 __typeof__((x.x+=1)+1) y;
 __typeof__(x.x<<1) y;
index 9bfbfbd614e5992246dace4d2189994ebf78033f..74f1b0ea77fad201fbb0ba24509c686c54812ff5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks
+// expected-no-diagnostics
 
 int printf(const char *, ...);
 void _Block_byref_release(void*src){}
index 357a5bc26eb5a15e886197c3a8398fb69bc20ceb..419e92da44ebcf6ff9279a6279604fd4cf8773be 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 // rdar://8632525
 
 typedef struct objc_class *Class;
index d6b004aa8820476fbbac0ef9081f99af9bbc27bf..729dc4599de96c2e8d4625ef600483c9b2706a3d 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple=i686-mingw32
 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple=x86_64-mingw32
+// expected-no-diagnostics
 
 // mingw-w64's intrin.h has decls below.
 // we should accept them.
index 070ea74f680012f5f43797c30c38f3c94cc39d0c..ae33c2085666ad7d96dd9700b8fe65a4128fea13 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 int printf(const char *, ...);
 typedef int *pint;
index 23c3b6895314b07f74e4a7b908aa50fbb12c5b07..a59bf718931b20bb32e9d5bc56a5c7391ddf4387 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -fsyntax-only
+// expected-no-diagnostics
 
 float a;
 
index 5727a93e51fa8ddd0dae5905850e5729dd5da0e9..1290bf4dd85dd0755fb2006cf31fc4877450b548 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-linux %s
+// expected-no-diagnostics
 
 #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];});
 
index 8beaf9d4947cba78e840906cc5a89d93cfdb04fb..73b4a8a74fd09d9f84c2684b48080a221df7690c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
+// expected-no-diagnostics
 
 #include <stdint.h>
 
index 0045ea03d49d5ec3b7d8c52d62b0067fed4f33de..c98f62dfc5a22d6ad0ef0cbaeecc297a212dbf63 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only %s -verify -pedantic
+// expected-no-diagnostics
 
 // Math stuff
 
index 208097481cdc824f3cdc5d3726adf13e4f1fb1e3..bd357edceddf9f7e9ae7f85e25a2d99c63af1ea5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 typedef long unsigned int __darwin_size_t;
 typedef long __darwin_ssize_t;
 typedef __darwin_size_t size_t;
index 0eb6c14dbe85a413570a43c5927d082b03bc1a93..b6ba972ed686366d739d5465fd3a9b03f0756db6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR7477
 enum __attribute__((packed)) E {
index d0883ba202f9b4309cdf8f177ee392bd2d0db6f7..6e97a4fc49570caadb375b0d72adaacb742d4dce 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -std=c99
+// expected-no-diagnostics
 // rdar://6095180
 
 struct s { char c[17]; };
index d3e4020af637f850a5c9032f4138ef9caf064cfd..7902715915a2b5e65bf7ba94c025c1d5135b441a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -std=c89
+// expected-no-diagnostics
 // rdar://6095180
 
 struct s { char c[17]; };
index 1ffc439af07a83d39f1a0a1b98d8b0de5a173ee6..02fea462946c4f55aa1c4788fa4c190247790890 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu
+// expected-no-diagnostics
 
 // PR 4142 - support glibc extension to printf: '%m' (which prints strerror(errno)).
 int printf(char const*,...);
index 505e5221eff84d4c0ba24bdd06aec430501ff5d2..385cf1f751cac8f2c824c5e248d0c99f44da7f41 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
+// expected-no-diagnostics
 
 int malloc(int a) { return a; }
 
index 49ec7cc5e060cd70a8207ef66beba4ff2111c018..9d18e224f8eb476bbf0d26921fe077549c3127d9 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify < %s
+// expected-no-diagnostics
 typedef float CGFloat;
 typedef struct _NSPoint { CGFloat x; CGFloat y; } NSPoint;
 typedef struct _NSSize { CGFloat width; CGFloat height; } NSSize;
index f0cf32bd3f9c8a29faba4757eeb1e8a110e16296..a95e789e3a1be63d17c09f8044eb6f1f2c2f2beb 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 typedef float __attribute__((vector_size (16))) v4f_t;
 
index c56ab3b763026cc050247cdadfe2ce99c8f02c9b..0f425bd0e45b03ede761f8c2788e27af3f219c6e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple=i686-linux-gnu -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Check types are the same through redeclaration
 unsigned long x;
index 6d5d63208bf059b969d8dc7374ead27d41650743..934f32fd26b17f7319203a8663331869da59b934 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
+// expected-no-diagnostics
 // PR4287
 
 #include <stdarg.h>
index 09a76841032fff2f74820c77afde8bb449bf0097..ec3bbda4dd4c7a0b4f390786c43317778072f872 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -Wconstant-conversion -verify %s
+// expected-no-diagnostics
 
 // rdar://10913206&10941790
 // Check that we don't get stack overflow trying to evaluate a huge number of
index 7bda14303a2d6bcf538bba3725e7c58f525880bf..edbbea59ac87093418526bb19594bc43278030aa 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -fsyntax-only
+// expected-no-diagnostics
 
 struct simple { int i; };
 
index 9289b9029a1f34711ac6b06a57176ec818729ec7..d238a7a10d0d2c6a32d52469731b6309473af7a8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -mms-bitfields -fsyntax-only -verify -triple x86_64-apple-darwin9 %s
+// expected-no-diagnostics
 
 // The -mms-bitfields commandline parameter should behave the same
 // as the ms_struct attribute.
index 8e816e00b37a2291bed40b1f8a1390cd595442b6..d56d1576cd0c76efc8419b64fb86570ecc43312c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -Wno-unused-value -Wmicrosoft -verify -fms-extensions
+// expected-no-diagnostics
 
 // Wide character predefined identifiers
 #define _STR2WSTR(str) L##str
index fa0314e946f2a5252aba1a2fefe91a1592615c33..acdc5898b026f14de600d09e4d1b1967a98a0338 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 // rdar:// 9129552
 // PR9406
 
index 64c693907f9c01b0b12dfbf1f91822c67cf3147e..fd93fcbd5ca4b9d01b81759cf9cb901e02777ccd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 #include <stddef.h>
 
index 74fbd13d162bf40699393c9153d57b1bb3802c54..b8daf40b2c829ca59d532f6f9a4a646ae274f4c0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 #pragma pack(push, 1)
 struct s0 {
index 4a4c202c71addcc3eee251c2842c6a5b87655ff2..3696a22d5aa52139d8292e29800695adf16c560a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i686-apple-darwin9 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 #include <stddef.h>
 
index d97359e45b71ef94579984fa8f26b12fb67ba578..e7a6cee55057b91d79e05fe7619904ffdac3efa4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i686-apple-darwin9 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 // Stack: [], Alignment: 8
 
index b06fc0eaf15fdd6e8203bc9ddd01a5aac42c0258..6a09e14d88cfa426fc7b7599cd3c48920cd85b15 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -triple i686-apple-darwin9 %s -fsyntax-only -verify
 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 // rdar://problem/7095436
 #pragma pack(4)
index 95bbe1fe7e944b9e91f0a5e25d11d94f98db2812..24bd4cd7d9221ca81b2a05ff3f07ced507b04ed6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -fsyntax-only -verify -ffreestanding
+// expected-no-diagnostics
 // <rdar://problem/10494810> and PR9560
 // Check #pragma pack handling with bitfields.
 
index 40659c23bda879ee7ef03c2ca299929af8df368e..c87c99d5dab9667ba7bd3e58403b0ff5c5b386ae 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i686-apple-darwin9 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 // Pragma pack handling with tag declarations
 
index eb9641b7f3bec92a9056e093edd80346fab6702a..83c3a0a1790571dce7ab00bcd2bc0c125ef2df36 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -Wno-return-type -fsyntax-only -verify
+// expected-no-diagnostics
 
 int t14() {
   return;
index 6605c4e8fc0774640e5d147fb6538018f1f92c74..9bf0064646a7cfe23cae2c8ad6e5a3e66c7b2e7b 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: not %clang_cc1 -fsyntax-only %s -verify
 // RUN: %clang_cc1 -fshort-enums -fsyntax-only %s -verify
+// expected-no-diagnostics
 
 enum x { A };
 int t0[sizeof(enum x) == 1 ? 1 : -1];
index 30ef89242afcc2fcd6f6f222bc1810bf7f9ee0ea..8aa7ca90dd131287ef77234d368bb594d567415d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only %s -verify
+// expected-no-diagnostics
 
 struct S {
  int one;
index 6ca6a6096c4ea6640bbb8bb3e2862f23f7cf1008..166d5eb1ff8dfbd8a18477d29b5e015b4121ff19 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 // Packed structs.
 struct s {
index dd673b9646ea30317d6be4d442c357e06a748e01..db9ab3f4eeb65bb73fdf3ee98e16a36905c7fedf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s
+// expected-no-diagnostics
 extern void OldFunction() __attribute__((deprecated));
 
 int main (int argc, const char * argv[]) {
index 31c93914b819da5085daca00d6549449e2cdee34..bf1fb17ac6f800f8ac0f46c383613df05668aef0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 typedef union   {
   union wait *__uptr;
index 8372154ce0efd63785c206486898c8d811667a5a..98b1ab8099975674b2bd42eef7e9abf44ffbc10e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 typedef int unary_int_func(int arg);
 unary_int_func add_one;
index f3cc49c34bf2703da0c8e2af54e2ca3adbb43d6d..6fa18014179ed14f3790d03b8253e256f4eff31d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 typedef struct {
         int a; int : 24; char b;
 } S;
index 9f514c1f59e4055197ca7880d784d49c1ef9ed0e..2659a1b6d4cd0bc8248cc2af4486cd22254d85d6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -triple=x86_64-unknown-freebsd7.0 %s
+// expected-no-diagnostics
 
 // PR2631
 char* foo(char *fmt, __builtin_va_list ap)
index ba4bb71c975079f7291ded91f26e3e53694bb3e6..4f23cb8e0814e39dd16b122f88e577b4b383a629 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -fsyntax-only -fblocks
+// expected-no-diagnostics
 
 #include <stdarg.h>
 
index 14fbbc47ddbcc1cf018ef3451f30efa8e8438916..5c5ce8d12b002d7735c7fbb2f891d492b018825b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -pedantic -verify
+// expected-no-diagnostics
 // PR4290
 
 // The following declaration is compatible with vfprintf, so we shouldn't
index bdb3374288df01ccdc094230875de68a0a80e70f..e55cfba0c5898c79b534bfa685e71a8e434109c7 100644 (file)
@@ -1,2 +1,3 @@
 // RUN: %clang_cc1 -Wno-gnu-designator -verify %s
+// expected-no-diagnostics
 struct { int x, y, z[12]; } value = { x:17, .z [3 ... 5] = 7 };
index 3a2c0e5b3a14bea3497ec5911cde1d69d5d7cc84..ad437693a10ed260ca55ae023aced6fbae05a916 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -triple x86_64-apple-darwin %s
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // rdar://10277579
 
 enum __attribute__((deprecated)) __attribute__((weak_import)) A {
index b84e7c1cf862d526be2dde2c9054275dc9d824b0..e27c0848ef37e887d917472b1045fa7baca72b7d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
+// expected-no-diagnostics
 // rdar://5683899
 void** f(void **Buckets, unsigned NumBuckets) {
   return Buckets + NumBuckets;
index d932b5dbbceaad10e4d93751a7ab91c451489845..14e5160e090b0ec130c43b6770caf74db8c885c4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -fms-compatibility
+// expected-no-diagnostics
 
 // PR13153
 namespace std {}
index 08644ada4a4b9ff2d35d6976fbc59e95cd19b291..5ba74aaba36c274a7c9b75b4ef57ecee81c485f5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify %s
+// expected-no-diagnostics
 
 // PR12223
 namespace test1 {
index b5aac5f09c16af40c4bfbbdc1d2f7bd1986a9458..eeb73f6f56c921a8a4586eb97977ba9c06e99122 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 
 class C {
 public:
index 854d9b058bc3dd468e829f6f3c37f39c08506e27..144fde68b1786064784bba841b248a719834acfc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 struct X { ~X(); };
 template <typename T>
index ab883c4062c9038a1e39ceaafc1be1851a80a4d2..bb8bd6a56bff9b8c7b7c6330595990865c59fcf4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 class Base {
 protected:
   Base(int val);
index 80086e445c5dcf5b3259317b074d7979a0ad88cc..a34f99c12287b7521ae318a7f57db8658c165d7a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 template <class _Tp, class _Up, bool = false>
 struct __allocator_traits_rebind
index fc090cc42f928be2a52ff8c450cfcb027619825a..a15b637a03d2991ed1c65be998a137e10387186c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 template <class _Tp, class _Up>
 struct __allocator_traits_rebind
index cb5d38a097ef2b7873a4a5780524edf5309026cc..a0f503abe6c8fb2cff73ef07be1620b93e72cb9f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -fborland-extensions -fcxx-exceptions %s
+// expected-no-diagnostics
 
 // This test is from http://docwiki.embarcadero.com/RADStudio/en/Try
 
index 8e682ebcda3d1db2a8740f52c557b9398b8789e0..9f987a9681cddf3a72c9862065f249692e8e65f8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -pedantic %s
+// expected-no-diagnostics
 
 namespace PR12866 {
   struct bar {
index 1b1509482af354af0b983f57e6c07a8403d8f877..02e9cac62ebeca80729151ac5bbcda6420f54525 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks -std=c++11
+// expected-no-diagnostics
 
 extern "C" int exit(int);
 
index adbff553e6086e06c502b67af1f2619600464839..3f81c274d04f82d3bdcb3a42177e4a52bc8d3ff3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
+// expected-no-diagnostics
 
 void tovoid(void*);
 
index 483153004dcba762470972756dd691beef6069a1..1e4bd45612fd83147572c74c6a95ab4ac0042173 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -fborland-extensions
+// expected-no-diagnostics
 
 // Borland extensions
 
index 324d20ea6a1599a45501b82f03175a2e2d1fa6fb..590cd3c35d4e1ea7e3926bb48b34d9beee8889cd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -isystem %S/Inputs -fsyntax-only -verify %s
+// expected-no-diagnostics
 #include <malloc.h>
 
 extern "C" {
index c7b5173a4fbe9671c0ee0afdf990884225aec8fc..c27d642f9a46ba5bfe1e207ea2afd145643782ed 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 
 struct A {};
 
index 0e90d54f804faf945c2f181f07e23781db06f5c6..082fb2868c639ed179019c1fc231e3e297371479 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 // rdar://8686888
 
 typedef struct objc_selector *SEL;
index 0052856d2ff928d7601b68a0b3ffaadd6c069113..41d2fa2fbf2c75839c3a4f978787b8bb2eaa9e58 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 struct B { explicit B(bool); };
 void f() { 
   (void)(B)true;
index d81944ab9b3ca77b1f1231cf618a3cf526c8e0de..f2ff9fcfd7c195e6f8f6606e317042bbe1ff39d8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify 
+// expected-no-diagnostics
 
 #define SA(n, p) int a##n[(p) ? 1 : -1]
 
index 79ff7d1cde251f01076c2ebf814717049451b5fd..3a6162bc473e235a3f34a87190170920fd33f785 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR6076
 void f();
index e75833a37dbc5a6d72eadce58a63a8b0fecb3dfc..f70f9df6c73b9c1e8aa475795edfd31de62f77a1 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -fsyntax-only -pedantic
+// expected-no-diagnostics
 
 // This file tests the clang extension which allows initializing the components
 // of a complex number individually using an initialization list. Basically,
index c5153788adfdcbb8a80fb56e9de85f52e9d7303e..07c04eff30839682199f4b00ca34c5bf50237a3a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify -std=c++11 %s
+// expected-no-diagnostics
 
 // A direct proof that constexpr is Turing-complete, once DR1454 is implemented.
 
index db52565e6c74628ffefd94428bbfcb09fe246143..3202dfea71e288291cb370538efffb36b93e48bb 100644 (file)
@@ -1,3 +1,4 @@
 // RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s
+// expected-no-diagnostics
 extern int x;
 __decltype(1) x = 3;
index 2f95075067a4a2d82898f58723ffdbed12f756f2..a5ac54bc37fea95950a685f9d2ff4754ddd8477d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 
 template<typename T, T t>
 struct TestStruct {
index 9d33ce7341a2457b7e9b29d3edc74159368eae67..b781b891ffb7868f82a6fc0a1281872c10a71a89 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 
 template< typename T, T t, decltype(t+2) v >
 struct Convoluted {};
index a13416f089dd6b3ccf1c8f7c26b53f30a1f62c89..21b4b60ea3cee3f42c472cac5a1c1ddb42ead51c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 template<typename T, typename U> struct is_same {
   static const bool value = false;
index a1200e08200d0e1cd71697fc43232b24e06ef67a..ef3103ded7a982a545005ad811c9d45a76a0d6aa 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR5290
 int const f0();
index 3ab7bf4eb13d6c6d0bcc9801002e80d0b078311e..c0880d507e43c96add3c33f0cf3722fdede4a70b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 struct B { B(void* = 0); };
 
 struct A {
index 2602ae12f243b728328ab4160dc0945144a39386..67534db36d61668cea71ccf1666a1359aac91a77 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 
 void test() {
   int x;
index c68f2bb6fb0e6f5ef2513f3668addb4d46a1e260..951f16c1b0c54db5d93e8e2019c031581cb105f8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify 
+// expected-no-diagnostics
 
 #define SA(n, p) int a##n[(p) ? 1 : -1]
 
index 2e180706d3b912ac055b2e564045ed4f8b0bec80..e26e864e3d8f147af35977c270055a73170f2136 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -fexceptions -fobjc-exceptions %s
+// expected-no-diagnostics
 
 // Note that we're specifically excluding -fcxx-exceptions in the command line above.
 
index 56b2daab4c4f11a0a76bdd2018de8f90cd423a35..ab75a4f8ca44680d7bf92264671bc67caeac6b0f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // <rdar://problem/10204947>
 namespace N {
index b082e3a6c1c0649ecf9cd486d6b662be4411ef6c..c613cecbc5a9f4b64de704156d6a3dc38a91fbce 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify -Wno-covered-switch-default %s
+// expected-no-diagnostics
 
 enum E {
     one,
index 01ea031ac2c1c308d4268e39fcbe6cd20ef5ab3d..b42a61118241500697154a336eca8d27ce33ba1d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 //PR9463
 int subfun(const char *text) {
index 5b3fac4a658f013f7d764959796075f369779790..cb2213d78dd7f2593b4d5fc91beb256f3fc3ac8f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace test1 {
   // Make sure this doesn't crash.
index ab03a155d3669ac5d4655b58c7b72e16602fd658..bfec6e080ba5114dfb83f1740f70cddb17205786 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T>
 struct classify_function {
index 500b2197ef35f1016b2a2cecc5d23613229a6950..f4ca79159dc9641f419caa96da6c90187719a615 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace PR6382 {
   int foo()
index c75b185bcc4205ff6611c0c12d1341142f68b4a0..39f5a15d0811a24f787799b06af99b113c6bc48e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace A {
   class String;
index 6e35eb2b14d7d2250f352d5f1a9fc29658dfd8aa..246afee23990417b80cd3565cf60b5412923c6de 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 // PR5543
 
 struct A { int x; union { int* y; float* z; }; }; struct B : A {int a;};
index 7ed60f7a17b781dad0add1b547d5a8ead9a1a0d2..d4c6c0b6da2f552dbb1117234e73dd9c368f5075 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 typedef void (*thread_continue_t)();
 
 extern "C" {
index 3aa1eaf5f256a15b977614a8e90c4400758adc41..8b595237fcab7addc79998745012834ccd8fcc37 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify
 // RUN: %clang_cc1 -triple i686-unknown-unknown %s -fsyntax-only -verify
+// expected-no-diagnostics
 #include <stddef.h>
 
 struct A;
index bda56f5468d4aa1e860648a81a17a4acc5255bb0..1be8ec29369089defa74994d5cd4e717f75c3e27 100644 (file)
@@ -1,3 +1,4 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -fms-extensions
+// expected-no-diagnostics
 
 void f() throw(...) { }
index 981476d4fd2170e421c1842aed75a9ef4590d0cf..c2dfc77d01fba01a6a17a60e904378eb6fd68fb3 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
 // RUN: %clang_cc1 -DQUALIFIED -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR5904
 void f0(int *ptr) {
index 20b15b729cd045401cf8dd42cf429e285090c23d..ae100653611281ae744615fe91f6220748747bb2 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -DTEMPLATE_OVERLOAD -fsyntax-only -verify %s
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 #include <stddef.h>
 
index b52914a2c33edefd506d144e8640950fc2693f35..d716f45e8df668bc154bbff7d88fda679948dd35 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -Wno-compare-distinct-pointer-type -verify %s
+// expected-no-diagnostics
 // rdar://12501960
 
 void Foo(int **thing, const int **thingMax)
index 0d624c26de709a2cae572daa9f761fb5bbebe2b7..306b2033e45688160ab7b8aee26d43a244df03e9 100644 (file)
@@ -1,3 +1,4 @@
 // RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s
+// expected-no-diagnostics
 void f(void *);
 void g() { f(__nullptr); }
index c1834a7225773fa0fd7093c62f12615678be4e6d..763daadc252a04ff6dff545c893adc6316442f18 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 class C {
   C(void*);
index 6a5a162af679b8aee5c8cacbeb24005989fcf8d9..bf543892e43db99d872c2ca1d602a8abe8193bac 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -fshow-overloads=best -std=c++11 -verify %s 
+// expected-no-diagnostics
 
 template <class T>
 struct X
index 5c1d5c6c82af61337fecfd441aebbfb69b05aad3..e468cce7f07095c63554ac67a4b45eb7e9e73ff1 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i686-apple-darwin9 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace rdar8745206 {
 
index c9ddffafafa92cb8249e464b504f4b038365b3ad..c9eaab6d3f50cddf18f4fc5234836d5332398c35 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -Wunused-parameter -Wunused -verify %s
+// expected-no-diagnostics
 
 struct S {
   void m(int x, int y) {
index 3c77dae70ff5dd4ae0a17dbdada0f6cf84fad446..5457bbe498fff742bc3bcbf2f183ceb45e5e296f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only %s -verify
+// expected-no-diagnostics
 // PR5679
 
 enum X { A = 3 };
index a6cbbad2427a203ac61ae39aa249cd1d70292ff8..0b6aaef493cbfaa17a0fd999f87648b06ec71099 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 class A { virtual void f(); };
 class B : virtual A { };
 
index 787e33022aa3ee0564d00f7e8a9735f8056de2f0..85ed0aaa4f9e2181c8cc5b040218bdae2661450c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 
 // 13.3.3.2 Ranking implicit conversion sequences
 // conversion of A::* to B::* is better than conversion of A::* to C::*,
index 83b0a5911d430a7655bd5eb5e384e2337fe5efe8..750821bfd81ce1f52def904c4a2f86e8fce90873 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 
 // Check that this doesn't crash.
 struct A {
index 9a177c04b10432402968fbca81e03d215119ef6d..7ce21c523cd77b59bd434c85fc6262e6ce1baa0e 100644 (file)
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -triple i386-mingw32 -fsyntax-only -pedantic -verify %s
 // RUN: %clang_cc1 -fshort-wchar -fsyntax-only -pedantic -verify %s
 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -pedantic -verify %s
+// expected-no-diagnostics
 
 // Check that short wchar_t is unsigned, and that regular wchar_t is not.
 int test[(wchar_t(-1)<wchar_t(0)) == (sizeof(wchar_t) == 4) ?1:-1];
index ca49fce052e367ec89aa8758f7631a1205d91b69..0620f484d9cba5070c70a8462d9107081d278a0d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 int f() {
   return 10;
 }
index 6403cf30597dd6a45edb32be97949e9bcf886e3b..bbd17e7fe9b57164892cd6f678550c8055776733 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // <rdar://problem/9168556>
 typedef struct Point Point;
index bda206b61f9a61912c549848619813977148eb95..ed5b526a124d8a9d0d3719a39cd7bd7e1a566b9c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 struct T1 {
 };
 static_assert(__has_trivial_constructor(T1), "T1 has trivial constructor!");
index db415cf9050a80ee54a9210e3a532b07ec2e836e..d3acec6284f5d85823785c8e461eadca2bb79b81 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 struct T1 {
 };
 static_assert(__has_trivial_destructor(T1), "T1 has trivial destructor!");
index 35980820389237a5cb13a870246087eb520ae69d..d05ff4db605599acb8d6aa77fb3057c06f90a4a0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -Wunused -verify %s
+// expected-no-diagnostics
 
 static int foo(int x) { return x; }
 
index 39a446fed9acd4843ea5969e5b113641fb5b0763..da21db311bb64b1558a958c6412c2e474e553c60 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace A {
     struct B { };
index 4f929ad15f5f4aea17c4211d7fd4e75d247b2726..ba81e93e0b07b3c8a9b8e2b070e1c409fa634bed 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 namespace A {
   void g();
index 2017ffa67c906a208f0069849caa10dff84f4948..b26ca253b7c08ee8753acc08ded43659f46f822a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify %s
+// expected-no-diagnostics
 
 template <unsigned I>
 class C0 {
index 3c8e41cb3e3596e1b4939030b64ad5138ecb0d69..27c2bbbf5b8eeb2da393b368cfde8c323635e389 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -fsyntax-only
+// expected-no-diagnostics
 // PR5462
 
 void f1(void);
index 550500906892b811391f092c8f9d567f97e07845..e643015f31b8010516a90acdae04ea3f1cd5db5b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -Wover-aligned -verify %s
+// expected-no-diagnostics
 
 // This test verifies that we don't warn when the global operator new is
 // overridden. That's why we can't merge this with the other test file.
index 620be195c1de0aafd97669de38561708fe5adbbc..2e8d130bcd5a0aa43fb6393334824151af57c096 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 void f(int (&array1)[2], int (&array2)[2]) {
   if (array1 == array2) { } // no warning
index 05ded4ad9b3c19400a031790b29fc89a4cecaf8a..d86ab8666d53ee5bb59569df4bd29a3349445bdd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // <rdar://problem/10228639>
 class Foo {
index 02ed40ae338b9c8ed08b3359f39b11d07b182818..67d76b85e7ababc33ae9fdc03694d2e648960b78 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://10565506
 
 @protocol P @end
index 06a0ffae588c9c882ca56c7e8dbc792cc959be9c..bf4f6430bae065096b05790db0b9433dc237de3e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface MyObject {
     int _foo;
index c773f26cc11314d1617cca83f6001614800bac2f..418f90d38a8bc6f1ae0b0f83244a1202d75f0f47 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1  -fobjc-default-synthesize-properties  -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s
 // RUN: %clang_cc1  -x objective-c++ -fobjc-default-synthesize-properties  -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar:// 10558871
 
 @interface PP
index 635b9fec71d12f71fc5827a2443a4e8d3f901188..bcc1f4b45b239fa0bc70f79568e8db40f2b65c92 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -triple x86_64-apple-darwin11 -fobjc-runtime-has-weak -fobjc-arc -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar:// 10558871
 
 @interface PP
index 9158b09a47e76b6311227150a340ad3f1219a8f6..83a07e94f2b96a3693462c9b9b1d5cd5799e47b1 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://10156674
 
 @class NSArray;
index a6c5f985df8f37b22a9b454546d9ab4628c4d65e..99e870f643a84e80f435895a456bb7fb88f79a75 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks %s
 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -fobjc-arc %s
+// expected-no-diagnostics
 
 struct X {
   __unsafe_unretained id object;
index 8415c698f3485de4bd8c374b38c46e505d30e66e..978498ca64b52ffd2f0d90e9bdedb3e5b23b9d59 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -fsyntax-only
+// expected-no-diagnostics
 
 @class NSString;
 
index a85b6067571eee6039fcc7d8b2692ef609b67f3c..945d6f68d6eac2c59759b4d051ccfe61ef04edc7 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks
+// expected-no-diagnostics
 
 @interface Whatever
 - copy;
index c7ea1d96a05b00293641202a8b3bb197901ee3f3..5864b6350120d54395171cec052a0783d873a4c2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
+// expected-no-diagnostics
 
 @interface NSObject {
   struct objc_object *isa;
index 15c3fb64d7787d837824250d29cdea809210fca2..e0bac996d80a96152e55631c8a7e3480273f3ae2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -fobjc-gc-only %s
+// expected-no-diagnostics
 // rdar://8979379
 
 @interface NSString
index 5839bf444419a8aac6830a145d00f11ea720dabb..6c28178de0ecb6bccc66085bdb614d5f4733dc1c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -x objective-c %s -fsyntax-only -verify
+// expected-no-diagnostics
 // rdar://9362887
 
 typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;
index bf17225a04171e8ca75542f905a2d0e18cb942c3..bfa09d9f6cfcdf16b9cd814b0ed40fe7b05cabaa 100644 (file)
@@ -1,3 +1,4 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 // rdar://8632525
 extern id objc_msgSend(id self, SEL op, ...);
index a31d824d1d4539dbd8fbf84e20aa0f5d72c46ae7..ed347c7cde0cb87d83846973e92cf9e6c2441ff0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 typedef struct objc_class *Class;
 @interface NSObject
index 4223a747947c3bdf4c9af1d13bf5f1a2b5445cc2..6239e948dce4f7817d7790f023cf3deb5585cbca 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface Foo
 @end
index 4ff9428e9637b84858618faaaa7443997cf42814..dd384b5108336aafd4be35e648e5dffa4ac21e25 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 typedef struct objc_class *Class;
 
index c46d3fb397cea4147923768ecfe4a44043a83e37..735b51a3c432908d1a148077d4d2cfaa6f66e3cf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface Test {}
 + (Test*)one;
index 91cd1389f1e656b7653f03479019cf1634affe44..021047e120523acba35e4a07ee6f100191495554 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify %s
+// expected-no-diagnostics
 // pr5552
 
 @interface Protocol 
index 74e42c96137df2ee6e6429383f51684d398b695f..8e90455de66429b2dc122cdc19518aee614fa4a9 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 #define nil (void *)0;
 #define Nil (void *)0;
index 750b0a6a5a97dd6d8e3063bc7a20e72e307f18e6..e651030689113d84a443b83a7b82568ae1ed4409 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @protocol MyProtocol
 @end
index 47aed3e6a579f39900b6fadee698f0bd043efee2..b1f7e5996947391fdfc283c63a01d519fd9edf1d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface PBXBuildSettingsDictionary
 {
index 098688a8a90a3414c4a544e76160926ead67a006..e944e540b2fcc92ba1f9753999250b6e890fdb1c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @protocol MyProtocol @end
 
index 3ddf3d73566a03b57652c6b1415f4f10a2b4d73a..5b4a8632b27f5f9fb6207a228ccc1507267ffc5e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // radar 7682116
 
 @interface Super @end
index 6799983e3b1683da7ca2ca28d6af791401c32914..beddd205a9071c0f77d9baab469bbfbaf11d0796 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // rdar://9296866
 
 @interface NSResponder
index 819732758d275e1ed64922f16d3f61b296c3712b..d0d6be84a65e04e7e6e1220f99d06840f15ff8a4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify -fsyntax-only -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://8225011
 
 int glob;
index a6f66fe1bd387ec1618c8625dcc03f9aa960fb47..c74b054f74d4a8300f68d48d4c374e997e87520f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -Werror -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://10387088
 
 @interface MyClass
index dc1491173aae06100b26afa4cefee09477eb4d6b..a276a64913b30be9cdefd39e968e73b5625b0688 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -fobjc-default-synthesize-properties -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://8673791
 // rdar://9943851
 
index 28b03d93e2d2265e8a9e70358025602e9a64aecc..352f29160e530061cb40ba2d9d46adae601cf0c2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @protocol MyProto1 
 @optional
index 95153bedb3db53739a8ec02662f63e43461da6f4..4fe643faef2f7647d34b8a4a5e10dddd5bde6d2d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 #if !__has_feature(objc_fixed_enum)
 #  error Enumerations with a fixed underlying type are not supported
index 71c3237425bd1581903066a33b1d3d3bd9a688ee..ff5c1744668067c591f0b4c838fc4177ab7443bd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface MyParent {
   int X;
index a1431d60abe39ebd7984e80be16dfaaf49e641c3..be42e7d7c5643f6730fb9516891967da93d0fae8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 // id is now builtin. There should be no errors. 
 id obj; 
index 36a2c1ad873d99f3305860047391758b5d874155..996664f6a9e09482ead033f6ac95c0c525835077 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify %s
+// expected-no-diagnostics
 // rdar://10667659
 
 @protocol NSCopying @end
index d71cebf2c79a6e2252c0a9d393d5f329aebbdcac..c68c57830a9ad191c04ee86f2f73e8860882d9bf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify %s
+// expected-no-diagnostics
 @interface foo 
 + (void) cx __attribute__((weak_import));
 - (void) x __attribute__((weak_import));
index 02b14035a223bd8fbef128a93a33ca5127c9c9cb..17e34d4681bde056d6ebeacf6b09672cf41f2363 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 @interface A
 {
   int ivar;
index 336605a7812edeacaf20b440fbfda5bfc5648c7d..9b083b0154e1077db6c98776f824c78a67889db1 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify  -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5
+// expected-no-diagnostics
 typedef struct objc_object {} *id;
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index 60fd900285d059f28586d4a9520cc77317b1e8bb..ffd740f7fc446b07befbce240603d63059e592ac 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -triple i686-apple-darwin9 -Wno-objc-root-class %s
+// expected-no-diagnostics
 // FIXME: must also compile as Objective-C++ 
 
 // <rdar://problem/6487662>
index 0671dae61e821f9ece5942e9619725cb97af2dba..9875eca5bf16e6ff844687c9b1a39647a5c9087d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface I1 {
 @private
index abc3420f1bd2c7b40398f39a3c52a383117a64bd..ff5ff4e68aec1cb2746751a86afa8f057b123f2b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 typedef unsigned char BOOL;
 
index ca91ebdef237acfdc6da5dd04acc8b1199a97890..654cd0166fb50fd7f0e4ceacfbe0c3c1a89ccb5c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 // This test case tests the default behavior.
 
index c205322dec9dbf4b393bc7aa308b2363ddb9640b..d74ae8f154fde79365758830cf8a4b8e8dd3a2d0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify %s
+// expected-no-diagnostics
 // rdar://8530080
 
 @protocol ViewDelegate @end
index 53cae83712526dca1d952fc6f74693feb5c02827..25963048f749283763359cd77fa341607149d4d5 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 typedef signed char BOOL;
 
 @protocol NSObject
index 700565e783293fe712f3eb567dbccc07f54d6037..807d4dae36b5ab82664be126d165558af6fd80e8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface NSObject {}
 
index bb01eadba94bbe5fca2f52c93ebaa8154d9f5d7c..7051ac689cc024a27827cae01d9e0c20f9140980 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -x objective-c -fsyntax-only -verify -Wno-objc-root-class %s
 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://10041908
 
 @interface Bar {
index dd9b73cc0de3c69095517c04d004a0fc9b0dacec..6539a9b7f149ffc2cc2ab89a1a79ff28f95bde6c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface Subtask
 {
index 6f00b1a367c70749808ebdfa857d8d1f0b531b2a..9bbff24be990429116792ca3ecf60f211fbf5432 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -fdebugger-support -verify -Wno-objc-root-class %s
 // RUN: %clang_cc1 -x objective-c++ -fdebugger-support -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://10997647
 
 @interface I
index 1e3c18636674d8e3e5d3d3203495b13a282ffc40..9638da46c18fab264944e08d8207e9430cef2f90 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // radar 7211563
 
 @interface X
index 103f6bbd02ed4d5657f4860e305e5be44ab368e2..cdb855e1547315752eaba85b11a480f275f738bc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @protocol CYCdef
 - (int)name;
index dd6e3ad4aa32d3b9dfd9f806e286291e2601b22f..174f70a4ee5c418c74b2cb16f4b14bbccd1e5bfa 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // This program tests that if class implements the forwardInvocation method, then
 // every method possible is implemented in the class and should not issue
 // warning of the "Method definition not found" kind. */
index 88d519d115c4d7edbc3c401e68548b6f8745cfe1..d5a4eac9906764bcf9486485924b88289f55f1f4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://9651605
 
 @interface Foo
index b211cdea37b019a0fb97880c4318945baa04df45..d522e899eb0b96eb84e5e8ea0fb430990451c51a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -Wsuper-class-method-mismatch -verify %s
+// expected-no-diagnostics
 // rdar://11793793
 
 @class NSString;
index 72d8fa693a9b0b28bc2a4c6994db2802ad71aad7..4a75f5ce8efa2cdeba37da0e2b757f23824b9640 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fblocks -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface NSObject
 - (id)self;
index a4b83be0cd707a2519a6fd6d726902b6b7ddb7ac..55e489798d773a348d0a07de188ba35a837da8ad 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://8843851
 
 int* global;
index 48b28cb05ca5720564f647ae4081f027d9236a92..b5cadbd6037f9c17d999c6d39b7cb2713afc2915 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://9078584
 
 @interface NSObject @end
index 5cbc6d2ceb726730d12bc241bb341e79c2ae93f4..77efd556928cd4a5237e14f3857a71e67e2df965 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Weverything %s
+// expected-no-diagnostics
 // rdar://12103434
 
 @class NSString;
index 61f36b3338264fc0ff120d58c45c8a7dc0114cc3..1fc5ef66b88a76e9803e21da2169fc9ed9c59554 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -pedantic -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar: // 7860960
 
 @interface I
index ba39257fcd50459b53a3b7e641015bafdd2eb526..6869bca90d0afd9fac13f1e4b8b0e1a50c24eda0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i686-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 // Make sure pragma pack works inside ObjC methods.  <rdar://problem/10893316>
 @interface X
index 297611574eae7aba18d9d646278a8083d26398c9..e41a840c92241334a5b9e3ccf1fc7f194e62ab31 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface NSSound
 @end
index 2ca3416526866752f818618ee54597bad32eaa44..362d6d3b15d1039cece7bb326f69f75f21ffe480 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -Wno-unreachable-code
+// expected-no-diagnostics
 
 @interface NSObject 
 + alloc;
index f95af5990275a980594959bde7146e22e85a584e..3298ee5766e2ae327434d042bc8109c3244d521e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface Tester 
 @property char PropertyAtomic_char;
index 933a4f0673f859ead788da347221348997b944e8..f2a293ec5ea48a4ec5288332481efb43aa9a8f5d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -fobjc-exceptions %s
+// expected-no-diagnostics
 # 1 "<command line>"
 # 1 "/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h" 1 3
 typedef signed char BOOL;
index e6cba50f7a61b9caaaa264cfd75f129497539187..3d03b8f680d32405dc2ff7c7e05783c048039dea 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 typedef signed char BOOL;
 typedef struct _NSZone NSZone;
 
index 8647aba8c3e7c733664dce8612eb32148fd9e104..da97ffcb7ed04de616f896105d200deaf408be87 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
 typedef struct _NSZone NSZone;
index 84eb3635e2ac4ae19e91d50d3cd5d23652666ab9..d6220f66fa9ab83d210e0c02bffbf6dcf6c181be 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 // rdar://5967199
 
 typedef signed char BOOL;
index 5b40d854898e45449a79c6d9d542d99d52515d91..a9974945b2c0d0f2f8f470a3a7c01aa82a9b4341 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // Do not issue error if 'ivar' used previously belongs to the inherited class
 // and has same name as @dynalic property in current class.
 
index c5a928b4e8927e927118db80b22f94cd742bf7ae..4a5f1959dc0eeda328152ee97ed5521553573ca5 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s 
 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s 
+// expected-no-diagnostics
 // rdar://8962253
 
 @interface Singleton {
index 19d4e684944a9f824ec57ad64725b58c0cdba786..dc490edb1fdc39e0aded01df73ef2344b1aefd29 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface SSyncCEList
 {
index 55bf91f383d44c4bf7a8c13d030bbfa174da93b8..3684cb00ebb441e2a7f6b4770c9bd6d58198161a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 typedef signed char BOOL;
 
index 71bb86a301effd46bbbef1eefb108ae271415e3b..e4752c52bc9905973d54043ffb801a970e556469 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 
 @interface Object
index 3b0e825b9d8ca1e301acfe01a7b0a073c23e561c..6ff2ceab7ea26864f96779c3f71b57c5da23a976 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -Werror -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface MyClass {
     const char *_myName;
index a4397a684fc0d12630df8e4862eb0c4a5347761c..d57774bf0fec080e20d7ca9f05855f253bbb8706 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface foo
 @property(nonatomic) int foo __attribute__((weak_import));
index c01e8338628e24f7708ac1a711102e72a1532ed3..6962d6f895c95e485418df891872c54445ce48f0 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 typedef signed char BOOL;
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
 
index fe01d1d47a8d98c5242b30e92dbbc44d5624af51..94a0d9e3e8b5955a47ef07cf0ad2feb13f74c4e2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @protocol fproto;
 
index c333bb5042d29c6d8cce909d362a6494e192fcc4..45010d5e2e75523064accd8c370f9e804cedc256 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @protocol P0
 -bar;
index bf0752312e44886ade40be8e0cc89caccb2af2f6..9e8ed8a627b9363904c04af2f409a5625cd85939 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 @interface NSObject @end
 
 @protocol ProtocolA
index ed3fbe0f72bfc301b51fab7337c269ac99aa6e78..26718ae2eaa109b4c42b1d43f106821de476c6b9 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 @protocol NSObject
 - retain;
 - release;
index 4bf6b289e7b7b12515b54f869740ec9d9c7c80e6..777084d8554bf1c528d22c4b298513f8c15c4974 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 #include <stddef.h>
 
index 046992c52fe5beffe4656439fc86ca26dd7485d9..a49597839129704b547c0841838dcdcd51101a2d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only %s -verify -fobjc-exceptions
+// expected-no-diagnostics
 // Test case for: 
 //   <rdar://problem/6248119> @finally doesn't introduce a new scope
 
index b24fcb0185e4ba8eedc43af84cc0a05dfa62721d..24f74c93a027d21f670a259b6875057629d68eba 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -std=gnu99 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 void f0(restrict id a0) {}
 
index 16d44cbb5515743f3cff58c2422cad772a66ffa3..186e19fead83cbff2a0b10a3c5053c0dcc422785 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify %s 
+// expected-no-diagnostics
 
 @interface I
 - (id) compare: (char) arg1;
index fb75369a9a102212c3e7d69c2d193cdca843ce86..17d1872cc7ea24168a85a92b02449bb4ede172e7 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -Wselector -verify %s
+// expected-no-diagnostics
 // rdar://8851684
 @interface  I
 - length;
index 40a03313b693f768f340f630502a29138bc6cf41..36a9ef571d5ab502abcb15771490d3185424ce87 100644 (file)
@@ -1,5 +1,6 @@
 // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-darwin10  -fblocks -verify -Wno-objc-root-class %s 
 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -triple x86_64-apple-darwin10  -fblocks -verify -Wno-objc-root-class %s 
+// expected-no-diagnostics
 // rdar://9154582
 
 @interface Blocky @end
index 9027a947a03c981124c6e2f6ae09f517ed43c89a..a14ad909dde38fcf2a8e41500b3075331e891698 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -fblocks -verify %s
+// expected-no-diagnostics
 // rdar://9181463
 
 typedef struct objc_class *Class;
index e0b51e8b51c6d2e6c87958ccc17cfb22e596df91..ec47ee2a8e9f509d88c46c8f6e1c241864c9fb4d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // rdar://8528170
 
 @interface NSObject @end
index 3e289860c06ef2f53dd67e09bd0ee7b406b307c2..fd9399499ec7a554b56a497bbbe1967e36d3caec 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
index c25164e1597398aa6c179fc92c9d46d89922f520..81b8f8fa1d6c15ae827f7398b31c1eea795d5426 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface SStoreNodeInfo 
 
index 7d3f7c70bb521020a7915638d71d0e262df9d115..0c17bb9392ec4a1392dab71f9af9704c662ffe8c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface B
 +(int) classGetter;
index 0e155f4840f0ae45ddb76a4012bb07f8d075f4a5..92a9d7165f1365038366573af93ed20e2e005dcb 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -fobjc-default-synthesize-properties -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://8913053
 
 typedef unsigned char BOOL;
index d75441518725492d186315c5f8fd92dc230c6b4c..df954db2dbb51facbe9cf962c68019d08d471dd6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface TestClass 
 {
index 6f2dbf915ac0a52e9e47d16abb0b05af7508d337..bda0a54bb63f9069949dbad8a173810a078fb1dc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 typedef union {
  struct xx_object_s *_do;
index 6070278bb134e9f6905b8dffa2a0bdbbe3bbc828..f80d1ffb91567cac6e8e500670d2aaccc7df245c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -fsyntax-only
+// expected-no-diagnostics
 @class NSString;
 extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
 
index fe7ccd7632cd123bfd64e10489a58bc0b559f432..4959df31990f64f014b87539b1b18ef9cd949171 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 #include <stdarg.h>
 
index bbd1f16cffc0bb62fc695b831fad7455711d20ff..99be5413d7ae4bb43c72ff58266ea3157f4ab6f3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1  -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface MessageStore
 @property (assign, readonly) int P;
index d8f840e871e55aa243a9bb36ec5dd23345b3e081..12a3be3022bbc1721bd77bd99aec32f0d3c14fd1 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -fblocks -triple x86_64-apple-darwin10.0.0 %s
+// expected-no-diagnostics
 // rdar://9310049
 
 bool fn(id obj) {
index 71771b4b1375eeae6b21a216dda8ee4b5e37f816..537e6b42797027a7ed07099015fe132dd48c9d34 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-arc-cxxlib=libstdc++ -fobjc-runtime-has-weak -verify %s
+// expected-no-diagnostics
 
 @interface A @end
 
index 274f873fd48ab868996759ee310f25cbc3ed6cc1..09556e396cdd036e84ddd72e8aad84055130aca3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -fblocks %s
+// expected-no-diagnostics
 
 struct X0 {
   static id makeObject1() __attribute__((ns_returns_retained));
index 67bab00cf978432749efb0f63e0213c8aa271aea..12993a910e5445d8a8abcde61769496763664500 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -verify -std=c++11 %s
+// expected-no-diagnostics
 
 // Check the results of the various type-trait query functions on
 // lifetime-qualified types in ARC.
index a25cc68888d7fcdad502c5556f9c0be7e54c15e4..244c3f7d0193e5f92bbde80e7cba73051462be83 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // <rdar://problem/9142559>: For the purposes of Argument-Dependent
 // Lookup, Objective-C classes are considered to be in the global
index 684f633f71cc2d8c3418b2c7881078c840f4738d..35739a893624643acbd834c077a8dd319b3da87e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 
 @interface Foo
 @end
index 6c1408bf21f6965fbe822509a8fc280770a31911..b34c9a24ed5a448e7368fe8c1a57e52db49d8413 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 @protocol P1
 @end
 
index b03d4d89e92071a096a75b8782aa5eb0c0eb8924..063ce3275913221c3aeed83240f6ba3f09416f4a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // rdar: // 7963410
 
 @protocol NSObject @end
index 235aaac8d09cdb3277b23613fd9574e686447ff6..41bb4ff37a0af187907a1561bb5cd220f317a262 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // rdar: // 7963410
 
 template<class T>
index 1fb18b9c341a6895f799a4c797a044b1f0420987..e8e382a1b3b2f837320af440973b151cf4c38644 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fdebugger-support -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @class NSString;
 void testCompareAgainstPtr(int *ptr, NSString *ns) {
index fa65dbea9eceda31b4f44032dc1425ca8a3ede39..4035d00b8a45a609fbc9c4906fbb8e282f7b06a8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -x objective-c++ -std=c++11 -fsyntax-only -Werror -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://10387088
 
 struct X {
index b0227099c1e27f36934f93fdd21ce011ea91578f..d0d7922252e65a761f017963f0aaff4d00dd9817 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -Werror -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://10387088
 
 @interface MyClass
index 8cf615ec32648dd6d313aa024173dfa857b63019..ecee7be629c342686434f08f85d8659195f28e6a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -x objective-c++ -fcxx-exceptions -fsyntax-only -Werror -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // rdar://10387088
 
 @interface MyClass
index e70a001b704112141af37e9f3e3853f4344c30da..8ea4dabe16dd7db75af247f05be0eb736020c51f 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
 
 // rdar://8366474
 void *P =  @selector(foo::bar::);
index 8d3d6251734f43cb5810af9ac71a4b8433f8221f..7c8321538d6213eb519b52feed820b3f75e788b6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 extern "C" id (*_dealloc)(id) ;
 
index 2a3ae323128052c0a051d06371f14b17d437d497..9fad82feaeb7523538bfaf26c395a818188da485 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 // PR7386
 
 @class NSObject;
index fc99c15fd379d8a5197c64195b40b41c7364a4e4..d99e61780281144b9435d286a01222e63e8a4352 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
+// expected-no-diagnostics
 @interface Ivar
 - (float*)method;
 @end
index 3f9c7eb1a503d01520e6d87d8a3bc9045050f6e2..c8c9ca9cbbf04f9ba4db960f540359fee7c2118e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 @interface A {
   struct X {
     int x, y;
index 584571de9636bc82dc82aa6fd926a1e416fe6bbb..25b57a9a5c686c90199bb8e0c5b77e83430bb1a8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 extern "C" {
 @class Protocol;
 }
index 205b443ffcab6b1222273c56d9f891d43632fe88..c5521c14353de95db78dab1aa4ee6d2f02d36e02 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // <rdar://problem/9388207>
 @interface A
index 0da9e50f5a1cbe0a91bcc6ffb3c1cff325d2855b..e0232bf3c872d8c74ae681f5cb767b3cb1f53eba 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wnull-arithmetic %s
+// expected-no-diagnostics
 #define NULL __null
 
 @interface X
index 2b29b043923a31e5ba86a210974a7801efb07064..73a921e8c895cd195d663d5e42ce9e9cfc6fc130 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fblocks -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface A
 @end
index 5488ea56315c0fa03a0c18441dae174c34fccea0..ffb8680cc03b477d93b6ed30b0aaee8dc4175774 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -triple i386-apple-darwin9 -fobjc-gc -verify %s
+// expected-no-diagnostics
 
 void f0(__weak id *);
 
index d0f8404b602724f31e42cd526723ca947ee13ca5..4becaaf058e2137730598009039c93942de29962 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface G
 @end
index 059793cf5ceb92b6404a1e65e2072e05110a0579..2b267ad96eefe87e09795f37b8e04afe46c03abc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // rdar://9740328
 
 @protocol P1;
index 3a522005abee44c66b222d464637b5aaa7542419..f63e17d98efc85abf24bb080ce418fe9aafea60a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify -emit-llvm -o - %s
+// expected-no-diagnostics
 
 // Test reference binding.
 
index fcabaded7c4dac56ca549303aac6d972e8235a9e..4d7c049bbfeaba39aabc240e81e209d7a58317f2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface NSString @end
 
index 1302128ac0f04a91dfb99698f9c50dff44761d97..12608dea161a993478cc01f0e953c3ded21bf8bf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 #define FOR_EACH_KEYWORD(macro) \
 macro(asm) \
index 2e6984872d793925cac3b3a22dee838a5f8d7db1..c36b63bd6413e9530a9e27e58c67de6d319c0564 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @class NSString;
 id a;
index e2827028de59a1ce1654d6057dd21d75161757d9..494ee253e252515d5fa09515458da99febdab2d8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @protocol NSTextViewDelegate;
 
index d6da1c0cf40e03cdc76d0704c9c9093aa90ac970..e1d556e9921a0cd2ebd4bc68d957e9a8e13cb366 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 @interface Data
 - (unsigned)length;
index 79dc82db190d90ecbd15f48b45a9a4767226259b..802ad9b785a8b9906ff534242ff4a9c6221d017d 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
 
 typedef __attribute__((ext_vector_type(4))) float float4;
 
index b3ecfecb5db69030d34407697cc1bf72c10903bc..a156921254b6ca5fa333b4365ae2fce363bfb83c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
 
 typedef float float8 __attribute((ext_vector_type(8)));
 
index dd91aa592ab21ad644a6b12bc0221fa8202d99ef..567629c10d56f896edd004693db0c627698272e3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
 
 typedef __attribute__((ext_vector_type(2)))  unsigned int uint2;
 typedef __attribute__((ext_vector_type(2)))  int int2;
index e761816db4b7f3366fa045e100e29ecb3bac7db3..ee5ae2002a3ca9f78bddb4bb90a01e6a9360046a 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
+// expected-no-diagnostics
 
 typedef int int2 __attribute((ext_vector_type(2)));
 typedef int int3 __attribute((ext_vector_type(3)));
index 9525bfcc4f43c70bd36de2279057301c1acda860..fc523e392eafefe17780b5ff3b312d1df995b914 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // template<unsigned M, unsigned N>
 // struct Ackermann {
index 69d77163ab67c1eb219a17614b17b70be361f867..a1613230ac0d17bb056d9a6e012bd3496785d055 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<template<template<typename> class, typename> class T, template<typename> class V> struct PartialApply {
   template<typename W> using R = T<V, W>;
index c22fccb6788e68359dea4a0614ea1ca7bd055537..0b17d10d0cb660b459374c82b6f75d6dc5fdc393 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 template<template<typename> class D> using C = D<int>;
 
index 072c0e52edc6d073acecf0803b415b60da829cb6..26d277d7dc05879d279e7280f066e5631f491d80 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 struct mystruct {
   int  member;
index e9fdc9de3d23ce384da10e01a5e561948d7157db..19b607f738a8193f3b58e5b9afc26f041a12af58 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR8345
 template<typename T> T f(T* value) {
index 77143136c3d225287f9cac8f26d501e6812a93b9..4c815f655875c93ad4903d63162d227baaa062dc 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
+// expected-no-diagnostics
 
 // Test default template arguments for function templates.
 template<typename T = int>
index 1d4fed3e1d267043005e54450ace9e4ed10f1f52..a278e79f912333d7952bcc28aa399ab5f486c6d1 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR4381
 template<class T> struct X {};
index a1ddd249f7fe0e9f1fa1a60a3326c94a76d5b7ba..d75b0f3e30298fad7a375b2383cbe935893ba4cd 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR5908
 template <typename Iterator>
index 7d237570678f23409bcb6c1382483039eb863e0a..7ff41961399017ff9d8dc87e4c197cc7ef6a2c1e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 enum Enum { val = 1 };
 template <Enum v> struct C {
index 082aeb83fbdd1c2bac64fe78c10c12c7a87ee0d1..9ce06e665cf722fe43e9e6bef605237ea1f1dfb4 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // A simple cons-style typelist
 struct nil { };
index b8229d3f641ae67540186eb8e9780f9025e8c036..41d1cfe138ab5cacce83ab50bd9763d0c5061e49 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
+// expected-no-diagnostics
 
 #ifndef __GXX_EXPERIMENTAL_CXX0X__
 #define __CONCAT(__X, __Y) __CONCAT1(__X, __Y)
index bbadb6375b5b9ae508598ed61aa9af03176970d6..45136f6f60a0468b614a89d2ac803b4eeea9e7a3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 template <typename T>
 struct A {
   char a __attribute__((aligned(16)));
index 6b76d72e3261a32ba4032ed36fea45feae13eeb0..9658fc1465cd87f6ed50e21566aa440d70220cb1 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR5426 - the non-dependent obj would be fully processed and wrapped in a
 // CXXConstructExpr at definition time, which would lead to a failure at
index 49b1b63f51523e39bacd7e5bdf0a11a90efcd73c..7cdeda6fb9dae13eb7c0140137cee69bdd588c0b 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 template<int i> struct x {
   static const int j = i;
   x<j>* y;
index c5f65945afcbc9bbfd822edffab16ddecd681618..ba38b2b2351c43a7f1368915d51d2ce03076f464 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -Wall -verify %s
+// expected-no-diagnostics
 template<typename a> struct A {
   template <typename b> struct B {
     template <typename c> struct C {
index eb1d3fba10ed1eb58301ba7adb073daa0a68838d..06a1ed4119d2603cd5e8e3362c774594237bc5bf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // PR4382
 template<typename T> struct X { static const T A = 1; };
 template<typename T, bool = X<T>::A> struct Y { typedef T A; };
index e5e10a85cf2fdb00bfada68e45fe0ca142013f6c..5db9b56c21a47c255af581cba9bafb42adb7a128 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR5681
 template <class T> struct Base {
index aa3b590cada49c6956bb1fe187bef4f6b28b9582..9a90a9cd6ce762ebd28a19050b350aa8206fd8f6 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -fsyntax-only -verify
+// expected-no-diagnostics
 
 template<int IntBits> struct X {
   enum {
index c87b8d0bf9b2c7b04d80d79d889fd9ac9d6af853..32aa3014b9cbfe3ef1afbe1bcc982c7f333776e3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // PR4794
 
 template <class T> class X
index 20b62c1e537eb6e7216ab3f4c6f4012886ece803..c151fbb9a5ba66edc308992bfd50230f00e1e461 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -verify %s
+// expected-no-diagnostics
 template<typename T>
 void f0() {
   struct X;
index 027c1e8bb769255b43c8835b41ef5238b6019819..04975e30448bca99a87bb7c66fc22085abcc09fb 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // PR5311
 template<typename T>
index ee36427db87b746bbb24a9fd32bcb8291ff15914..b21c7a34ad4c5e8b68fce1ed0fe3b8a51913ce74 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 // PR5488
 
 struct X {
index 00d63d0c2fe5c36bc4ce2057f5021ce16b9ed9e8..bf66fdc17c6573a3820b1a09fefdcc4041c21fe8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
+// expected-no-diagnostics
 
 // Make sure we handle contexts correctly with sizeof
 template<typename T> void f(T n) {
index dae6b18f32c28f51df09addc131f72a69c5e3540..76189ea90bfb6fbb63ed2987c968f62dcaf35129 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T> struct A { };
 
index af3b93c907c1418ff48fcf9bcc04b407c9b4276f..a04be35a29e722f3e066da59dc076be04255c243 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 // Core issue 150: Template template parameters and default arguments
 
index 2710caf22125036d75c56d4fe904d8650ec33c66..4fcfbd196407158c2e1c0bcaceb4167e55354b8e 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fms-extensions -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 class C {
 public:
index 40f56b34dae090d3bfa5e70f0e68bb1d4e797de1..6791048874f8f1e18d8659ff1ca2f766f393a2c8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T> struct A {
   A() : j(10), i(10) { }
index 6c0791c2efc86b4c86b09ce2ce43de906fd5e0b4..59746ea9c10e44f407be499bd8106b129b6c38e0 100644 (file)
@@ -1,3 +1,4 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 extern "C" { extern "C++" { template<class C> C x(); } }
index 9a0884e8136d1654fa5f31df3c4f3b1b365592c2..96dfe26cc59670375ec31deff4dd95c73dbe1ee8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T>
 struct A { 
index 8d8a2f42cf283cb807334509b46945a9d83d6408..c952ef8ec7c452727dcc8dffa6088b69006228cf 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-unused %s
+// expected-no-diagnostics
 
 // Tests that overload resolution is treated as an unevaluated context.
 // PR5541
index f04dc5ccae454d07416b734b9b1e24b2aeba1ccc..fe0b494b9a571388bc9da3085071f9f4bccec4e8 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -triple i686-apple-osx10.7.0 %s
+// expected-no-diagnostics
 
 #pragma ms_struct on
 
index b7b96df69ba5f6a123a4d0da65dfea2d514f93a7..4b99716d582e403a59e58bb7cc13a22bf1f901d3 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
+// expected-no-diagnostics
 template<typename T>
 struct is_unary_block {
   static const bool value = false;
index 4710294452565a158ee8239d9cc8a7a2b5ed8223..63ce8f434da32fec449d59617caf5836f61d81c2 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s 
+// expected-no-diagnostics
 #define T(b) (b) ? 1 : -1
 #define F(b) (b) ? -1 : 1
 
index 96554e9dcf4a4eb3beb060a24a9d2bc24a474c33..78cedd0c98ca1dcf1143972462d6ee5f93d78c1c 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// expected-no-diagnostics
 
 template<typename T>
 struct Base {
index bb9ed8e4e0812ccb78f1d67a113fafdf6ce49929..ef010fbdd174780f0c197b65dba5393044fa5648 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
+// expected-no-diagnostics
 class A
 {
 public: