]> granicus.if.org Git - clang/commitdiff
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 15 Dec 2009 20:14:24 +0000 (20:14 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 15 Dec 2009 20:14:24 +0000 (20:14 +0000)
 - This is designed to make it obvious that %clang_cc1 is a "test variable"
   which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
   can be useful to redefine what gets run as 'clang -cc1' (for example, to set
   a default target).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8

1814 files changed:
test/Analysis/CFDateGC.m
test/Analysis/CFNumber.c
test/Analysis/CFRetainRelease_NSAssertionHandler.m
test/Analysis/CGColorSpace.c
test/Analysis/CheckNSError.m
test/Analysis/MissingDealloc.m
test/Analysis/NSPanel.m
test/Analysis/NSString-failed-cases.m
test/Analysis/NSString.m
test/Analysis/NSWindow.m
test/Analysis/NoReturn.m
test/Analysis/ObjCProperties.m
test/Analysis/ObjCRetSigs.m
test/Analysis/PR2599.m
test/Analysis/PR2978.m
test/Analysis/PR3991.m
test/Analysis/array-struct.c
test/Analysis/blocks.m
test/Analysis/casts.c
test/Analysis/casts.m
test/Analysis/cfref_PR2519.c
test/Analysis/cfref_rdar6080742.c
test/Analysis/complex.c
test/Analysis/concrete-address.c
test/Analysis/conditional-op-missing-lhs.c
test/Analysis/dead-stores.c
test/Analysis/dead-stores.cpp
test/Analysis/dead-stores.m
test/Analysis/delegates.m
test/Analysis/elementtype.c
test/Analysis/exercise-ps.c
test/Analysis/fields.c
test/Analysis/func.c
test/Analysis/malloc.c
test/Analysis/misc-ps-64.m
test/Analysis/misc-ps-basic-store.m
test/Analysis/misc-ps-eager-assume.m
test/Analysis/misc-ps-ranges.m
test/Analysis/misc-ps-region-store-i386.m
test/Analysis/misc-ps-region-store-x86_64.m
test/Analysis/misc-ps-region-store.m
test/Analysis/misc-ps.m
test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
test/Analysis/no-exit-cfg.c
test/Analysis/no-outofbounds.c
test/Analysis/null-deref-ps-region.c
test/Analysis/null-deref-ps.c
test/Analysis/outofbound.c
test/Analysis/override-werror.c
test/Analysis/plist-output.m
test/Analysis/pr4209.m
test/Analysis/pr_2542_rdar_6793404.m
test/Analysis/pr_4164.c
test/Analysis/ptr-arith.c
test/Analysis/rdar-6442306-1.m
test/Analysis/rdar-6540084.m
test/Analysis/rdar-6541136-region.c
test/Analysis/rdar-6541136.c
test/Analysis/rdar-6562655.m
test/Analysis/rdar-6582778-basic-store.c
test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m
test/Analysis/rdar-7168531.m
test/Analysis/refcnt_naming.m
test/Analysis/region-1.m
test/Analysis/retain-release-basic-store.m
test/Analysis/retain-release-gc-only.m
test/Analysis/retain-release-region-store.m
test/Analysis/retain-release.m
test/Analysis/security-syntax-checks.m
test/Analysis/sizeofpointer.c
test/Analysis/stack-addr-ps.c
test/Analysis/uninit-msg-expr.m
test/Analysis/uninit-ps-rdar6145427.m
test/Analysis/uninit-vals-ps-region.c
test/Analysis/uninit-vals-ps.c
test/Analysis/uninit-vals.c
test/Analysis/uninit-vals.m
test/Analysis/unions-region.m
test/Analysis/unused-ivars.m
test/CXX/basic/basic.def.odr/p2-typeid.cpp
test/CXX/basic/basic.link/p9.cpp
test/CXX/basic/basic.lookup/basic.lookup.argdep/p2-template-id.cpp
test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp
test/CXX/basic/basic.lookup/basic.lookup.argdep/p3.cpp
test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp
test/CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp
test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p2.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.qual/namespace.qual/p5.cpp
test/CXX/basic/basic.lookup/basic.lookup.udir/p1.cpp
test/CXX/basic/basic.lookup/basic.lookup.unqual/p11.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/p15.cpp
test/CXX/basic/basic.lookup/basic.lookup.unqual/p3.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/p2d.cpp
test/CXX/basic/basic.start/basic.start.main/p2e.cpp
test/CXX/basic/basic.start/basic.start.main/p2f.cpp
test/CXX/basic/basic.start/basic.start.main/p2g.cpp
test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.allocation/p1.cpp
test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/p1.cpp
test/CXX/basic/basic.stc/basic.stc.dynamic/p2-nodef.cpp
test/CXX/basic/basic.stc/basic.stc.dynamic/p2.cpp
test/CXX/class.access/class.access.dcl/p1.cpp
test/CXX/class.derived/class.virtual/p12.cpp
test/CXX/class/class.friend/p1-ambiguous.cpp
test/CXX/class/class.friend/p1.cpp
test/CXX/class/class.friend/p2.cpp
test/CXX/class/class.friend/p6.cpp
test/CXX/class/class.local/p1.cpp
test/CXX/class/class.local/p2.cpp
test/CXX/class/class.local/p3.cpp
test/CXX/class/class.local/p4.cpp
test/CXX/class/class.mfct/class.mfct.non-static/p3.cpp
test/CXX/class/class.nest/p1.cpp
test/CXX/class/class.nested.type/p1.cpp
test/CXX/class/class.union/p1.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/p3.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.unnamed/p1.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p1.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p11.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p12.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p13.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p3-cxx0x.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p4.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p5-cxx0x.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx0x.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p8-cxx0x.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p8.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.udir/p1.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p3.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p6.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.stc/p10.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.stc/p9.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p3.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p4-cxx0x.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p3.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p4.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p4.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.list/basic.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p1.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p3.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-examples.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-var.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.array/p1-cxx0x.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.array/p1.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p10.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p2.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p3.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p4.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p5.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p6.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p7.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p8.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.fct/p3.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.mptr/p3.cpp
test/CXX/dcl.decl/dcl.meaning/dcl.ref/p5.cpp
test/CXX/expr/expr.unary/expr.delete/p5.cpp
test/CXX/expr/p3.cpp
test/CXX/expr/p8.cpp
test/CXX/expr/p9.cpp
test/CXX/lex/lex.trigraph/p1.cpp
test/CXX/lex/lex.trigraph/p2.cpp
test/CXX/lex/lex.trigraph/p3.cpp
test/CXX/over/over.match/over.match.best/p1.cpp
test/CXX/over/over.over/p1.cpp
test/CXX/over/over.over/p2.cpp
test/CXX/over/over.over/p4.cpp
test/CXX/special/class.dtor/p2.cpp
test/CXX/special/class.free/p1.cpp
test/CXX/special/class.free/p6.cpp
test/CXX/temp/temp.decls/temp.class.spec/p6.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-neg.cpp
test/CXX/temp/temp.decls/temp.class.spec/temp.class.spec.mfunc/p1.cpp
test/CXX/temp/temp.decls/temp.class/temp.mem.class/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/p1.cpp
test/CXX/temp/temp.decls/temp.class/temp.mem.func/p1inst.cpp
test/CXX/temp/temp.decls/temp.class/temp.mem.func/pr5056.cpp
test/CXX/temp/temp.decls/temp.class/temp.static/p1-inst.cpp
test/CXX/temp/temp.decls/temp.class/temp.static/p1.cpp
test/CXX/temp/temp.decls/temp.fct/temp.func.order/p4.cpp
test/CXX/temp/temp.decls/temp.fct/temp.func.order/p5.cpp
test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp
test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4.cpp
test/CXX/temp/temp.decls/temp.fct/temp.over.link/p6.cpp
test/CXX/temp/temp.decls/temp.friend/p1.cpp
test/CXX/temp/temp.decls/temp.friend/p3.cpp
test/CXX/temp/temp.decls/temp.friend/p5.cpp
test/CXX/temp/temp.decls/temp.mem/p1.cpp
test/CXX/temp/temp.fct.spec/temp.arg.explicit/p1.cpp
test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/sfinae-1.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/basic.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/p3.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.conv/p4.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.funcaddr/p1.cpp
test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p11.cpp
test/CXX/temp/temp.param/p10.cpp
test/CXX/temp/temp.param/p11.cpp
test/CXX/temp/temp.param/p12.cpp
test/CXX/temp/temp.param/p13.cpp
test/CXX/temp/temp.param/p14.cpp
test/CXX/temp/temp.param/p15-cxx0x.cpp
test/CXX/temp/temp.param/p15.cpp
test/CXX/temp/temp.param/p2.cpp
test/CXX/temp/temp.param/p3.cpp
test/CXX/temp/temp.param/p4.cpp
test/CXX/temp/temp.param/p7.cpp
test/CXX/temp/temp.param/p8.cpp
test/CXX/temp/temp.param/p9.cpp
test/CXX/temp/temp.res/temp.dep.res/temp.point/p1.cpp
test/CXX/temp/temp.res/temp.dep/p3.cpp
test/CXX/temp/temp.spec/p5.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p1.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p10.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p11.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p13.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p14.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p15.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p16.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p17.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p18.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p19.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p2.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p20.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p21.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p3.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p4.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p5.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p6.cpp
test/CXX/temp/temp.spec/temp.expl.spec/p9.cpp
test/CXX/temp/temp.spec/temp.explicit/p1-0x.cpp
test/CXX/temp/temp.spec/temp.explicit/p1-emit.cpp
test/CXX/temp/temp.spec/temp.explicit/p1.cpp
test/CXX/temp/temp.spec/temp.explicit/p10.cpp
test/CXX/temp/temp.spec/temp.explicit/p12.cpp
test/CXX/temp/temp.spec/temp.explicit/p2.cpp
test/CXX/temp/temp.spec/temp.explicit/p3.cpp
test/CXX/temp/temp.spec/temp.explicit/p4.cpp
test/CXX/temp/temp.spec/temp.explicit/p5.cpp
test/CXX/temp/temp.spec/temp.explicit/p6.cpp
test/CXX/temp/temp.spec/temp.explicit/p7.cpp
test/CXX/temp/temp.spec/temp.explicit/p8.cpp
test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp
test/CXX/temp/temp.spec/temp.explicit/p9.cpp
test/CodeCompletion/call.cpp
test/CodeCompletion/enum-switch-case-qualified.cpp
test/CodeCompletion/enum-switch-case.c
test/CodeCompletion/enum-switch-case.cpp
test/CodeCompletion/function-templates.cpp
test/CodeCompletion/functions.cpp
test/CodeCompletion/macros.c
test/CodeCompletion/member-access.c
test/CodeCompletion/member-access.cpp
test/CodeCompletion/namespace-alias.cpp
test/CodeCompletion/namespace.cpp
test/CodeCompletion/nested-name-specifier.cpp
test/CodeCompletion/objc-message.m
test/CodeCompletion/operator.cpp
test/CodeCompletion/ordinary-name.c
test/CodeCompletion/tag.c
test/CodeCompletion/tag.cpp
test/CodeCompletion/templates.cpp
test/CodeCompletion/truncation.c
test/CodeCompletion/using-namespace.cpp
test/CodeCompletion/using.cpp
test/CodeGen/2007-11-29-ArraySizeFromInitializer.c
test/CodeGen/2008-02-07-bitfield-bug.c
test/CodeGen/2008-02-08-bitfield-bug.c
test/CodeGen/2008-02-26-inline-asm-bug.c
test/CodeGen/2008-07-17-no-emit-on-error.c
test/CodeGen/2008-07-21-mixed-var-fn-decl.c
test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
test/CodeGen/2008-07-22-packed-bitfield-access.c
test/CodeGen/2008-07-29-override-alias-decl.c
test/CodeGen/2008-07-30-implicit-initialization.c
test/CodeGen/2008-07-30-redef-of-bitcasted-decl.c
test/CodeGen/2008-07-31-asm-labels.c
test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c
test/CodeGen/2008-08-04-void-pointer-arithmetic.c
test/CodeGen/2008-08-19-cast-of-typedef.c
test/CodeGen/2008-08-25-incompatible-cond-expr.m
test/CodeGen/2008-09-22-bad-switch-type.c
test/CodeGen/2008-12-02-logical-or-fold.c
test/CodeGen/2009-01-21-invalid-debug-info.m
test/CodeGen/2009-03-22-increment-bitfield.c
test/CodeGen/2009-04-23-dbg.c
test/CodeGen/2009-05-22-callingconv.c
test/CodeGen/2009-05-28-const-typedef.c
test/CodeGen/2009-06-01-addrofknr.c
test/CodeGen/2009-06-14-anonymous-union-init.c
test/CodeGen/2009-07-31-DbgDeclare.c
test/CodeGen/2009-08-14-vararray-crash.c
test/CodeGen/OpaqueStruct.c
test/CodeGen/PR2001-bitfield-reload.c
test/CodeGen/PR2413-void-address-cast-error.c
test/CodeGen/PR2643-null-store-to-bitfield.c
test/CodeGen/PR2743-reference-missing-static.c
test/CodeGen/PR3130-cond-constant.c
test/CodeGen/PR3589-freestanding-libcalls.c
test/CodeGen/PR3613-static-decl.c
test/CodeGen/PR3709-int-to-pointer-sign.c
test/CodeGen/PR4611-bitfield-layout.c
test/CodeGen/PR5060-align.c
test/CodeGen/address-space-cast.c
test/CodeGen/address-space-compound-literal.c
test/CodeGen/address-space-field1.c
test/CodeGen/address-space-field2.c
test/CodeGen/address-space-field3.c
test/CodeGen/address-space-field4.c
test/CodeGen/address-space.c
test/CodeGen/alias.c
test/CodeGen/align-local.c
test/CodeGen/alignof.c
test/CodeGen/arm-arguments.c
test/CodeGen/arm_asm_clobber.c
test/CodeGen/array.c
test/CodeGen/asm-2.c
test/CodeGen/asm-inout.c
test/CodeGen/asm.c
test/CodeGen/atomic.c
test/CodeGen/attr-cleanup.c
test/CodeGen/attr-nodebug.c
test/CodeGen/attr-noinline.c
test/CodeGen/attr-used.c
test/CodeGen/attributes.c
test/CodeGen/bitfield-assign.c
test/CodeGen/bitfield-init.c
test/CodeGen/bitfield.c
test/CodeGen/blocks-1.c
test/CodeGen/blocks-2.c
test/CodeGen/blocks-aligned-byref-variable.c
test/CodeGen/blocks-seq.c
test/CodeGen/blocks.c
test/CodeGen/bool-bitfield.c
test/CodeGen/bool-convert.c
test/CodeGen/bool-init.c
test/CodeGen/boolassign.c
test/CodeGen/builtin-attributes.c
test/CodeGen/builtin-count-zeros.c
test/CodeGen/builtin-memfns.c
test/CodeGen/builtin-nanf.c
test/CodeGen/builtin-rename.c
test/CodeGen/builtin-stackaddress.c
test/CodeGen/builtin-unwind-init.c
test/CodeGen/builtinmemcpy.c
test/CodeGen/builtins-x86.c
test/CodeGen/builtins.c
test/CodeGen/builtinshufflevector.c
test/CodeGen/c-strings.c
test/CodeGen/cast.c
test/CodeGen/cfstring.c
test/CodeGen/cfstring2.c
test/CodeGen/cleanup-stack.c
test/CodeGen/complex.c
test/CodeGen/compound-literal.c
test/CodeGen/compound-type.c
test/CodeGen/compound.c
test/CodeGen/conditional-gnu-ext.c
test/CodeGen/conditional.c
test/CodeGen/const-init.c
test/CodeGen/const-label-addr.c
test/CodeGen/constant-comparison.c
test/CodeGen/constructor-attribute.c
test/CodeGen/cxx-condition.cpp
test/CodeGen/cxx-default-arg.cpp
test/CodeGen/cxx-value-init.cpp
test/CodeGen/darwin-string-literals.c
test/CodeGen/debug-info.c
test/CodeGen/decl.c
test/CodeGen/designated-initializers.c
test/CodeGen/dllimport-dllexport.c
test/CodeGen/dostmt.c
test/CodeGen/emit-all-decls.c
test/CodeGen/empty-union-init.c
test/CodeGen/enum.c
test/CodeGen/exprs.c
test/CodeGen/ext-vector-shuffle.c
test/CodeGen/ext-vector.c
test/CodeGen/extern-block-var.c
test/CodeGen/flexible-array-init.c
test/CodeGen/func-decl-cleanup.c
test/CodeGen/func-return-member.c
test/CodeGen/function-attributes.c
test/CodeGen/function-decay.m
test/CodeGen/functions.c
test/CodeGen/global-decls.c
test/CodeGen/global-init.c
test/CodeGen/global-with-initialiser.c
test/CodeGen/globalinit.c
test/CodeGen/incomplete-function-type.c
test/CodeGen/indirect-goto.c
test/CodeGen/init-with-member-expr.c
test/CodeGen/init.c
test/CodeGen/inline2.c
test/CodeGen/int-to-pointer.c
test/CodeGen/kr-func-promote.c
test/CodeGen/kr-style-block.c
test/CodeGen/libcalls.c
test/CodeGen/linkage-redecl.c
test/CodeGen/long-double-x86.c
test/CodeGen/mandel.c
test/CodeGen/mangle.c
test/CodeGen/merge-attrs.c
test/CodeGen/merge-statics.c
test/CodeGen/object-size.c
test/CodeGen/offsetof.c
test/CodeGen/opaque-pointer.c
test/CodeGen/overloadable.c
test/CodeGen/packed-union.c
test/CodeGen/palignr.c
test/CodeGen/parameter-passing.c
test/CodeGen/pascal-string.c
test/CodeGen/pointer-arithmetic.c
test/CodeGen/pointer-cmp-type.c
test/CodeGen/pointer-to-int.c
test/CodeGen/pragma-pack-1.c
test/CodeGen/pragma-pack-2.c
test/CodeGen/pragma-pack-3.c
test/CodeGen/pragma-weak.c
test/CodeGen/predefined-expr.c
test/CodeGen/private-extern.c
test/CodeGen/rdr-6098585-default-after-caserange.c
test/CodeGen/rdr-6098585-default-fallthrough-to-caserange.c
test/CodeGen/rdr-6098585-empty-case-range.c
test/CodeGen/rdr-6098585-fallthrough-to-empty-range.c
test/CodeGen/rdr-6098585-unsigned-caserange.c
test/CodeGen/rdr-6732143-dangling-block-reference.m
test/CodeGen/regparm.c
test/CodeGen/shared-string-literals.c
test/CodeGen/sizeof-vla.c
test/CodeGen/stack-protector.c
test/CodeGen/statements.c
test/CodeGen/static-forward-decl-fun.c
test/CodeGen/static-forward-decl.c
test/CodeGen/static-local-union.c
test/CodeGen/static-order.c
test/CodeGen/staticinit.c
test/CodeGen/stdcall-fastcall.c
test/CodeGen/string-literal.c
test/CodeGen/struct-comma.c
test/CodeGen/struct-copy.c
test/CodeGen/struct-init.c
test/CodeGen/struct-passing.c
test/CodeGen/struct-x86-darwin.c
test/CodeGen/struct.c
test/CodeGen/switch.c
test/CodeGen/target-data.c
test/CodeGen/tentative-decls.c
test/CodeGen/thread-specifier.c
test/CodeGen/trapv.c
test/CodeGen/typedef-func.c
test/CodeGen/typedef.c
test/CodeGen/types.c
test/CodeGen/uint128_t.c
test/CodeGen/union-init.c
test/CodeGen/union-init2.c
test/CodeGen/union.c
test/CodeGen/unreachable.c
test/CodeGen/unwind-attr.c
test/CodeGen/var-align.c
test/CodeGen/variable-array.c
test/CodeGen/vector.c
test/CodeGen/vfprintf.c
test/CodeGen/visibility.c
test/CodeGen/vla.c
test/CodeGen/volatile-1.c
test/CodeGen/volatile.c
test/CodeGen/weak-global.c
test/CodeGen/weak-incomplete.c
test/CodeGen/whilestmt.c
test/CodeGen/writable-strings.c
test/CodeGen/x86.c
test/CodeGen/x86_32-arguments.c
test/CodeGen/x86_64-arguments.c
test/CodeGenCXX/PR4827-cast.cpp
test/CodeGenCXX/PR4890-debug-info-dtor.cpp
test/CodeGenCXX/PR4983-constructor-conversion.cpp
test/CodeGenCXX/PR5050-constructor-conversion.cpp
test/CodeGenCXX/PR5093-static-member-function.cpp
test/CodeGenCXX/__null.cpp
test/CodeGenCXX/address-of-fntemplate.cpp
test/CodeGenCXX/anonymous-namespaces.cpp
test/CodeGenCXX/anonymous-union-member-initializer.cpp
test/CodeGenCXX/array-construction.cpp
test/CodeGenCXX/array-operator-delete-call.cpp
test/CodeGenCXX/array-pointer-decay.cpp
test/CodeGenCXX/array-value-initialize.cpp
test/CodeGenCXX/assign-operator.cpp
test/CodeGenCXX/attr.cpp
test/CodeGenCXX/call-arg-zero-temp.cpp
test/CodeGenCXX/cast-conversion.cpp
test/CodeGenCXX/casts.cpp
test/CodeGenCXX/class-layout.cpp
test/CodeGenCXX/condition.cpp
test/CodeGenCXX/conditional-expr-lvalue.cpp
test/CodeGenCXX/conditional-temporaries.cpp
test/CodeGenCXX/const-global-linkage.cpp
test/CodeGenCXX/const-init.cpp
test/CodeGenCXX/constructor-conversion.cpp
test/CodeGenCXX/constructor-default-arg.cpp
test/CodeGenCXX/constructor-for-array-members.cpp
test/CodeGenCXX/constructor-init-reference.cpp
test/CodeGenCXX/constructor-init.cpp
test/CodeGenCXX/constructor-template.cpp
test/CodeGenCXX/conversion-function.cpp
test/CodeGenCXX/conversion-operator-base.cpp
test/CodeGenCXX/convert-to-fptr.cpp
test/CodeGenCXX/copy-assign-synthesis-1.cpp
test/CodeGenCXX/copy-assign-synthesis-2.cpp
test/CodeGenCXX/copy-assign-synthesis-3.cpp
test/CodeGenCXX/copy-assign-synthesis.cpp
test/CodeGenCXX/copy-constructor-elim.cpp
test/CodeGenCXX/copy-constructor-synthesis-2.cpp
test/CodeGenCXX/copy-constructor-synthesis.cpp
test/CodeGenCXX/debug-info.cpp
test/CodeGenCXX/decl-ref-init.cpp
test/CodeGenCXX/default-arg-temps.cpp
test/CodeGenCXX/default-arguments.cpp
test/CodeGenCXX/default-constructor-default-argument.cpp
test/CodeGenCXX/default-constructor-for-members.cpp
test/CodeGenCXX/default-constructor-template-member.cpp
test/CodeGenCXX/default-destructor-synthesis.cpp
test/CodeGenCXX/delete-two-arg.cpp
test/CodeGenCXX/delete.cpp
test/CodeGenCXX/derived-to-base-conv.cpp
test/CodeGenCXX/derived-to-base.cpp
test/CodeGenCXX/destructor-calls.cpp
test/CodeGenCXX/destructors.cpp
test/CodeGenCXX/devirtualize-virtual-function-calls.cpp
test/CodeGenCXX/dyncast.cpp
test/CodeGenCXX/eh.cpp
test/CodeGenCXX/elide-call-reference.cpp
test/CodeGenCXX/empty-union.cpp
test/CodeGenCXX/enum.cpp
test/CodeGenCXX/eval-recursive-constant.cpp
test/CodeGenCXX/exceptions.cpp
test/CodeGenCXX/explicit-instantiation.cpp
test/CodeGenCXX/expr.cpp
test/CodeGenCXX/extern-c.cpp
test/CodeGenCXX/function-template-explicit-specialization.cpp
test/CodeGenCXX/function-template-specialization.cpp
test/CodeGenCXX/global-array-destruction.cpp
test/CodeGenCXX/global-init.cpp
test/CodeGenCXX/global-llvm-constant.cpp
test/CodeGenCXX/implicit-instantiation-1.cpp
test/CodeGenCXX/init-incomplete-type.cpp
test/CodeGenCXX/inline-functions.cpp
test/CodeGenCXX/instantiate-init-list.cpp
test/CodeGenCXX/key-function-vtable.cpp
test/CodeGenCXX/mangle-extern-local.cpp
test/CodeGenCXX/mangle-extreme.cpp
test/CodeGenCXX/mangle-subst-std.cpp
test/CodeGenCXX/mangle-subst.cpp
test/CodeGenCXX/mangle-system-header.cpp
test/CodeGenCXX/mangle-template.cpp
test/CodeGenCXX/mangle-unnamed.cpp
test/CodeGenCXX/mangle.cpp
test/CodeGenCXX/member-call-parens.cpp
test/CodeGenCXX/member-expressions.cpp
test/CodeGenCXX/member-function-pointers.cpp
test/CodeGenCXX/member-functions.cpp
test/CodeGenCXX/member-init-struct.cpp
test/CodeGenCXX/member-init-union.cpp
test/CodeGenCXX/member-pointer-cast.cpp
test/CodeGenCXX/member-pointer-type-convert.cpp
test/CodeGenCXX/member-pointers-zero-init.cpp
test/CodeGenCXX/member-templates.cpp
test/CodeGenCXX/namespace-aliases.cpp
test/CodeGenCXX/nested-base-member-access.cpp
test/CodeGenCXX/new-operator-phi.cpp
test/CodeGenCXX/new-with-default-arg.cpp
test/CodeGenCXX/new.cpp
test/CodeGenCXX/nullptr.cpp
test/CodeGenCXX/overload-binop-implicitconvert.cpp
test/CodeGenCXX/predefined-expr-sizeof.cpp
test/CodeGenCXX/predefined-expr.cpp
test/CodeGenCXX/ptr-to-datamember.cpp
test/CodeGenCXX/ptr-to-member-function.cpp
test/CodeGenCXX/reference-field.cpp
test/CodeGenCXX/reference-init.cpp
test/CodeGenCXX/references.cpp
test/CodeGenCXX/reinterpret-cast.cpp
test/CodeGenCXX/rtti-linkage.cpp
test/CodeGenCXX/rtti.cpp
test/CodeGenCXX/static-assert.cpp
test/CodeGenCXX/static-data-member.cpp
test/CodeGenCXX/static-init-1.cpp
test/CodeGenCXX/static-init-2.cpp
test/CodeGenCXX/static-init.cpp
test/CodeGenCXX/static-member-variable-explicit-specialization.cpp
test/CodeGenCXX/temp-order.cpp
test/CodeGenCXX/template-anonymous-union-member-initializer.cpp
test/CodeGenCXX/template-linkage.cpp
test/CodeGenCXX/temporaries.cpp
test/CodeGenCXX/throw-expressions.cpp
test/CodeGenCXX/trivial-constructor-init.cpp
test/CodeGenCXX/unary-type-trait.cpp
test/CodeGenCXX/vararg-conversion-ctor.cpp
test/CodeGenCXX/virt-call-offsets.cpp
test/CodeGenCXX/virt-canonical-decl.cpp
test/CodeGenCXX/virt-dtor-gen.cpp
test/CodeGenCXX/virt-dtor-key.cpp
test/CodeGenCXX/virt-template-vtable.cpp
test/CodeGenCXX/virt-thunk-reference.cpp
test/CodeGenCXX/virt.cpp
test/CodeGenCXX/virtual-base-cast.cpp
test/CodeGenCXX/virtual-base-destructor-call.cpp
test/CodeGenCXX/virtual-bases.cpp
test/CodeGenCXX/virtual-destructor-calls.cpp
test/CodeGenCXX/virtual-destructor-synthesis.cpp
test/CodeGenCXX/virtual-function-calls.cpp
test/CodeGenCXX/virtual-functions-incomplete-types.cpp
test/CodeGenCXX/virtual-implicit-copy-assignment.cpp
test/CodeGenCXX/virtual-inherited-destructor.cpp
test/CodeGenCXX/virtual-operator-call.cpp
test/CodeGenCXX/virtual-pseudo-destructor-call.cpp
test/CodeGenCXX/vtable-cast-crash.cpp
test/CodeGenCXX/vtable-key-function.cpp
test/CodeGenCXX/vtable-linkage.cpp
test/CodeGenCXX/x86_64-arguments.cpp
test/CodeGenObjC/2008-10-23-invalid-icmp.m
test/CodeGenObjC/PR4541.m
test/CodeGenObjC/PR4894-recursive-debug-crash.m
test/CodeGenObjC/bitfield-1.m
test/CodeGenObjC/bitfield-ivar-metadata.m
test/CodeGenObjC/bitfield-ivar-offsets.m
test/CodeGenObjC/blocks-1.m
test/CodeGenObjC/blocks-2.m
test/CodeGenObjC/blocks-3.m
test/CodeGenObjC/blocks.m
test/CodeGenObjC/category-super-class-meth.m
test/CodeGenObjC/class-getter-dotsyntax.m
test/CodeGenObjC/class-type.m
test/CodeGenObjC/compatibility-alias.m
test/CodeGenObjC/constant-strings.m
test/CodeGenObjC/continuation-class.m
test/CodeGenObjC/deadcode_strip_used_var.m
test/CodeGenObjC/debug-info-linkagename.m
test/CodeGenObjC/dot-syntax-1.m
test/CodeGenObjC/dot-syntax.m
test/CodeGenObjC/encode-test-1.m
test/CodeGenObjC/encode-test-2.m
test/CodeGenObjC/encode-test-3.m
test/CodeGenObjC/encode-test-4.m
test/CodeGenObjC/encode-test-5.m
test/CodeGenObjC/encode-test.m
test/CodeGenObjC/for-in.m
test/CodeGenObjC/forward-class-impl-metadata.m
test/CodeGenObjC/hidden-visibility.m
test/CodeGenObjC/hidden.m
test/CodeGenObjC/id-isa-codegen.m
test/CodeGenObjC/image-info.m
test/CodeGenObjC/implicit-objc_msgSend.m
test/CodeGenObjC/implicit-property.m
test/CodeGenObjC/interface-layout-64.m
test/CodeGenObjC/interface.m
test/CodeGenObjC/ivar-layout-64-bitfields.m
test/CodeGenObjC/ivar-layout-64.m
test/CodeGenObjC/ivar-layout-no-optimize.m
test/CodeGenObjC/ivars.m
test/CodeGenObjC/link-errors.m
test/CodeGenObjC/message-arrays.m
test/CodeGenObjC/messages-2.m
test/CodeGenObjC/messages.m
test/CodeGenObjC/metadata-symbols-32.m
test/CodeGenObjC/metadata-symbols-64.m
test/CodeGenObjC/metadata_symbols.m
test/CodeGenObjC/missing-atend-metadata.m
test/CodeGenObjC/nested-rethrow.m
test/CodeGenObjC/newproperty-nested-synthesis-1.m
test/CodeGenObjC/no-category-class.m
test/CodeGenObjC/non-lazy-classes.m
test/CodeGenObjC/objc-align.m
test/CodeGenObjC/objc-assign-ivar.m
test/CodeGenObjC/objc-gc-aggr-assign.m
test/CodeGenObjC/objc-read-weak-byref.m
test/CodeGenObjC/objc2-assign-global.m
test/CodeGenObjC/objc2-ivar-assign.m
test/CodeGenObjC/objc2-new-gc-api-strongcast.m
test/CodeGenObjC/objc2-no-strong-cast.m
test/CodeGenObjC/objc2-no-write-barrier.m
test/CodeGenObjC/objc2-property-encode.m
test/CodeGenObjC/objc2-protocol-enc.m
test/CodeGenObjC/objc2-retain-codegen.m
test/CodeGenObjC/objc2-strong-cast-1.m
test/CodeGenObjC/objc2-strong-cast.m
test/CodeGenObjC/objc2-weak-assign.m
test/CodeGenObjC/objc2-weak-compare.m
test/CodeGenObjC/objc2-weak-import-attribute.m
test/CodeGenObjC/objc2-weak-ivar-debug.m
test/CodeGenObjC/objc2-weak-ivar.m
test/CodeGenObjC/objc2-write-barrier-2.m
test/CodeGenObjC/objc2-write-barrier-3.m
test/CodeGenObjC/objc2-write-barrier-4.m
test/CodeGenObjC/objc2-write-barrier-5.m
test/CodeGenObjC/objc2-write-barrier.m
test/CodeGenObjC/object-incr-decr-1.m
test/CodeGenObjC/overloadable.m
test/CodeGenObjC/predefined-expr.m
test/CodeGenObjC/property-aggr-type.m
test/CodeGenObjC/property-agrr-getter.m
test/CodeGenObjC/property-complex.m
test/CodeGenObjC/property-getter-dot-syntax.m
test/CodeGenObjC/property-incr-decr-1.m
test/CodeGenObjC/property-list-in-class.m
test/CodeGenObjC/property-setter-attr.m
test/CodeGenObjC/property.m
test/CodeGenObjC/protocol-in-extended-class.m
test/CodeGenObjC/protocol-property-synth.m
test/CodeGenObjC/protocols-lazy.m
test/CodeGenObjC/protocols.m
test/CodeGenObjC/runtime-fns.m
test/CodeGenObjC/sel-as-builtin-type.m
test/CodeGenObjC/super-classmethod-category.m
test/CodeGenObjC/super-dotsyntax-property.m
test/CodeGenObjC/super-message-fragileabi.m
test/CodeGenObjC/synchronized.m
test/CodeGenObjC/synthesize_ivar-cont-class.m
test/CodeGenObjC/synthesize_ivar.m
test/CodeGenObjC/try.m
test/CodeGenObjC/undefined-protocol.m
test/CodeGenObjC/unname-bf-metadata.m
test/CodeGenObjC/variadic-sends.m
test/CodeGenObjCXX/mangle.mm
test/Coverage/ast-printing.c
test/Coverage/ast-printing.cpp
test/Coverage/ast-printing.m
test/Coverage/codegen-gnu.m
test/Coverage/codegen-next.m
test/Coverage/codegen.c
test/Coverage/html-diagnostics.c
test/Coverage/html-print.c
test/Coverage/parse-callbacks.c
test/Coverage/parse-callbacks.m
test/Coverage/targets.c
test/Coverage/verbose.c
test/FixIt/fixit-at.c
test/FixIt/fixit-c90.c
test/FixIt/fixit-cxx0x.cpp
test/FixIt/fixit-errors-1.c
test/FixIt/fixit-errors.c
test/FixIt/fixit-objc.m
test/FixIt/fixit-pmem.cpp
test/FixIt/fixit.c
test/FixIt/fixit.cpp
test/Frontend/output-failures.c
test/Frontend/rewrite-macros.c
test/Frontend/stdin.c
test/Index/TestClassDecl.m
test/Index/TestClassForwardDecl.m
test/Index/c-index-api-fn-scan.m
test/Index/c-index-api-loadTU-test.m
test/Index/c-index-getCursor-test.m
test/Index/c-index-pch.c
test/Index/comments.c
test/Index/cxx-operator-overload.cpp
test/Index/find-decls.c
test/Index/find-defs.c
test/Index/find-refs.c
test/Index/multiple-redecls.c
test/Index/objc-decls.m
test/Index/objc-message.m
test/Index/resolve-loc.c
test/Lexer/11-27-2007-FloatLiterals.c
test/Lexer/badstring_in_if0.c
test/Lexer/block_cmt_end.c
test/Lexer/c90.c
test/Lexer/char-escapes.c
test/Lexer/conflict-marker.c
test/Lexer/constants-ms.c
test/Lexer/constants.c
test/Lexer/cxx0x_keyword.cpp
test/Lexer/cxx0x_keyword_as_cxx98.cpp
test/Lexer/digraph.c
test/Lexer/dollar-idents.c
test/Lexer/escape_newline.c
test/Lexer/msdos-cpm-eof.c
test/Lexer/multiple-include.c
test/Lexer/numeric-literal-trash.c
test/Lexer/pragma-mark.c
test/Lexer/rdr-6096838-2.c
test/Lexer/rdr-6096838.c
test/Lexer/token-concat-2.c
test/Lexer/token-concat.c
test/Lexer/unknown-char.c
test/Misc/caret-diags-macros.c
test/Misc/caret-diags-scratch-buffer.c
test/Misc/diag-mapping.c
test/Misc/diag-mapping2.c
test/Misc/emit-html-insert.c
test/Misc/emit-html.c
test/Misc/message-length.c
test/Misc/predefines.c
test/Misc/remap-file.c
test/PCH/asm.c
test/PCH/attrs.c
test/PCH/blocks.c
test/PCH/builtins.c
test/PCH/cxx-method.cpp
test/PCH/enum.c
test/PCH/exprs.c
test/PCH/ext_vector.c
test/PCH/external-defs.c
test/PCH/functions.c
test/PCH/fuzzy-pch.c
test/PCH/line-directive.c
test/PCH/method_pool.m
test/PCH/multiple_decls.c
test/PCH/nonvisible-external-defs.c
test/PCH/objc_exprs.m
test/PCH/objc_import.m
test/PCH/objc_methods.m
test/PCH/objc_property.m
test/PCH/preprocess.c
test/PCH/reloc.c
test/PCH/source-manager-stack.c
test/PCH/stmts.c
test/PCH/struct.c
test/PCH/tentative-defs.c
test/PCH/types.c
test/PCH/va_arg.c
test/PCH/variables.c
test/PCH/variables.h
test/Parser/2008-10-31-parse-noop-failure.c
test/Parser/CompoundStmtScope.c
test/Parser/MicrosoftExtensions.c
test/Parser/argument_qualified.c
test/Parser/argument_redef.c
test/Parser/argument_scope.c
test/Parser/asm.c
test/Parser/attributes.c
test/Parser/bad-control.c
test/Parser/block-block-storageclass.c
test/Parser/block-pointer-decl.c
test/Parser/builtin_classify_type.c
test/Parser/builtin_types_compatible.c
test/Parser/c-namespace.c
test/Parser/char-literal-printing.c
test/Parser/check-objc2-syntax-1.m
test/Parser/check-syntax-1.m
test/Parser/check_cast.c
test/Parser/compound_literal.c
test/Parser/control-scope.c
test/Parser/cxx-ambig-paren-expr.cpp
test/Parser/cxx-attributes.cpp
test/Parser/cxx-bool.cpp
test/Parser/cxx-casting.cpp
test/Parser/cxx-class.cpp
test/Parser/cxx-condition.cpp
test/Parser/cxx-decl.cpp
test/Parser/cxx-exception-spec.cpp
test/Parser/cxx-extern-c-array.cpp
test/Parser/cxx-friend.cpp
test/Parser/cxx-member-initializers.cpp
test/Parser/cxx-namespace-alias.cpp
test/Parser/cxx-reference.cpp
test/Parser/cxx-stmt.cpp
test/Parser/cxx-template-decl.cpp
test/Parser/cxx-throw.cpp
test/Parser/cxx-typeid.cpp
test/Parser/cxx-typeof.cpp
test/Parser/cxx-using-declaration.cpp
test/Parser/cxx-using-directive.cpp
test/Parser/cxx-variadic-func.cpp
test/Parser/cxx0x-attributes.cpp
test/Parser/cxx0x-literal-operators.cpp
test/Parser/cxx0x-rvalue-reference.cpp
test/Parser/declarators.c
test/Parser/designator.c
test/Parser/encode.m
test/Parser/enhanced-proto-1.m
test/Parser/expressions.c
test/Parser/expressions.m
test/Parser/extension.c
test/Parser/function-decls.c
test/Parser/goto-ident.c
test/Parser/if-scope-c90.c
test/Parser/if-scope-c99.c
test/Parser/implicit-casts.c
test/Parser/method-prototype-1.m
test/Parser/namelookup-bug-1.c
test/Parser/namelookup-bug-2.c
test/Parser/namespace-alias-attr.cpp
test/Parser/objc-alias-printing.m
test/Parser/objc-category-neg-1.m
test/Parser/objc-forcollection-1.m
test/Parser/objc-forcollection-neg-2.m
test/Parser/objc-forcollection-neg.m
test/Parser/objc-foreach-syntax.m
test/Parser/objc-init.m
test/Parser/objc-interfaces.m
test/Parser/objc-messaging-1.m
test/Parser/objc-messaging-neg-1.m
test/Parser/objc-missing-impl.m
test/Parser/objc-property-syntax.m
test/Parser/objc-quirks.m
test/Parser/objc-synthesized-recover.m
test/Parser/objc-try-catch-1.m
test/Parser/objc-type-printing.m
test/Parser/offsetof.c
test/Parser/parmvardecl_conversion.c
test/Parser/pointer-arithmetic.c
test/Parser/pointer_promotion.c
test/Parser/pragma-pack.c
test/Parser/pragma-weak.c
test/Parser/prefix-attributes.m
test/Parser/promote_types_in_proto.c
test/Parser/recovery.c
test/Parser/selector-1.m
test/Parser/statements.c
test/Parser/struct-recursion.c
test/Parser/top-level-semi-cxx0x.cpp
test/Parser/traditional_arg_scope.c
test/Parser/typeof.c
test/Parser/types.c
test/Preprocessor/_Pragma-dependency.c
test/Preprocessor/_Pragma-dependency2.c
test/Preprocessor/_Pragma-location.c
test/Preprocessor/_Pragma-physloc.c
test/Preprocessor/_Pragma.c
test/Preprocessor/assembler-with-cpp.c
test/Preprocessor/builtin_line.c
test/Preprocessor/c90.c
test/Preprocessor/c99-6_10_3_3_p4.c
test/Preprocessor/c99-6_10_3_4_p5.c
test/Preprocessor/c99-6_10_3_4_p6.c
test/Preprocessor/c99-6_10_3_4_p7.c
test/Preprocessor/c99-6_10_3_4_p9.c
test/Preprocessor/clang_headers.c
test/Preprocessor/comment_save.c
test/Preprocessor/comment_save_if.c
test/Preprocessor/comment_save_macro.c
test/Preprocessor/cxx_and.cpp
test/Preprocessor/cxx_bitand.cpp
test/Preprocessor/cxx_bitor.cpp
test/Preprocessor/cxx_compl.cpp
test/Preprocessor/cxx_not.cpp
test/Preprocessor/cxx_not_eq.cpp
test/Preprocessor/cxx_oper_keyword.cpp
test/Preprocessor/cxx_oper_spelling.cpp
test/Preprocessor/cxx_or.cpp
test/Preprocessor/cxx_true.cpp
test/Preprocessor/cxx_xor.cpp
test/Preprocessor/disabled-cond-diags.c
test/Preprocessor/dump-macros-spacing.c
test/Preprocessor/dump_macros.c
test/Preprocessor/dumptokens_phyloc.c
test/Preprocessor/expr_comma.c
test/Preprocessor/expr_invalid_tok.c
test/Preprocessor/expr_liveness.c
test/Preprocessor/expr_multichar.c
test/Preprocessor/expr_usual_conversions.c
test/Preprocessor/extension-warning.c
test/Preprocessor/feature_tests.c
test/Preprocessor/function_macro_file.c
test/Preprocessor/has_include.c
test/Preprocessor/hash_line.c
test/Preprocessor/hash_space.c
test/Preprocessor/if_warning.c
test/Preprocessor/ifdef-recover.c
test/Preprocessor/import_self.c
test/Preprocessor/include-directive1.c
test/Preprocessor/include-directive2.c
test/Preprocessor/include-directive3.c
test/Preprocessor/include-macros.c
test/Preprocessor/include-pth.c
test/Preprocessor/indent_macro.c
test/Preprocessor/init.c
test/Preprocessor/line-directive.c
test/Preprocessor/macro_arg_keyword.c
test/Preprocessor/macro_disable.c
test/Preprocessor/macro_disable2.c
test/Preprocessor/macro_disable3.c
test/Preprocessor/macro_disable4.c
test/Preprocessor/macro_expand.c
test/Preprocessor/macro_expandloc.c
test/Preprocessor/macro_expandloc2.c
test/Preprocessor/macro_fn.c
test/Preprocessor/macro_fn_comma_swallow.c
test/Preprocessor/macro_fn_disable_expand.c
test/Preprocessor/macro_fn_lparen_scan.c
test/Preprocessor/macro_fn_lparen_scan2.c
test/Preprocessor/macro_fn_placemarker.c
test/Preprocessor/macro_fn_preexpand.c
test/Preprocessor/macro_fn_varargs_iso.c
test/Preprocessor/macro_fn_varargs_named.c
test/Preprocessor/macro_misc.c
test/Preprocessor/macro_not_define.c
test/Preprocessor/macro_paste_bad.c
test/Preprocessor/macro_paste_bcpl_comment.c
test/Preprocessor/macro_paste_c_block_comment.c
test/Preprocessor/macro_paste_commaext.c
test/Preprocessor/macro_paste_empty.c
test/Preprocessor/macro_paste_hard.c
test/Preprocessor/macro_paste_hashhash.c
test/Preprocessor/macro_paste_mscomment.c
test/Preprocessor/macro_paste_none.c
test/Preprocessor/macro_paste_simple.c
test/Preprocessor/macro_paste_spacing.c
test/Preprocessor/macro_paste_spacing2.c
test/Preprocessor/macro_rescan.c
test/Preprocessor/macro_rescan2.c
test/Preprocessor/macro_rescan_varargs.c
test/Preprocessor/macro_rparen_scan.c
test/Preprocessor/macro_rparen_scan2.c
test/Preprocessor/macro_space.c
test/Preprocessor/macro_undef.c
test/Preprocessor/mi_opt.c
test/Preprocessor/non_fragile_feature.m
test/Preprocessor/non_fragile_feature1.m
test/Preprocessor/objc-pp.m
test/Preprocessor/optimize.c
test/Preprocessor/output_paste_avoid.c
test/Preprocessor/overflow.c
test/Preprocessor/pr2086.c
test/Preprocessor/pragma_microsoft.c
test/Preprocessor/pragma_poison.c
test/Preprocessor/pragma_unknown.c
test/Preprocessor/print_line_track.c
test/Preprocessor/pushable-diagnostics.c
test/Preprocessor/skipping_unclean.c
test/Preprocessor/stdint.c
test/Preprocessor/stringize_misc.c
test/Preprocessor/stringize_space.c
test/Preprocessor/stringize_space2.c
test/Preprocessor/undef-error.c
test/Preprocessor/unterminated.c
test/Rewriter/block-test.c
test/Rewriter/crash.m
test/Rewriter/finally.m
test/Rewriter/id-test-3.m
test/Rewriter/ivar-encoding-1.m
test/Rewriter/ivar-encoding-2.m
test/Rewriter/metadata-test-1.m
test/Rewriter/metadata-test-2.m
test/Rewriter/method-encoding-1.m
test/Rewriter/objc-encoding-bug-1.m
test/Rewriter/objc-ivar-receiver-1.m
test/Rewriter/objc-string-concat-1.m
test/Rewriter/objc-super-test.m
test/Rewriter/objc-synchronized-1.m
test/Rewriter/properties.m
test/Rewriter/protocol-rewrite-1.m
test/Rewriter/rewrite-api-bug.m
test/Rewriter/rewrite-block-literal.c
test/Rewriter/rewrite-foreach-1.m
test/Rewriter/rewrite-foreach-2.m
test/Rewriter/rewrite-foreach-3.m
test/Rewriter/rewrite-foreach-4.m
test/Rewriter/rewrite-foreach-5.m
test/Rewriter/rewrite-foreach-6.m
test/Rewriter/rewrite-nest.m
test/Rewriter/rewrite-protocol-type-1.m
test/Rewriter/rewrite-try-catch.m
test/Rewriter/static-type-protocol-1.m
test/Rewriter/undecl-objc-h.m
test/Rewriter/undeclared-method-1.m
test/Rewriter/undef-field-reference-1.m
test/Rewriter/va-method.m
test/Sema/128bitint.c
test/Sema/PR2727.c
test/Sema/PR2728.c
test/Sema/PR2919-builtin-types-compat-strips-crv.c
test/Sema/PR2923.c
test/Sema/PR2963-enum-constant.c
test/Sema/address-constant.c
test/Sema/address_spaces.c
test/Sema/align-arm-apcs.c
test/Sema/align-x86.c
test/Sema/altivec-init.c
test/Sema/annotate.c
test/Sema/anonymous-struct-union.c
test/Sema/arg-duplicate.c
test/Sema/arg-scope-c99.c
test/Sema/arg-scope.c
test/Sema/array-constraint.c
test/Sema/array-declared-as-incorrect-type.c
test/Sema/array-init.c
test/Sema/asm.c
test/Sema/assign-null.c
test/Sema/assign.c
test/Sema/ast-print.c
test/Sema/attr-aligned.c
test/Sema/attr-cleanup.c
test/Sema/attr-decl-after-definition.c
test/Sema/attr-deprecated.c
test/Sema/attr-format_arg.c
test/Sema/attr-mode.c
test/Sema/attr-nodebug.c
test/Sema/attr-noinline.c
test/Sema/attr-noreturn.c
test/Sema/attr-regparm.c
test/Sema/attr-section.c
test/Sema/attr-unused.c
test/Sema/attr-used.c
test/Sema/attr-weak.c
test/Sema/bitfield-layout.c
test/Sema/bitfield-promote-int-16bit.c
test/Sema/bitfield-promote.c
test/Sema/bitfield.c
test/Sema/block-args.c
test/Sema/block-as-object.m
test/Sema/block-byref-args.c
test/Sema/block-call.c
test/Sema/block-labels.c
test/Sema/block-literal.c
test/Sema/block-misc.c
test/Sema/block-printf-attribute-1.c
test/Sema/block-return-1.c
test/Sema/block-return-2.c
test/Sema/block-return-3.c
test/Sema/block-return.c
test/Sema/block-sentinel-attribute.c
test/Sema/block-storageclass.c
test/Sema/builtin-object-size.c
test/Sema/builtin-prefetch.c
test/Sema/builtin-stackaddress.c
test/Sema/builtin-unary-fp.c
test/Sema/builtins.c
test/Sema/c89-2.c
test/Sema/c89.c
test/Sema/callingconv.c
test/Sema/carbon.c
test/Sema/cast-to-union.c
test/Sema/cast.c
test/Sema/check-increment.c
test/Sema/compare.c
test/Sema/complex-int.c
test/Sema/complex-promotion.c
test/Sema/compound-literal.c
test/Sema/conditional-expr.c
test/Sema/conditional.c
test/Sema/const-eval.c
test/Sema/const-ptr-int-ptr-cast.c
test/Sema/constant-builtins-2.c
test/Sema/constant-builtins.c
test/Sema/constructor-attribute.c
test/Sema/conversion-64-32.c
test/Sema/conversion.c
test/Sema/darwin-align-cast.c
test/Sema/decl-invalid.c
test/Sema/decl-type-merging.c
test/Sema/declspec.c
test/Sema/default.c
test/Sema/default1.c
test/Sema/deref.c
test/Sema/designated-initializers.c
test/Sema/dllimport-dllexport.c
test/Sema/enum.c
test/Sema/expr-address-of.c
test/Sema/expr-comma-c89.c
test/Sema/expr-comma.c
test/Sema/exprs.c
test/Sema/ext_vector_casts.c
test/Sema/ext_vector_components.c
test/Sema/flexible-array-init.c
test/Sema/floating-point-compare.c
test/Sema/for.c
test/Sema/format-attr-pr4470.c
test/Sema/format-attribute-printf0.c
test/Sema/format-attribute.c
test/Sema/format-string-percentm.c
test/Sema/format-strings.c
test/Sema/freemain.c
test/Sema/function-pointer-sentinel-attribute.c
test/Sema/function-ptr.c
test/Sema/function-redecl.c
test/Sema/function-sentinel-attr.c
test/Sema/function.c
test/Sema/gnu89.c
test/Sema/heinous-extensions-off.c
test/Sema/heinous-extensions-on.c
test/Sema/if-empty-body.c
test/Sema/illegal-types.c
test/Sema/implicit-builtin-decl.c
test/Sema/implicit-builtin-freestanding.c
test/Sema/implicit-builtin-redecl.c
test/Sema/implicit-cast.c
test/Sema/implicit-decl.c
test/Sema/implicit-def.c
test/Sema/implicit-int.c
test/Sema/incompatible-sign.c
test/Sema/incomplete-call.c
test/Sema/incomplete-decl.c
test/Sema/indirect-goto.c
test/Sema/init-struct-qualified.c
test/Sema/init-vector.c
test/Sema/init.c
test/Sema/inline.c
test/Sema/int-arith-convert.c
test/Sema/invalid-decl.c
test/Sema/invalid-init-diag.c
test/Sema/invalid-struct-init.c
test/Sema/knr-def-call.c
test/Sema/knr-variadic-def.c
test/Sema/member-reference.c
test/Sema/merge-decls.c
test/Sema/ms-fuzzy-asm.c
test/Sema/nested-redef.c
test/Sema/offsetof.c
test/Sema/overloadable-complex.c
test/Sema/overloadable.c
test/Sema/parentheses.c
test/Sema/pointer-addition.c
test/Sema/pointer-conversion.c
test/Sema/pointer-subtract-compat.c
test/Sema/pragma-pack-2.c
test/Sema/pragma-pack-3.c
test/Sema/pragma-pack-4.c
test/Sema/pragma-pack.c
test/Sema/pragma-unused.c
test/Sema/predef.c
test/Sema/predefined-function.c
test/Sema/private-extern.c
test/Sema/promote-int-16bit.c
test/Sema/rdar6248119.m
test/Sema/rdr6094103-unordered-compare-promote.c
test/Sema/recover-goto.c
test/Sema/redefinition.c
test/Sema/return-noreturn.c
test/Sema/return-silent.c
test/Sema/scope-check.c
test/Sema/self-comparison.c
test/Sema/sentinel-attribute.c
test/Sema/statements.c
test/Sema/static-init.c
test/Sema/stdcall-fastcall.c
test/Sema/struct-cast.c
test/Sema/struct-compat.c
test/Sema/struct-decl.c
test/Sema/struct-packed-align.c
test/Sema/switch.c
test/Sema/tentative-decls.c
test/Sema/text-diag.c
test/Sema/thread-specifier.c
test/Sema/transparent-union-pointer.c
test/Sema/type-spec-struct-union.c
test/Sema/typecheck-binop.c
test/Sema/typedef-prototype.c
test/Sema/typedef-redef.c
test/Sema/typedef-retain.c
test/Sema/typedef-variable-type.c
test/Sema/types.c
test/Sema/ucn-cstring.c
test/Sema/unnamed-bitfield-init.c
test/Sema/unused-expr.c
test/Sema/usual-float.c
test/Sema/va_arg_x86_32.c
test/Sema/va_arg_x86_64.c
test/Sema/var-redecl.c
test/Sema/varargs-x86-64.c
test/Sema/varargs.c
test/Sema/variadic-block.c
test/Sema/vector-assign.c
test/Sema/vector-cast.c
test/Sema/vector-init.c
test/Sema/vfprintf-invalid-redecl.c
test/Sema/vfprintf-valid-redecl.c
test/Sema/vla.c
test/Sema/void_arg.c
test/Sema/warn-char-subscripts.c
test/Sema/warn-freestanding-complex.c
test/Sema/warn-unused-variables.c
test/SemaCXX/PR5086-ambig-resolution-enum.cpp
test/SemaCXX/__null.cpp
test/SemaCXX/abstract.cpp
test/SemaCXX/access-base-class.cpp
test/SemaCXX/access-control-check.cpp
test/SemaCXX/access.cpp
test/SemaCXX/addr-of-overloaded-function.cpp
test/SemaCXX/address-of.cpp
test/SemaCXX/aggregate-initialization.cpp
test/SemaCXX/alignof-sizeof-reference.cpp
test/SemaCXX/ambig-user-defined-conversions.cpp
test/SemaCXX/ambiguous-builtin-unary-operator.cpp
test/SemaCXX/anonymous-union.cpp
test/SemaCXX/array-bound-merge.cpp
test/SemaCXX/arrow-operator.cpp
test/SemaCXX/attr-after-definition.cpp
test/SemaCXX/attr-cxx0x.cpp
test/SemaCXX/attr-deprecated.cpp
test/SemaCXX/attr-format.cpp
test/SemaCXX/attr-noreturn.cpp
test/SemaCXX/attr-sentinel.cpp
test/SemaCXX/attr-unavailable.cpp
test/SemaCXX/auto-cxx0x.cpp
test/SemaCXX/auto-cxx98.cpp
test/SemaCXX/blocks.cpp
test/SemaCXX/bool.cpp
test/SemaCXX/builtin-ptrtomember-ambig.cpp
test/SemaCXX/builtin-ptrtomember-overload-1.cpp
test/SemaCXX/builtin-ptrtomember-overload.cpp
test/SemaCXX/builtins.cpp
test/SemaCXX/c99.cpp
test/SemaCXX/cast-conversion.cpp
test/SemaCXX/cast-explicit-ctor.cpp
test/SemaCXX/class-base-member-init.cpp
test/SemaCXX/class-layout.cpp
test/SemaCXX/class-names.cpp
test/SemaCXX/class.cpp
test/SemaCXX/compare.cpp
test/SemaCXX/complex-overload.cpp
test/SemaCXX/composite-pointer-type.cpp
test/SemaCXX/condition.cpp
test/SemaCXX/conditional-expr.cpp
test/SemaCXX/const-cast.cpp
test/SemaCXX/constant-expression.cpp
test/SemaCXX/constructor-initializer.cpp
test/SemaCXX/constructor-recovery.cpp
test/SemaCXX/constructor.cpp
test/SemaCXX/conversion-delete-expr.cpp
test/SemaCXX/conversion-function.cpp
test/SemaCXX/convert-to-bool.cpp
test/SemaCXX/converting-constructor.cpp
test/SemaCXX/copy-assignment.cpp
test/SemaCXX/copy-constructor-error.cpp
test/SemaCXX/copy-initialization.cpp
test/SemaCXX/cstyle-cast.cpp
test/SemaCXX/cxx-member-pointer-op.cpp
test/SemaCXX/dcl_ambig_res.cpp
test/SemaCXX/dcl_init_aggr.cpp
test/SemaCXX/decl-expr-ambiguity.cpp
test/SemaCXX/decl-init-ref.cpp
test/SemaCXX/decltype-crash.cpp
test/SemaCXX/decltype-overloaded-functions.cpp
test/SemaCXX/decltype-pr4444.cpp
test/SemaCXX/decltype-pr4448.cpp
test/SemaCXX/decltype-this.cpp
test/SemaCXX/default-argument-temporaries.cpp
test/SemaCXX/default-assignment-operator.cpp
test/SemaCXX/default-constructor-initializers.cpp
test/SemaCXX/default1.cpp
test/SemaCXX/default2.cpp
test/SemaCXX/deleted-function.cpp
test/SemaCXX/dependent-types.cpp
test/SemaCXX/derived-to-base-ambig.cpp
test/SemaCXX/destructor.cpp
test/SemaCXX/direct-initializer.cpp
test/SemaCXX/do-while-scope.cpp
test/SemaCXX/dynamic-cast.cpp
test/SemaCXX/elaborated-type-specifier.cpp
test/SemaCXX/empty-class-layout.cpp
test/SemaCXX/enum.cpp
test/SemaCXX/exception-spec.cpp
test/SemaCXX/exceptions.cpp
test/SemaCXX/expressions.cpp
test/SemaCXX/fntype-decl.cpp
test/SemaCXX/format-attribute.cpp
test/SemaCXX/friend-class-nodecl.cpp
test/SemaCXX/friend.cpp
test/SemaCXX/function-overloaded-redecl.cpp
test/SemaCXX/function-redecl.cpp
test/SemaCXX/function-type-qual.cpp
test/SemaCXX/functional-cast.cpp
test/SemaCXX/i-c-e-cxx.cpp
test/SemaCXX/illegal-member-initialization.cpp
test/SemaCXX/implicit-int.cpp
test/SemaCXX/implicit-member-functions.cpp
test/SemaCXX/implicit-virtual-member-functions.cpp
test/SemaCXX/incomplete-call.cpp
test/SemaCXX/inherit.cpp
test/SemaCXX/inline.cpp
test/SemaCXX/invalid-member-expr.cpp
test/SemaCXX/invalid-template-specifier.cpp
test/SemaCXX/libstdcxx_is_pod_hack.cpp
test/SemaCXX/linkage-spec.cpp
test/SemaCXX/literal-type.cpp
test/SemaCXX/member-expr-anonymous-union.cpp
test/SemaCXX/member-expr-static.cpp
test/SemaCXX/member-expr.cpp
test/SemaCXX/member-location.cpp
test/SemaCXX/member-name-lookup.cpp
test/SemaCXX/member-operator-expr.cpp
test/SemaCXX/member-pointer-size.cpp
test/SemaCXX/member-pointer.cpp
test/SemaCXX/member-pointers-2.cpp
test/SemaCXX/missing-members.cpp
test/SemaCXX/ms-exception-spec.cpp
test/SemaCXX/namespace-alias.cpp
test/SemaCXX/namespace.cpp
test/SemaCXX/nested-name-spec.cpp
test/SemaCXX/new-delete.cpp
test/SemaCXX/no-implicit-builtin-decls.cpp
test/SemaCXX/nullptr.cpp
test/SemaCXX/offsetof.cpp
test/SemaCXX/overload-call-copycon.cpp
test/SemaCXX/overload-call.cpp
test/SemaCXX/overload-decl.cpp
test/SemaCXX/overload-member-call.cpp
test/SemaCXX/overload-value-dep-arg.cpp
test/SemaCXX/overloaded-builtin-operators.cpp
test/SemaCXX/overloaded-operator-decl.cpp
test/SemaCXX/overloaded-operator.cpp
test/SemaCXX/prefetch-enum.cpp
test/SemaCXX/primary-base.cpp
test/SemaCXX/pseudo-destructors.cpp
test/SemaCXX/ptrtomember-badcall.cpp
test/SemaCXX/ptrtomember-overload-resolution.cpp
test/SemaCXX/qual-id-test.cpp
test/SemaCXX/qualification-conversion.cpp
test/SemaCXX/qualified-id-lookup.cpp
test/SemaCXX/qualified-names-diag.cpp
test/SemaCXX/qualified-names-print.cpp
test/SemaCXX/ref-init-ambiguous.cpp
test/SemaCXX/references.cpp
test/SemaCXX/reinterpret-cast.cpp
test/SemaCXX/reinterpret-fn-obj-pedantic.cpp
test/SemaCXX/return-stack-addr.cpp
test/SemaCXX/return.cpp
test/SemaCXX/rval-references.cpp
test/SemaCXX/statements.cpp
test/SemaCXX/static-array-member.cpp
test/SemaCXX/static-assert.cpp
test/SemaCXX/static-cast-complete-type.cpp
test/SemaCXX/static-cast.cpp
test/SemaCXX/static-initializers.cpp
test/SemaCXX/struct-class-redecl.cpp
test/SemaCXX/switch-0x.cpp
test/SemaCXX/switch.cpp
test/SemaCXX/this.cpp
test/SemaCXX/trivial-constructor.cpp
test/SemaCXX/trivial-destructor.cpp
test/SemaCXX/type-convert-construct.cpp
test/SemaCXX/type-definition-in-specifier.cpp
test/SemaCXX/type-dependent-exprs.cpp
test/SemaCXX/type-traits-incomplete.cpp
test/SemaCXX/type-traits.cpp
test/SemaCXX/typedef-redecl.cpp
test/SemaCXX/typeid.cpp
test/SemaCXX/types_compatible_p.cpp
test/SemaCXX/unknown-type-name.cpp
test/SemaCXX/unreachable-catch-clauses.cpp
test/SemaCXX/unused.cpp
test/SemaCXX/user-defined-conversions.cpp
test/SemaCXX/using-decl-1.cpp
test/SemaCXX/using-decl-pr4441.cpp
test/SemaCXX/using-decl-pr4450.cpp
test/SemaCXX/using-decl-templates.cpp
test/SemaCXX/using-directive.cpp
test/SemaCXX/value-dependent-exprs.cpp
test/SemaCXX/value-initialization.cpp
test/SemaCXX/vararg-default-arg.cpp
test/SemaCXX/vararg-non-pod.cpp
test/SemaCXX/vector-casts.cpp
test/SemaCXX/virtual-member-functions-key-function.cpp
test/SemaCXX/virtual-override.cpp
test/SemaCXX/virtuals.cpp
test/SemaCXX/warn-assignment-condition.cpp
test/SemaCXX/warn-char-subscripts.cpp
test/SemaCXX/warn-for-var-in-else.cpp
test/SemaCXX/warn-missing-prototypes.cpp
test/SemaCXX/warn-reorder-ctor-initialization.cpp
test/SemaCXX/wchar_t.cpp
test/SemaObjC/ContClassPropertyLookup.m
test/SemaObjC/DoubleMethod.m
test/SemaObjC/access-property-getter.m
test/SemaObjC/alias-test-1.m
test/SemaObjC/alias-test-2.m
test/SemaObjC/argument-checking.m
test/SemaObjC/at-defs.m
test/SemaObjC/atomoic-property-synnthesis-rules.m
test/SemaObjC/attr-cleanup.m
test/SemaObjC/attr-deprecated.m
test/SemaObjC/attr-malloc.m
test/SemaObjC/attr-objc-exception.m
test/SemaObjC/attr-objc-gc.m
test/SemaObjC/bad-receiver-1.m
test/SemaObjC/block-attr.m
test/SemaObjC/block-explicit-return-type.m
test/SemaObjC/block-ivar.m
test/SemaObjC/blocks.m
test/SemaObjC/call-super-2.m
test/SemaObjC/catch-stmt.m
test/SemaObjC/category-1.m
test/SemaObjC/category-method-lookup-2.m
test/SemaObjC/category-method-lookup.m
test/SemaObjC/check-dup-decl-methods-1.m
test/SemaObjC/check-dup-objc-decls-1.m
test/SemaObjC/class-bitfield.m
test/SemaObjC/class-conforming-protocol-1.m
test/SemaObjC/class-conforming-protocol-2.m
test/SemaObjC/class-def-test-1.m
test/SemaObjC/class-extension-dup-methods.m
test/SemaObjC/class-getter-using-dotsyntax.m
test/SemaObjC/class-impl-1.m
test/SemaObjC/class-method-lookup.m
test/SemaObjC/class-method-self.m
test/SemaObjC/class-property-access.m
test/SemaObjC/class-proto-1.m
test/SemaObjC/class-protocol.m
test/SemaObjC/cocoa.m
test/SemaObjC/compare-qualified-id.m
test/SemaObjC/compatible-protocol-qualified-types.m
test/SemaObjC/comptypes-1.m
test/SemaObjC/comptypes-2.m
test/SemaObjC/comptypes-3.m
test/SemaObjC/comptypes-4.m
test/SemaObjC/comptypes-5.m
test/SemaObjC/comptypes-6.m
test/SemaObjC/comptypes-7.m
test/SemaObjC/comptypes-8.m
test/SemaObjC/comptypes-9.m
test/SemaObjC/comptypes-a.m
test/SemaObjC/comptypes-legal.m
test/SemaObjC/conditional-expr-2.m
test/SemaObjC/conditional-expr-3.m
test/SemaObjC/conditional-expr-4.m
test/SemaObjC/conditional-expr-5.m
test/SemaObjC/conditional-expr-6.m
test/SemaObjC/conditional-expr.m
test/SemaObjC/conflicting-ivar-test-1.m
test/SemaObjC/continuation-class-err.m
test/SemaObjC/crash-label.m
test/SemaObjC/deref-interface.m
test/SemaObjC/duplicate-ivar-check.m
test/SemaObjC/enhanced-proto-2.m
test/SemaObjC/error-property-gc-attr.m
test/SemaObjC/exprs.m
test/SemaObjC/foreach.m
test/SemaObjC/format-arg-attribute.m
test/SemaObjC/format-strings-objc.m
test/SemaObjC/forward-class-1.m
test/SemaObjC/forward-class-receiver.m
test/SemaObjC/gcc-cast-ext.m
test/SemaObjC/id-isa-ref.m
test/SemaObjC/id.m
test/SemaObjC/id_builtin.m
test/SemaObjC/idiomatic-parentheses.m
test/SemaObjC/ignore-weakimport-method.m
test/SemaObjC/incompatible-protocol-qualified-types.m
test/SemaObjC/inst-method-lookup-in-root.m
test/SemaObjC/interface-1.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/interface-tu-variable.m
test/SemaObjC/invalid-code.m
test/SemaObjC/invalid-objc-decls-1.m
test/SemaObjC/invalid-receiver.m
test/SemaObjC/invalid-typename.m
test/SemaObjC/ivar-access-package.m
test/SemaObjC/ivar-access-tests.m
test/SemaObjC/ivar-lookup.m
test/SemaObjC/ivar-ref-misuse.m
test/SemaObjC/ivar-sem-check-1.m
test/SemaObjC/ivar-sem-check-2.m
test/SemaObjC/legacy-implementation-1.m
test/SemaObjC/message.m
test/SemaObjC/method-arg-decay.m
test/SemaObjC/method-arg-qualifier-warning.m
test/SemaObjC/method-attributes.m
test/SemaObjC/method-bad-param.m
test/SemaObjC/method-conflict.m
test/SemaObjC/method-def-1.m
test/SemaObjC/method-def-2.m
test/SemaObjC/method-encoding-2.m
test/SemaObjC/method-lookup-2.m
test/SemaObjC/method-lookup-3.m
test/SemaObjC/method-lookup-4.m
test/SemaObjC/method-lookup.m
test/SemaObjC/method-no-context.m
test/SemaObjC/method-not-defined.m
test/SemaObjC/method-sentinel-attr.m
test/SemaObjC/method-typecheck-1.m
test/SemaObjC/method-typecheck-2.m
test/SemaObjC/method-undef-category-warn-1.m
test/SemaObjC/method-undef-extension-warn-1.m
test/SemaObjC/method-undefined-warn-1.m
test/SemaObjC/missing-method-context.m
test/SemaObjC/newproperty-class-method-1.m
test/SemaObjC/no-gc-weak-test.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/nonnull.m
test/SemaObjC/nsobject-attribute-1.m
test/SemaObjC/nsobject-attribute.m
test/SemaObjC/objc-string-constant.m
test/SemaObjC/objc2-merge-gc-attribue-decl.m
test/SemaObjC/objc2-warn-weak-decl.m
test/SemaObjC/property-10.m
test/SemaObjC/property-11.m
test/SemaObjC/property-12.m
test/SemaObjC/property-13.m
test/SemaObjC/property-2.m
test/SemaObjC/property-3.m
test/SemaObjC/property-4.m
test/SemaObjC/property-5.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-9.m
test/SemaObjC/property-category-1.m
test/SemaObjC/property-category-2.m
test/SemaObjC/property-category-3.m
test/SemaObjC/property-category-4.m
test/SemaObjC/property-error-readonly-assign.m
test/SemaObjC/property-expression-error.m
test/SemaObjC/property-impl-misuse.m
test/SemaObjC/property-inherited.m
test/SemaObjC/property-ivar-mismatch.m
test/SemaObjC/property-method-lookup-impl.m
test/SemaObjC/property-missing.m
test/SemaObjC/property-nonfragile-abi.m
test/SemaObjC/property-noprotocol-warning.m
test/SemaObjC/property-redundant-decl-accessor.m
test/SemaObjC/property-typecheck-1.m
test/SemaObjC/property-user-setter.m
test/SemaObjC/property-weak.m
test/SemaObjC/property.m
test/SemaObjC/props-on-prots.m
test/SemaObjC/protocol-archane.m
test/SemaObjC/protocol-attribute.m
test/SemaObjC/protocol-expr-1.m
test/SemaObjC/protocol-expr-neg-1.m
test/SemaObjC/protocol-id-test-1.m
test/SemaObjC/protocol-id-test-2.m
test/SemaObjC/protocol-id-test-3.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/protocol-typecheck.m
test/SemaObjC/protocols.m
test/SemaObjC/rdr-6211479-array-property.m
test/SemaObjC/restrict-id-type.m
test/SemaObjC/return.m
test/SemaObjC/scope-check.m
test/SemaObjC/selector-1.m
test/SemaObjC/selector-error.m
test/SemaObjC/selector-overload.m
test/SemaObjC/sizeof-interface.m
test/SemaObjC/static-ivar-ref-1.m
test/SemaObjC/stmts.m
test/SemaObjC/string.m
test/SemaObjC/super-cat-prot.m
test/SemaObjC/super-property-message-expr.m
test/SemaObjC/super-property-notation.m
test/SemaObjC/super.m
test/SemaObjC/synchronized.m
test/SemaObjC/synthesize-setter-contclass.m
test/SemaObjC/synthesized-ivar.m
test/SemaObjC/try-catch.m
test/SemaObjC/typedef-class.m
test/SemaObjC/ucn-objc-string.m
test/SemaObjC/undeclared-selector.m
test/SemaObjC/undef-class-messagin-error.m
test/SemaObjC/undef-protocol-methods-1.m
test/SemaObjC/undef-superclass-1.m
test/SemaObjC/undefined-protocol-type-1.m
test/SemaObjC/unused.m
test/SemaObjC/va-method-1.m
test/SemaObjC/warn-assign-property-nscopying.m
test/SemaObjC/warn-selector-selection.m
test/SemaObjC/warn-superclass-method-mismatch.m
test/SemaObjC/warn-weak-field.m
test/SemaObjC/weak-attr-ivar.m
test/SemaObjC/writable-property-in-superclass.m
test/SemaObjCXX/blocks.mm
test/SemaObjCXX/category-lookup.mm
test/SemaObjCXX/composite-objc-pointertype.mm
test/SemaObjCXX/conditional-expr.mm
test/SemaObjCXX/cstyle-cast.mm
test/SemaObjCXX/linkage-spec.mm
test/SemaObjCXX/objc-decls-inside-namespace.mm
test/SemaObjCXX/overload.mm
test/SemaObjCXX/protocol-lookup.mm
test/SemaObjCXX/references.mm
test/SemaObjCXX/reserved-keyword-selectors.mm
test/SemaObjCXX/standard-conversion-to-bool.mm
test/SemaObjCXX/vararg-non-pod.mm
test/SemaObjCXX/void_to_obj.mm
test/SemaTemplate/ackermann.cpp
test/SemaTemplate/ambiguous-ovl-print.cpp
test/SemaTemplate/canonical-expr-type-0x.cpp
test/SemaTemplate/canonical-expr-type.cpp
test/SemaTemplate/class-template-ctor-initializer.cpp
test/SemaTemplate/class-template-decl.cpp
test/SemaTemplate/class-template-id-2.cpp
test/SemaTemplate/class-template-id.cpp
test/SemaTemplate/class-template-spec.cpp
test/SemaTemplate/constructor-template.cpp
test/SemaTemplate/copy-ctor-assign.cpp
test/SemaTemplate/current-instantiation.cpp
test/SemaTemplate/deduction.cpp
test/SemaTemplate/default-arguments-cxx0x.cpp
test/SemaTemplate/default-arguments.cpp
test/SemaTemplate/default-expr-arguments.cpp
test/SemaTemplate/dependent-base-member-init.cpp
test/SemaTemplate/dependent-names.cpp
test/SemaTemplate/dependent-sized_array.cpp
test/SemaTemplate/dependent-type-identity.cpp
test/SemaTemplate/destructor-template.cpp
test/SemaTemplate/enum-argument.cpp
test/SemaTemplate/example-typelist.cpp
test/SemaTemplate/explicit-instantiation.cpp
test/SemaTemplate/explicit-specialization-member.cpp
test/SemaTemplate/ext-vector-type.cpp
test/SemaTemplate/extern-templates.cpp
test/SemaTemplate/fibonacci.cpp
test/SemaTemplate/friend-template.cpp
test/SemaTemplate/friend.cpp
test/SemaTemplate/fun-template-def.cpp
test/SemaTemplate/function-template-specialization.cpp
test/SemaTemplate/implicit-instantiation-1.cpp
test/SemaTemplate/injected-class-name.cpp
test/SemaTemplate/instantiate-anonymous-union.cpp
test/SemaTemplate/instantiate-array.cpp
test/SemaTemplate/instantiate-attr.cpp
test/SemaTemplate/instantiate-c99.cpp
test/SemaTemplate/instantiate-call.cpp
test/SemaTemplate/instantiate-case.cpp
test/SemaTemplate/instantiate-cast.cpp
test/SemaTemplate/instantiate-clang.cpp
test/SemaTemplate/instantiate-complete.cpp
test/SemaTemplate/instantiate-decl-init.cpp
test/SemaTemplate/instantiate-declref-ice.cpp
test/SemaTemplate/instantiate-declref.cpp
test/SemaTemplate/instantiate-deeply.cpp
test/SemaTemplate/instantiate-default-assignment-operator.cpp
test/SemaTemplate/instantiate-dependent-nested-name.cpp
test/SemaTemplate/instantiate-enum-2.cpp
test/SemaTemplate/instantiate-enum.cpp
test/SemaTemplate/instantiate-exception-spec.cpp
test/SemaTemplate/instantiate-expr-1.cpp
test/SemaTemplate/instantiate-expr-2.cpp
test/SemaTemplate/instantiate-expr-3.cpp
test/SemaTemplate/instantiate-expr-4.cpp
test/SemaTemplate/instantiate-expr-5.cpp
test/SemaTemplate/instantiate-expr-basic.cpp
test/SemaTemplate/instantiate-field.cpp
test/SemaTemplate/instantiate-friend-class.cpp
test/SemaTemplate/instantiate-function-1.cpp
test/SemaTemplate/instantiate-function-1.mm
test/SemaTemplate/instantiate-function-2.cpp
test/SemaTemplate/instantiate-init.cpp
test/SemaTemplate/instantiate-member-class.cpp
test/SemaTemplate/instantiate-member-initializers.cpp
test/SemaTemplate/instantiate-member-pointers.cpp
test/SemaTemplate/instantiate-member-template.cpp
test/SemaTemplate/instantiate-method.cpp
test/SemaTemplate/instantiate-non-type-template-parameter.cpp
test/SemaTemplate/instantiate-objc-1.mm
test/SemaTemplate/instantiate-overloaded-arrow.cpp
test/SemaTemplate/instantiate-static-var.cpp
test/SemaTemplate/instantiate-subscript.cpp
test/SemaTemplate/instantiate-template-template-parm.cpp
test/SemaTemplate/instantiate-try-catch.cpp
test/SemaTemplate/instantiate-type.cpp
test/SemaTemplate/instantiate-typedef.cpp
test/SemaTemplate/instantiate-using-decl.cpp
test/SemaTemplate/instantiation-backtrace.cpp
test/SemaTemplate/instantiation-default-1.cpp
test/SemaTemplate/instantiation-default-2.cpp
test/SemaTemplate/instantiation-default-3.cpp
test/SemaTemplate/instantiation-depth.cpp
test/SemaTemplate/member-access-expr.cpp
test/SemaTemplate/member-function-template.cpp
test/SemaTemplate/member-initializers.cpp
test/SemaTemplate/member-template-access-expr.cpp
test/SemaTemplate/metafun-apply.cpp
test/SemaTemplate/nested-linkage.cpp
test/SemaTemplate/nested-name-spec-template.cpp
test/SemaTemplate/nested-template.cpp
test/SemaTemplate/operator-function-id-template.cpp
test/SemaTemplate/operator-template.cpp
test/SemaTemplate/overload-uneval.cpp
test/SemaTemplate/partial-spec-instantiate.cpp
test/SemaTemplate/qualified-id.cpp
test/SemaTemplate/qualified-names-diag.cpp
test/SemaTemplate/recursive-template-instantiation.cpp
test/SemaTemplate/temp.cpp
test/SemaTemplate/temp_arg.cpp
test/SemaTemplate/temp_arg_nontype.cpp
test/SemaTemplate/temp_arg_template.cpp
test/SemaTemplate/temp_arg_type.cpp
test/SemaTemplate/temp_class_order.cpp
test/SemaTemplate/temp_class_spec.cpp
test/SemaTemplate/temp_class_spec_blocks.cpp
test/SemaTemplate/temp_class_spec_neg.cpp
test/SemaTemplate/temp_explicit.cpp
test/SemaTemplate/temp_explicit_cxx0x.cpp
test/SemaTemplate/temp_func_order.cpp
test/SemaTemplate/template-class-traits.cpp
test/SemaTemplate/template-decl-fail.cpp
test/SemaTemplate/template-id-expr.cpp
test/SemaTemplate/template-id-printing.cpp
test/SemaTemplate/typename-specifier-2.cpp
test/SemaTemplate/typename-specifier-3.cpp
test/SemaTemplate/typename-specifier-4.cpp
test/SemaTemplate/typename-specifier.cpp
test/SemaTemplate/value-dependent-null-pointer-constant.cpp
test/SemaTemplate/variadic-class-template-1.cpp
test/SemaTemplate/variadic-class-template-2.cpp
test/SemaTemplate/variadic-parse.cpp
test/SemaTemplate/variadic-unsupported.cpp
test/SemaTemplate/virtual-member-functions.cpp
test/lit.cfg

index 3c11465157ae8de8836e6ab07ec55639daa699ac..01cb4a4613321d42619c0b619e1bd47f91a35ded 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -analyzer-constraints=basic %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -analyzer-constraints=range %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -disable-free %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fobjc-gc %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fobjc-gc %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -analyzer-constraints=basic %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -analyzer-constraints=range %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fobjc-gc -disable-free %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fobjc-gc %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fobjc-gc %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 76d7ebbf15fcaa15ade84b0d19f67a705b79dccb..9e6f093c56bfd11652f06e61ab83cf8f0bd2a471 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
 
 typedef signed long CFIndex;
 typedef const struct __CFAllocator * CFAllocatorRef;
index 16f8db21e835bb4a7b9d26cbc98f21bb811c2320..e2d1c88b8f79e6bfc7cee883dbece098cbcf92a7 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=region
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=region
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=region
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=region
 
 typedef struct objc_selector *SEL;
 typedef signed char BOOL;
index d69f86e9fd4a1ce5ec3c083873f0d028d051b5c5..7390b5a8011726edd9867a56bf205d18f7377fd1 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 typedef struct CGColorSpace *CGColorSpaceRef;
 extern CGColorSpaceRef CGColorSpaceCreateDeviceRGB(void);
index ec44b22aa4fc6d6dd42aee788165c7db0cbd8594..e3b1be0a5bf4e2fcede02ebc9ba62109b1f6ca67 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 
 typedef signed char BOOL;
index cb5339a4cdab9beae2337fbc827cf1bd7a21c75a..daa6460da81b9fa0543341cce55a5f2bc5651572 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-missing-dealloc '-DIBOutlet=__attribute__((iboutlet))' %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-missing-dealloc '-DIBOutlet=__attribute__((iboutlet))' %s -verify
 typedef signed char BOOL;
 @protocol NSObject
 - (BOOL)isEqual:(id)object;
index c98a685b1f40b861f96ccf2b5487197f1e56a6bb..b2863e089a8096158dccd838b076eb4b400b1223 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 // BEGIN delta-debugging reduced header stuff
 
index b7f8be07cbcdf77cf91fd2e37e0a0f8489dd10fc..2b8242f0d019d02aa5291148a9556dd6ec26121e 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 // XFAIL: *
 
 //===----------------------------------------------------------------------===//
index d7804dc5f42aa52de8c5a015ee3a96a5f0eac0be..fb44309b124897599178acbc0e8f0923a06af731 100644 (file)
@@ -1,13 +1,13 @@
-// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 // ==-- FIXME: -analyzer-store=basic fails on this file (false negatives). --==
-// NOTWORK: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// NOTWORK: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// NOTWORK: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// NOTWORK: clang -cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// NOTWORK: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// NOTWORK: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// NOTWORK: %clang_cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// NOTWORK: %clang_cc1 -DTEST_64 -triple x86_64-apple-darwin10 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 6d017293cc682c1b73a76d1bea6c11f3f7a696d8..acd3278c474e00f5020bfed5e2cf4e62307e844c 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=range -verify %s
 
 // These declarations were reduced using Delta-Debugging from Foundation.h
 // on Mac OS X.  The test cases are below.
index ad441a3b9b841ca83bf50de666b87ce84267a715..9d3de0f89a43806e612966ee9f3ce529542ec66d 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 #include <stdarg.h>
 
index 89d8f9b297b1b15fd15e57445555e294c5895d93..1749d71f359da924192be09ed69ba13d35647833 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic %s -verify
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range %s -verify
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic %s -verify
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range %s -verify
 
 // The point of this test cases is to exercise properties in the static
 // analyzer
index 416ef1c8eed87f1cd1136b6536dcc20b9ef4c0f1..cdc81993b81f89bb057a78231b601a7cc1b81ebb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-methodsigs -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-methodsigs -verify %s
 
 int printf(const char *, ...);
 
index ea71ad2a237b487c7548122ad1cd9b70f1263b40..e866ee6cb27085e4b0d48a7a5756b648cf54a8c9 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=range -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=range -analyzer-store=region -checker-cfref -fobjc-gc -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=range -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -analyzer-constraints=range -analyzer-store=region -checker-cfref -fobjc-gc -verify %s
 
 typedef const void * CFTypeRef;
 typedef const struct __CFString * CFStringRef;
index 428997f709c672932ba76435b16b098c64da484d..a70e34ac780051ff943eb89918be4000776d768e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-missing-dealloc %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -warn-objc-missing-dealloc %s -verify
 
 // Tests for the checker which checks missing/extra ivar 'release' calls 
 // in dealloc.
index a1d465734df7eff90b47bc90b003ad6d62a8f3de..38566d5f6c180ea5faf27a449a17df1bc162c0da 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
 
 //===----------------------------------------------------------------------===//
 // Delta-debugging produced forward declarations.
index 2a833c48ff13331f50b7ec8c023700072a07daff..0354c06c7810206c201754cd0994e855c2a9e46d 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 struct s {
   int data;
index 50a9d06e8f933fa3aed8df8866c493957ccfd49e..ef43751ce1b86e57a8797bc3683bd85a3948d62b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from Mac OS X headers:
index 3c6b83b723917a7f71c741f3d3201371a522e454..947f63ef48b63ab6e8a2e9ca68caf03ccc4fc297 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 
 // Test if the 'storage' region gets properly initialized after it is cast to
 // 'struct sockaddr *'. 
index fb4252014b01a52e9f5ae82fad855fa17c29ad5e..790f63f244dbec5ae98d28ea874012c3d930e9e1 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 
 // Test function pointer casts.  Currently we track function addresses using
 // loc::FunctionVal.  Because casts can be arbitrary, do we need to model
index 48f757e51a71ecf1d9605dabdb5c35219b23d3e0..c673736dcd783bb08c60b895f0b1e2272bef5730 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 typedef unsigned char Boolean;
 typedef signed long CFIndex;
index 27b4c51f96b70c1e0c6866d6f589d67b080ccef5..f3027336c4b206cbd33b1f8dadbd331f4a5dfca5 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 // This test case was reported in <rdar:problem/6080742>.
 // It tests path-sensitivity with respect to '!(cfstring != 0)' (negation of inequality).
index 605255e555ab731cd50b1e24e8d428fd4f983e6a..2b4f2c41179b085251f8146d52f9cc96e4fcf927 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 #include <stdint.h>
 
index fdede4beec7063707d1c5db5ad172e8e4acf1356..443e36485307b0b1215c282202b63706cf6dacb2 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 
 void foo() {
   int *p = (int*) 0x10000; // Should not crash here.
index 4b03785799010917bee08ec562344147eca83652..7db9284386971fcf3fc60c6640001707fbce3909 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -warn-uninit-values -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -warn-uninit-values -verify %s
 
 void f1()
 {
index a0e889f2daa0ba0b2809ca1cdf6921f7d5459653..63c9d0d97a448b660de845d00cd78fe733543c82 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -fblocks -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -fblocks -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -fblocks -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -warn-dead-stores -fblocks -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -warn-dead-stores -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -warn-dead-stores -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -warn-dead-stores -fblocks -verify %s
 
 void f1() {
   int k, y;
index 363cfdd98cc6144630a842bb1af37ce68da82d85..1670613dec82b3e8fcad4f803fde37915190c91b 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -warn-dead-stores -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -warn-dead-stores -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -warn-dead-stores -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -warn-dead-stores -verify %s
 
 //===----------------------------------------------------------------------===//
 // Basic dead store checking (but in C++ mode).
index 4ad3c0a42da437e2fd4feec2066c288aef826335..d4a20a81fba65f253e9194594e39a352dcaa1ca9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
 
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index df97866b8558755a11643f41ae62f07f7073cd9d..876e3a060686582488b991070ab339b0d7686ff6 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 
 
 //===----------------------------------------------------------------------===//
index f3eee26342411cd7b3c1d1e6bb7ee0dfee1c410d..4f79a31912a153ee48f26c67849954b575d5043d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region %s
 
 typedef struct added_obj_st {
   int type;
index 13f075de5ea18218a0e5951a8a87ae36eeae4ed5..27094c8576c5c47915bbc70d9f603aee86411846 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 //
 // Just exercise the analyzer on code that has at one point caused issues
 // (i.e., no assertions or crashes).
index e34191850036263bc35b9ddc111cc430ee2f7233..2a71114e39d41998fa4b627bac9dc767ab990e94 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=basic -verify
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=region -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=basic -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=region -verify
 
 unsigned foo();
 typedef struct bf { unsigned x:2; } bf;
index 449a4c29ced8aac4ac7a14928cef9883655b809f..8a951f8dcb5e26f88fb2055ba61899d869b7dc4a 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 
 void f(void) {
   void (*p)(void);
index 0c5142ba4d3f158f16f47fe415d43e4c5357ffdd..c885587df76b521d0822c566109b8c46ee5983df 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-experimental-checks -analyzer-store=region -verify %s
 typedef __typeof(sizeof(int)) size_t;
 void *malloc(size_t);
 void free(void *);
index ec4c3b4c65e9a1c8b12bbb8c255dad8cec4034bb..3f8836bfca4fe64e6829acf4119fef5c770f623a 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -fblocks %s
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fblocks %s
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -fblocks %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fblocks %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
 
 // <rdar://problem/6440393> - A bunch of misc. failures involving evaluating
 //  these expressions and building CFGs.  These tests are here to prevent
index 6af63f947291f0c9bd337e674c3fe7849706b426..2ae09ad38a59f09b42aa65add54a4dda4e3e88ab 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fblocks %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify -fblocks %s
 
 //---------------------------------------------------------------------------
 // Test case 'checkaccess_union' differs for region store and basic store.
index e636c21b94908595e5c00247d92062ee1469ab47..c23efab416e9b34c60c08ffcafba0afb74cf49c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s -analyzer-eagerly-assume
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s -analyzer-eagerly-assume
 
 // Delta-reduced header stuff (needed for test cases).
 typedef signed char BOOL;
index 92e20d647debf1176f01d39923bdc498eed43c7d..760b4d743357c1c466423554adf88654ff315af3 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
 
 // <rdar://problem/6776949>
 // main's 'argc' argument is always > 0
index f9df55270b66c015744799efe2de601339a632e5..bb98668bde7393ac171861ad0d7840020cda61df 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks %s
 
 // 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 01d99f24c68f0bade81a556abad14677432be0c5..3f30327e1886a25a6d243eded0e4beb0b27dcdf4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks %s
 
 // 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 e736e0f37cdb7a8277fd0655bf2f7ec840dd08cd..8eae643ec7d7f45933d09ef0cefd04ade10efc89 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks   -analyzer-opt-analyze-nested-blocks %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks -analyzer-opt-analyze-nested-blocks %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -fblocks   -analyzer-opt-analyze-nested-blocks %s
 
 typedef struct objc_selector *SEL;
 typedef signed char BOOL;
index c97ef951c5aa363f480448bfabf1695557393eb1..53b9b6f4fa67ad24091bc4a681a5a906c31fba71 100644 (file)
@@ -1,8 +1,8 @@
 // NOTE: Use '-fobjc-gc' to test the analysis being run twice, and multiple reports are not issued.
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -fobjc-gc -analyzer-constraints=basic -verify -fblocks %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fblocks %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -fobjc-gc -analyzer-constraints=basic -verify -fblocks %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -fblocks %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fblocks %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fblocks %s
 
 typedef struct objc_ivar *Ivar;
 typedef struct objc_selector *SEL;
index 227945620d78c8dc2ae8ef6602de204b06c152ad..f4f4e5c32431da1860bec70df6d77d77212afb53 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -triple i386-apple-darwin8 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s  2>&1 | FileCheck -check-prefix=darwin8 %s
-// RUN: clang -cc1 -triple i386-apple-darwin8 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s 2>&1 | FileCheck -check-prefix=darwin8 %s
-// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s 2>&1 | FileCheck -check-prefix=darwin9 %s
-// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s 2>&1 | FileCheck -check-prefix=darwin9 %s
+// RUN: %clang_cc1 -triple i386-apple-darwin8 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s  2>&1 | FileCheck -check-prefix=darwin8 %s
+// RUN: %clang_cc1 -triple i386-apple-darwin8 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s 2>&1 | FileCheck -check-prefix=darwin8 %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s 2>&1 | FileCheck -check-prefix=darwin9 %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s 2>&1 | FileCheck -check-prefix=darwin9 %s
 
 @interface MyClass {}
 - (void *)voidPtrM;
index eb4fc8d41aaec096913cc02988246a172f6cefc4..d7800f8f030b6ad6102436dd19d2686f056dd1aa 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s 
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s 
 
 // This is a test case for the issue reported in PR 2819:
 //  http://llvm.org/bugs/show_bug.cgi?id=2819
index 8aa194d31b87408b96e61b6301622ddb1931e3c8..dc553ccf2f77ea24afeed59a6a3336ac99820fbd 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -checker-cfref -analyze -analyzer-experimental-internal-checks -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -checker-cfref -analyze -analyzer-experimental-internal-checks -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -checker-cfref -analyze -analyzer-experimental-internal-checks -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -checker-cfref -analyze -analyzer-experimental-internal-checks -analyzer-store=region -verify %s
 // XFAIL: *
 
 //===----------------------------------------------------------------------===//
index 8f5fe9fb10c16bdec23a360f95d1c62f40793455..dfd76e9dfd8607041c6f2e33910940275d36afd9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -verify %s
 
 
 // The store for 'a[1]' should not be removed mistakenly. SymbolicRegions may
index 8bfc1f337aa105d04fbbabdd35bf24d336d82641..6dd50a34529839456ad529343d121b69e6d09a21 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic
-// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic
-// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -analyzer-constraints=range -analyzer-no-purge-dead -verify %s
-// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -analyzer-constraints=range -analyzer-no-purge-dead -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -analyzer-experimental-internal-checks -std=gnu99 -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 typedef unsigned uintptr_t;
 
index a866ad905b3bdf291218149e8a2dcbe511cd7b00..2142e9e1f73b14481a0360487159fddd615d357a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 
 char f1() {
   char* s = "abcd";
index e17361ebe4182608eab875962b220eb3c0f3d146..a2a8ec6b87e63ec5f56604c6f2e5fa7334d075ae 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -Werror %s -analyzer-store=basic -verify
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -Werror %s -analyzer-store=region -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -Werror %s -analyzer-store=basic -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -Werror %s -analyzer-store=region -verify
 
 // This test case illustrates that using '-analyze' overrides the effect of
 // -Werror.  This allows basic warnings not to interfere with producing
index 7f49340b7885554750eea8c8fd2c926e1eb0f6ea..a584de8a47bb167f9bead5df9d5af1f8aa5e060f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -fblocks -analyzer-output=plist -o - %s | FileCheck %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -analyzer-constraints=range -fblocks -analyzer-output=plist -o - %s | FileCheck %s
 
 void test_null_init(void) {
   int *p = 0;
index 3a32649ee722db3746eab66619ade6c71fc38d0c..da288e943b4fea30501f7c00a38ee7f7965354b2 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 
 // This test case was crashing due to how CFRefCount.cpp resolved the
 // ObjCInterfaceDecl* and ClassName in EvalObjCMessageExpr.
index 761448caf952e58528e45a3fe3eb64e2ad64b850..890fa04540dc2814a701faade0a76995885781fd 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -pedantic -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -pedantic -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -pedantic -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -pedantic -analyzer-store=region -verify %s
 
 // BEGIN delta-debugging reduced header stuff
 
index d38f4b3e2de27c1a0dfc5d5370b93967e3f9cc62..b21b1dcf787a3ab621eed533dab1f6534049ae67 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 
 // PR 4164: http://llvm.org/bugs/show_bug.cgi?id=4164
 //
index 2adbbe211d7fbd918fb79761b039ceceba5612c7..be504866745d163631de17663c6256a15f152e63 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -triple x86_64-apple-darwin9 %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -triple i686-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify -triple i686-apple-darwin9 %s
 
 void f1() {
   int a[10];
index 28fa83a3af6eec685a609fd4d186f7660c7049ed..1eae5d779dd680e35f8f228da9c5d29d71ca8d1e 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=basic -verify
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=region -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=basic -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref %s -analyzer-store=region -verify
 
 typedef int bar_return_t;
 typedef struct {
index 7940fc637b079bd24ecfb4d3d5aeac1effc5a3eb..d4c67a1e66bb3e76119294f965d4786241ae34c9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -warn-dead-stores -verify %s
 //
 // This test exercises the live variables analysis (LiveVariables.cpp).
 // The case originally identified a non-termination bug.
index fbbf40814c9aeb95842e40334141b540548ccf9f..9afffcbe6078a112e6568f95d6ee5799b12d1ac6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region %s
+// RUN: %clang_cc1 -verify -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region %s
 
 struct tea_cheese { unsigned magic; };
 typedef struct tea_cheese kernel_tea_cheese_t;
index 18dc3c84600238d2e9807018e590f7d07c0796f9..423fe4b05a24208cee776df87183396a388c1800 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic %s
+// RUN: %clang_cc1 -verify -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic %s
 
 struct tea_cheese { unsigned magic; };
 typedef struct tea_cheese kernel_tea_cheese_t;
index 95f876efee50d193eb78f24372f37ae6ac8bba33..185649f57268f0ec0b1172d7da8ca7cf2c3db96c 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region -verify %s
 //
 // This test case mainly checks that the retain/release checker doesn't crash
 // on this file.
index e1a06947d04b2f2c98e7de40333909748ef0ec6f..a4229f76719024d59828e49c871f0955fca766a9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
 
 typedef const void * CFTypeRef;
 typedef double CFTimeInterval;
index 060a91a49e85cf1f53d8a021fc81400bc6e1f90e..225074ba863c2cc4495a49b69dd22f2794e04d67 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-constraints=basic -analyzer-store=region %s -verify
 
 typedef struct Foo { int x; } Bar;
 
index 683dc745c6c403798edfb6c1c08a4e0511fbe854..8a84b4bc239ba4d563901571d19efe7d184b25b3 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -triple i386-apple-darwin10 -analyzer-store=region
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -triple i386-apple-darwin10 -analyzer-store=basic
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -triple i386-apple-darwin10 -analyzer-store=region
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -triple i386-apple-darwin10 -analyzer-store=basic
 
 // Note that the target triple is important for this test case.  It specifies that we use the
 // fragile Objective-C ABI.
index 417162b6dbf61ad82d855fc7f197a332c7c1b7af..66210c312aebde71ffdefb858cf03fa31e3ba757 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 
 typedef const struct __CFString * CFStringRef;
 typedef const struct __CFAllocator * CFAllocatorRef;
index 8d332cfb7501393764a217624a85ac17b956e2bc..1b95ac4b0c29c3fa6dafc189125b8d34846a07ec 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -analyzer-experimental-internal-checks -checker-cfref -analyzer-store=region -verify %s
 //
 // This test case simply should not crash.  It evaluates the logic of not
 // using MemRegion::getRValueType in incorrect places.
index 744032ba77c5a4d4b825d9e85cd4e92a3f4c5564..58321bb388dc3a3e6b3b775e055b5125990ca801 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 97fa6124484cf903e02e82ed082d35934d8e7e89..fcec46edd2598a45453a2a98e79106c660a0e22b 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify -fobjc-gc-only -fblocks %s
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -fobjc-gc-only -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=basic -verify -fobjc-gc-only -fblocks %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=region -fobjc-gc-only -fblocks -verify %s
 
 //===----------------------------------------------------------------------===//
 // Header stuff.
index 2b75ff9ea89b1a5ae51195e783d3d6653f007d06..35dc6e7110814d18203b1dab3c41630d9223206f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 969249cdeeb30f56b027055b4e626b14074a2334..f5d985ebd4489bdb758882337ee95c1bea4f46ba 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=basic -fblocks -verify %s
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=basic -fblocks -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
 
 #if __has_feature(attribute_ns_returns_retained)
 #define NS_RETURNS_RETAINED __attribute__((ns_returns_retained))
index c63d58901e46c615f9e8b56e94d38119c54e8bcf..1d35ccffe397c888020f39ef14148ec07596ba19 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin10 -analyze -warn-security-syntactic %s -verify
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -analyze -warn-security-syntactic %s -verify
 
 // <rdar://problem/6336718> rule request: floating point used as loop 
 //  condition (FLP30-C, FLP-30-CPP)
index eace4f873bc295cb811b4f3bfa243b7171f7d808..82fda04114d23eb0cb34bcd039d3f5955c4df2e0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -warn-sizeof-pointer -verify %s
+// RUN: %clang_cc1 -analyze -warn-sizeof-pointer -verify %s
 
 struct s {
 };
index a358165a22deb7546e570ba9f063dc1c2f58a01a..e58c7804ddbac70c94f73679d4d3b12dd65f0eda 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -fblocks -verify %s
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=basic -fblocks -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=region -fblocks -verify %s
 
 int* f1() {
   int x = 0;
index 6a2ada536f8adecfc35fa72b4a3f9d1c939530cc..c8a9e3ccbb2205027aa6048926890c148213efed 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 594a6f0dcd885c909788e798a83ae81f9bf8b559..d4e3b31a23829ed990abd8e492962a850c7b2c34 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -verify -analyzer-store=basic -checker-cfref %s
-// RUN: clang -cc1 -analyze -verify -analyzer-store=region -checker-cfref %s
+// RUN: %clang_cc1 -analyze -verify -analyzer-store=basic -checker-cfref %s
+// RUN: %clang_cc1 -analyze -verify -analyzer-store=region -checker-cfref %s
 
 // Delta-Debugging reduced preamble.
 typedef signed char BOOL;
index 5bcf74dcabc85140319bbecabbe00ab1fbd14236..ce86ad05320a846bd8ca8d56fa3bf8a144401769 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
 
 struct s {
   int data;
index a2824c023396bd566fe0e62a81a36fe7539b1f76..12287a2df375dc960af84ab908387f0013b0159b 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
 
 struct FPRec {
   void (*my_func)(int * x);  
index c48544e3c555fd59ffd2f9d6c7d8289e16b22131..b0769ba6bce1efbabfd2e7d96ad6e4aa9347b0e9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -warn-uninit-values -verify %s
+// RUN: %clang_cc1 -analyze -warn-uninit-values -verify %s
 
 int f1() {
   int x;
index 43bab9e79134e8488efb95df74d0f997b1d0a6e9..037e227be668757938e34e60cc78c0b8a4300806 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=region -verify %s
 
 typedef unsigned int NSUInteger;
 
index 1c48e798808d9f4e3171e7dc0b3616b56b6a308c..7fd1b44f05fa3ab5cfeaf0972d44fc8a4e9a6cc7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range %s -verify
+// RUN: %clang_cc1 -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range %s -verify
 
 //===-- unions-region.m ---------------------------------------------------===//
 //
index 55c482aa8b3f7aa1e5eb4b1e9cdb2032656ba739..2ad886fdb3a121745ea1ce46c2ec7d346fe4ab07 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fblocks -analyze -warn-objc-unused-ivars %s -verify
+// RUN: %clang_cc1 -fblocks -analyze -warn-objc-unused-ivars %s -verify
 
 //===--- BEGIN: Delta-debugging reduced headers. --------------------------===//
 
index 881212d74ba4ae90213788205950c8bd21480d96..55debe3ca731daf579eb8639ec3f0125a7f3bd6e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // C++ [basic.def.odr]p2:
 //   An expression is potentially evaluated unless it [...] is the
index ecff3eebafeccd986b66dcc40e9464aa5a6fff8b..bd16b02d7badf08c366301840cd03af42466cb91 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // FIXME: This test is woefully incomplete.
 namespace N { } // expected-note{{here}}
index e2c76f9183362969a9d2dc9953253634f77112fc..f650ad517a1981413010d7760517e705b21f1e0f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace N1 {
   struct X { };
index 677df8284a72c6144b18b4032fd76d12712cd169..ee01416c7b1ba89934e60b44b7273007c5d201fb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace N {
   struct X { };
index ae5590cd3c146a991255eda64b937366f2bb0929..c4c2c8d60596ada05dfbc2ad225124312e49ca58 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // FIXME: embellish
 
index 8f0bed8789fe6679c20446f649bb3f313d2fccd5..456a785587bf0c7438dfd1154a512db7544aee47 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace A {
   class A {
index cb9d942ba6f695288034cc9b4bd24d4390595bdc..76b6e2b574652afae2c32f9df0f17e106c87ba93 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // elaborated-type-specifier:
 //   class-key '::'? nested-name-specifier? 'template'? simple-template-id
index 88bc813363fa9af3a35fac265dd25b244e155d73..7a6210007eb932645c9f942597d06508d1ec3872 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace Ints {
   int zero = 0; // expected-note {{candidate found by name lookup is 'Ints::zero'}}
index 7a51a7bb1df07dd68af81636054ce03fd17f90ae..dc0f8b4af23c8ac2dbf3471f6bdd974bad7e40e7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // This is basically paraphrased from the standard.
 
index 2c0ce80d8ce692564832fa56d8c085a2f5c084cf..38eccfa2248bfdfd3a047dfaefcbf83d30263d17 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace A {
   int a;
index 78af521c910303a607be6d63c16918da101ea530..5045baccb4d0ab6d662ffb46f64a8e7790b9af5c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace A {
   struct x {}; // expected-note {{candidate found by name lookup is 'A::x'}}
index 04aef1e39e40ab1189ef47d9d2270bbdcfeb9077..ab0dc248f3dc12b2d58734a281b2fc4d404c2315 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // When looking up a namespace-name in a using-directive or
 // namespace-alias-definition, only namespace names are considered.
index 1b56ecd27d68da372cf276bd03d5630c3547e6a0..a1cf529741b9da807d7fb63ad427f1ffdebecf15 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 static const int a = 10;
 
index aee8acf5c05ac034bcd9bb80cf44615b75c05a50..878ff078bc267e546c04d5aeb392bd045a477f0b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct S {};
 S E0;
index afd66236057211d40fef9bf2495f99c6d8e2222a..58d7ff4d16afbac237d8618f126a447816ce5e68 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct S {
   static const int f0 = 0;
index 141a5732c1d3f381a8e06a3198b9a3e31912ed7d..d6fc8870050c921e07006e3cfb8b7a89fdbad125 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // XFAIL: *
 
 namespace N { 
index 418059dc74ce1166153ff070d825f70fd398111e..253d15e90178d17a9ca0de1951e1a2500bc5484c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // XFAIL: *
 
 class C {
index 7fd1b53c2cb0e0d900f5b2b5bb8537f08cbab0db..20a7ae05a12a31f0ebf38c4bb59761d811e46e38 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef int f; 
 
index a6a758798949ff712058d323fdcd74a88c8e37f3..b8dfbe78b6cce1a8077c56f5f6efa603d9d2c9fd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 typedef int Int;
 typedef char Char;
index caecf6060881707ecc7a1fdac04d9fd4f718f257..785382cd077b89fab3b94c0e8b04a079037c41c1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 typedef int Int;
 typedef char Char;
index 8587d8cec791b724b0fd9731b11cd42c6ddd5d7c..81b08b98758d42308435138734096db9cd2a8b99 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 int main() {
 }
index 777b5ceb743a381e4c30a95c78634d7ca87efbe4..bcdbdb260aee3853867b9899f5ad9bf75dde1d73 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 static int main() { // expected-error {{'main' is not allowed to be declared static}}
 }
index 087cf77476ad4ceb97c12b4ce3db9382c03fc7c5..954fdbdb645f2dc00034fa6e5d113a12b3601376 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 inline int main() { // expected-error {{'main' is not allowed to be declared inline}}
 }
index b7845b13e9a4b9388a032d7e3b7c3270d5c69e02..e346d318b189dab58b8d0927fee107237db6424b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 void  // expected-error {{error: 'main' must return 'int'}}
 main( // expected-error {{error: first argument of 'main' should be of type 'int'}}
index 4cedcdb916573d42cd3324ad56910200d460b925..e3209fd3ce947775fee91f4af9a0c06f050777ba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 int main(int argc, const char* const* argv) {
 }
index c752cec634a2965b1e61d86e287dc7e2d7ad8f69..8a62ae84e2afce2ca010b0ee4a6f0cf866c7f07e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 #include <stddef.h>
 
 struct A {
index 04af5bc82ec5a4c7c699a6da0425cc2e0e735f67..e00e9486f0bfa9b080ed25def74650d5bee6e6eb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct A {
   void operator delete(void*);
index ff653d5fef08f6bca45e26aa72355ea6cb652e15..6cd587c4de402aa115e143ad3d91ebd69e7c80e0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int *use_new(int N) {
   return new int [N];
index f3499e4286bcc328daeacdaea91e8c41f7ac7b0c..f4860bb9babfbb0940bc18618fb8fed25cebc424 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 int *use_new(int N) {
   if (N == 1)
     return new int;
index 043a9bfb4e0d94c8fe878c8d732acf089d20d8e6..5d7905f9da817f9146cdca7f6cf8baeffd9d2c41 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify
+// RUN: %clang_cc1 -fsyntax-only -verify
 
 // This is just the test for [namespace.udecl]p4 with 'using'
 // uniformly stripped out.
index b5974a021180758f2499b3480a557b737d05f0a4..208a0d155fe71a0c5ecd0e4a828fe74710b5528f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ast-print %s | FileCheck %s
+// RUN: %clang_cc1 -ast-print %s | FileCheck %s
 
 // CHECK: test12_A::foo()
 struct test12_A {
index a02bc5337522037005fe8581be9198c8a1afc497..a9dca4fa8ec881de6f73747d9a1a26d3c17a7191 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Make sure that friend declarations don't introduce ambiguous
 // declarations.
index 7065a7e917fd7b2c4285e184551166303991fb5f..886fef5bc4f62a2ff3f48ec70b13bb9cf71f19a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct Outer {
   struct Inner {
index 98be2049e75663d532d0aca635ab2cd800071542..9fe2b17e5049d30633d5c969e1a90d4d8e9fb75f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct B0;
 
index 2e8153c6c0471b8d8ed941998848902c90a7cc15..bd4630e2aa9dbb24f513a98a1b442458594b5713 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class A {
   friend static class B; // expected-error {{'static' is invalid in friend declarations}}
index 8a84f5dbed8afeec6f3b9bf95a447d2095b5e789..05ae5c71d15a984630fa1d362c96f91ee3c73638 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 int x;
 void f()
index 854415fe307de743e757ea6f49b13cf82f36bff3..a1fed53b3c09aa87e32a72cf08076ca78f437e94 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -faccess-control
+// RUN: %clang_cc1 -fsyntax-only -verify %s -faccess-control
 
 struct A { };
 
index 9c625d18c95c28750d3506b7436c36326f7724e1..c24d5d8a09a20a5983dbea4578120bec1ccaac07 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 void f1() {
   struct X {
index f2432ec973932e59af2da6c9209476453a8dde7c..d7807440cc9c6ea2fd0b34106a51b545e9394946 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 void f() {
   struct X {
index b90661deefe63b9759663f6000b61d0c99109e3d..f5fbf7a08c20f58defc3001f7e6bebc442d62004 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // [class.mfct.non-static]p3:
 //   When an id-expression (5.1) that is not part of a class member
index bbc49f9e95e7be4713326a59e1089693451e0fee..f1f5496d565b041b472e446f05c90234157a8285 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class Outer {
   int x;
index 61ccd281ca937e9293ac43fd60c081b22a28e15e..4a04a448595c5628dd5b99758a493f2653510f10 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class X {
 public:
index 9c969c5b75525650ca5f8cf0ebdcf09735bc9036..87946484ec18731502dce7dedaaa21b355394117 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 void abort() __attribute__((noreturn));
 
index 2ca7165aad48773889f0636fcb11c6f897d65dd5..1f962a98db6e5b98ca3a8afa16f0cb699e6b967f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template<typename T> struct X0 { };
 struct X1 { };
index dd30d6ad4f98574ce6f0b03fd65874d1cad8ab16..09f291c4dd5d05c74d66c5546b78e02f750522a8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 
 // This lame little test was ripped straight from the standard.
 
index 9528c4b99cb891f1e616237ef0ad13d0fa3625fe..935f5767889fb5b0b8d884ad37ac160513401ba6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // We have to avoid ADL for this test.
 
index b4302d5b4b903c53dce0c0fb1aceed8a842d89b3..63b302265ea0f4b9eb176c1d1ed1360ca028efb3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // C++03 [namespace.udecl]p11:
 //   If a function declaration in namespace scope or block scope has
index 4cbe1be056e4b854b1d1e8b5176d497e7b63e6bd..25371c7029b9890b40de12fd7774667dfb7b7080 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // C++03 [namespace.udecl]p12:
 //   When a using-declaration brings names from a base class into a
index 1a05aae3afd68cb30eb7691a262d14c1156d5f0a..ec814b1ab97c64ef48cb02dec99fe6fa6c5287db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // C++03 [namespace.udecl]p3:
 //   For the purpose of overload resolution, the functions which are
index 8257330dcf35ee9f634db93b17a65f9145370917..3f3bf4a2eccb27ba635da6350d9496857b0287b1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
 // C++0x N2914.
 
 struct B {
index bf314c41b5fb432ecb0052e9963b55644168a22a..f2dc64b80742c714556934980b24877cb711c65d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // C++03 [namespace.udecl]p4:
 //   A using-declaration used as a member-declaration shall refer to a
index 31218c41300f53a76fba4f8d65e5c5c2bdf9554f..edaa975a589055e51e7ac71a3fac5f4079a5a574 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // C++0x N2914.
 
 struct A {
index f86f8fb57907267b58ff9370ffca68709c49fb37..c4b8849e58cfca74818809facb9552f3eb08c90e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // C++0x N2914.
 
 namespace A {
index 59137eb8c9d8e22aa3fbf48ad0506d374ea9c0e6..78b5a41648a76433bf267d205f5b0564d165bd96 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // C++0x N2914.
 
 struct X {
index bf0f330777d11ea8aaa0305eb032399317d77a21..fd2df010fc9b838952bb6a979744d0346a0f6685 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct Opaque0 {};
 struct Opaque1 {};
index fbd205833cad74e20549f9501cce83ba1070d1e8..20a19ab042500633f7063862b43d7f970fa48775 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // (this actually occurs before paragraph 1)
 namespace test0 {
index dabe13a0ff66022346adb4e2533a1f711751f24e..99a4f7aec4c8bfd76b0ecc4f3fbaeb1a1c2f722e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 // XFAIL: *
 
 void f0(void) {
index 7dc65c77d4a92d8a8a8f14b936924b3db4733da9..15efd72c145763699e181db738ab50997e1cbf0c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 // XFAIL: *
 
 void f0() {
index 7a1ba3e389babb5d8dd5cbdb83244c0e4e5acb60..16a09d836d16b819d0352e91611a55bb0776abe6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 // XFAIL: *
 
 class A {
index d1251490ac1a336f081bb01a2901af520cca0abf..fd86276e85488da4c73414360296f2475b6a9328 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 // XFAIL: *
 
 typedef const int T0;
index 907a91a86ec44377aa6ac83da5517ac3cc16f938..7bfb655db99b4022102658863dcb91b2ae70aee4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 
 struct S; // expected-note {{forward declaration of 'struct S'}}
 extern S a;
index 6bdea20df6bdaad8a5f7069cc0739f7f25199bbd..082a32d8caf31463dbbe235e6de632e598842d2e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 void f() {
   auto a = a; // expected-error{{variable 'a' declared with 'auto' type cannot appear in its own initializer}}
 }
index fa3101c6736c6721d7b81888347af6c3859020db..e73925479324e2663db6e061b4903b6e7050f3cd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 void f() {
   auto a = a; // expected-error{{variable 'a' declared with 'auto' type cannot appear in its own initializer}}
 }
index b9cdb52f11a1c8dfd7576ce593f5ecc5ad190e3c..392888e71b45b97bee4e7c991e041b277a37635c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class A {}; // expected-note 3 {{previous use is here}}
 
index d97f2b83d1a7c3f89e6f018c834653b5fa69c407..19159e159a0cb5c6129a0b0ed1244dec5c52197c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
 
 template<typename T, typename U>
 struct is_same {
index 867b4f03d41ff4832833e610b1e3dc9d9a89f16f..28f49d0836475e5d8e29f0a2f0e305c8ff81d2dc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 
 typedef struct s { int x; } s;
 typedef int I;
index 69e843796ff7eeee1126adcc7f26b385ae20745e..06c6695008e0684fed90ddf020e386190e693a6d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 // XFAIL: *
 
 struct S {
index 4d0319e58dfbb42c6b1e0cbf591c4ae737bb4e16..c38bd292efdb623e85635eccbfd1e75167ab76ec 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++98 -pedantic -Werror  %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 -pedantic -Werror  %s
 int a1[] = { 1, 3, 5 };
 void f() {
   int a2[] = { 1, 3, 5 };
index f62b4250eef0c2bddca0d7f27f817d31ffad46bf..5ebc22fd82074ce9fe1401fa2b7bd16ff0903e03 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f0() {
   int &ir = { 17 }; // expected-error{{reference to type 'int' cannot bind to an initializer list}}
index 66fa2d1398444f21eefe992563f17c6da7dbe855..bd08ab5423b0fc415524336277fe8c0cb88b870d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 int g(int);
 void f() {
   int i; 
index 54840f52663f2e1d0a6d26a1ba1080b28f2a23a4..47e215a0a9041c43badde7599795ef62e21a702c 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 int& r1;       // expected-error{{declaration of reference variable 'r1' requires an initializer}}
 extern int& r2;
index 5d34345c49fdd316a69e1ea89329667ba9b2375e..7c63a79de1c67c8df05759a6213a9cb94acc7b30 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ast-dump %s 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -ast-dump %s 2>&1 | FileCheck %s
 
 // CHECK: example0
 void example0() {
index 5fa1fff8c86e97aa9acc4a913d371d3fb49fc645..e55fcc42455f22d5cbed56724b4a147555fcb8a0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct Base { }; // expected-note{{candidate function}}
 struct Derived : Base { }; // expected-note{{candidate function}}
index 9d855349f295a84f238c5447d68b3621984089be..00e59e0bd7924cff0ccb4ebd4913c3e5a684aeed 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 void f() {
   int b[5];
index a3c147db5ee21f5937c6194cea009997cddcb9c3..ac0ec85db06083994d8fae4dff781c2a8b9f1df8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 // Simple form
 int ar1[10];
index 82f526745dc6986daec3041944fff93b0f26e3be..9d26561ca8de8f3da1c93c7ee6bb3df8c68d9388 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct A { 
   virtual void f(int a = 7);
index 143a0caf82b2ae31b34d2f659b06ecfe1e5cd736..0a107eb2b139b7420f2f2d31f5072e3c8b67bc9e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void point(int = 3, int = 4);
 
index ea16f641dba0af50edc446d0eb311b28403af757..e9c5e0ca7b69378773ef6974e93d4e2676cc99c9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void nondecl(int (*f)(int x = 5)) // {expected-error {{default arguments can only be specified}}}
 {
index 0cb8186cdb6f39f8d4dc47219d0b2156a5e763aa..b2129b259bb3f13278c1652d7a9b59bf4bcb1783 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f0(int i, int j, int k = 3);
 void f0(int i, int j, int k);
index 894c9b5a877a0bdc32f2c3cc0025a869055073a6..8fb35c8c91c20351c8e9d7b4e21a8618f4cd186d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 float global_f;
 
index ef00e7b705340f5728029e9ef2d1ac3b3da2fe8a..00234ac5fd162505e002fad673e537a815326c43 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class C { 
   void f(int i = 3); // expected-note{{here}}
index 9c1d3a91c9bd3bccad0796e99d01cfff2cd95c1f..164eb3682f31a99852c89b22d074314f26ff99f6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void h()
 {
index 574237ee557dafccea57bccc3e60f84182f8f8ed..1a08ab73328770c85ca08d793039b3db17b7eec3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class A { 
   void f(A* p = this) { }      // expected-error{{invalid use of 'this'}}
 };
index 01fa6ac35548b97dce409b0a07fd5c1276ece609..ad827fb7b3142f1ca4ac3475fc202766398839a0 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 void f(int) { } // expected-note {{previous definition is here}}
 void f(const int) { } // expected-error {{redefinition of 'f'}}
index 5f9a5345cf1c8d7c43a08ddb9072255fe50351e3..1635ca792fe1ca14bee3a71929aa08d8b9878a55 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class A { 
 public:
   int& i; 
index 98e1d302a71726b9dc804dd846ae848466e11e4d..17fd7129100067c0192615324b1f77af77179335 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // C++ [dcl.ref]p5:
 //   There shall be no references to references, no arrays of
index 91e77bcb8bf7c362fe54f2be1e01c54813450ed0..4b2b5ae7cbd50150e891cbaaa19663a3b5bb1a10 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 
 // If the object being deleted has incomplete class type at the point of
 // deletion and the complete class has a non-trivial destructor or a
index 40fe052f63429911905844aa268a418f676e26b3..6b243c26cc3155cb7e35399bf685b6b35dfddf84 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 double operator +(double, double); // expected-error{{overloaded 'operator+' must have at least one parameter of class or enumeration type}}
 
index 4f02497486c889924d73c79b9dc724cf1e825551..cc834d9dc8d8275d79098516565e7e514b7524a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int a0;
 const volatile int a1;
index 1eec3cf0b9f9e091127a00236fe1978b7617c5b1..803b0cc459b26e49d939f59f98cd30ef59a5d0f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // floating-point overloads
 
index 2a9a34b87eed4e23ee35e58d01bb9d9a68ae5bfd..aacbc55b28feb4c4b80a7c0a385ec5e9f5df76e8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -trigraphs -Wtrigraphs -verify %s
+// RUN: %clang_cc1 -fsyntax-only -trigraphs -Wtrigraphs -verify %s
 
 ??=pragma // expected-warning {{trigraph converted to '#' character}}
 
index 5be2d46b9189b232ec9540fe210625436b854a5d..7d11d5bf5d5922fc418239ad753b24665c00774c 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -fsyntax-only -trigraphs -Wtrigraphs -verify %s
+// RUN: %clang_cc1 -fsyntax-only -trigraphs -Wtrigraphs -verify %s
 
 ??=define arraycheck(a,b) a??(b??) ??!??! b??(a??) // expected-warning {{trigraph converted to '#' character}} expected-warning {{trigraph converted to '[' character}} expected-warning {{trigraph converted to ']' character}} expected-warning {{trigraph converted to '|' character}} expected-warning {{trigraph converted to '|' character}} expected-warning {{trigraph converted to '[' character}} expected-warning {{trigraph converted to ']' character}}
index f32af49994afe220f5cec76f5f209dd3256068f5..2be03285fe65ff86c15929a189cec3ecb49eb52d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -trigraphs -Wtrigraphs -verify %s
+// RUN: %clang_cc1 -fsyntax-only -trigraphs -Wtrigraphs -verify %s
 
 char a[] =
 "?? ??\"??#??$??%??&??*??+??,??.??0??1??2??3??4??5??6"
index df5198357d7ba919646b86ecae00db54a06c2acd..5c315a736052ef8256cb086712f0bd64283fcc3e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> int &f0(T*, int);
 float &f0(void*, int);
index e7f7d18c69e3cad283c018bff694374c2e5da885..10c60da013cbc5c674b53172b80fd9fc8bf14699 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template<typename T> T f0(T);
 int f0(int);
index 9ab0260618935689b63af824b6744ca479f6b78b..70c786b39520d750a7d602e48026bf7acb0bd39b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> T f0(T, T);
 
index a05dbaebb71df24af952ab2b626e27192b187519..b1837b81c3ad9c1683dec4091a6ca1d18b28b28c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> T f0(T);
 int f0(int); // expected-note{{candidate function}}
index c0e878fed2a56c3ee90c95fc8c178c24c4d675da..b05c992f4115656e3d6c65bc2cd57190070e28a9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR5548
 struct A {~A();};
index bf99a2782bd5ed8470f1187d5bc1006f927efbf2..e4fe127f9f578f697dbae480f9881c5851a1c6c1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 #include <stddef.h>
 
 struct A {
index b082b85d18c4b014fee9a878a1f57d5a60cad160..555d4e9cfa944a2ae83475305e77648ed4d2579c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 #include <stddef.h>
 
 struct A {
index 79d6c54e29f06233dd568c7fa447da68aaa68656..a93249e2268d0b55e8fd4d4239f80821ea957c5c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Test class template partial specializations of member templates.
 template<typename T>
index b3b7635106c5a86a3992b2b895ee5fe6e63c96c4..cfa14f996bbe5660959775edb8e9709285387a40 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<int I, int J, class T> class X { 
   static const int value = 0;
 };
index 47cf8379c31966030acfe9a38976e38094f355bb..59253db3c5297bd57d558b151a1dc4448476f2b2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T, int N>
 struct A;
index 90bb16256c5b03e929f3ecf9c834ac9655ebc8ed..87e21e4af845ef4804b7f55f89ff5404ff86c944 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, int N>
 struct A;
 
index bc4bb5da40118ae2fc17e472aeaa749c6081af68..b65e1d0194b6932a95b7f1c0216914dd4c0d62c9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T, typename U>
 struct X0 {
index fd3fb0bc7a7d8e44ded120733f9fd1c5f57f7a83..4c05c622926d33e6eecd8fb97e552a366deb99ff 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> struct X1 { };
 
index 6c827209ef0e8c56960f70fd1ce0f9c3e61c59ea..17645639fb82f30d817a5819349cd144e3ef9b13 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, typename U> // expected-note{{previous template}}
 class X0 {
 public:
index a09d0efa297f2596af64454212211bad03a3fe45..f09faa90d5f952a3f11c1a6f52aa0c4f78079a8a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // Test instantiation of member functions of class templates defined out-of-line
 template<typename T, typename U>
 struct X0 {
index 602fd374c2ab5ede94b2613edb91abdccf83b5f0..70c9c70a41c01eed117268c30057148a827bd1d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 extern "C" void * malloc(int);
 
index 2ddb8eac6c0add004e1dd224891c9971a3df1152..d02e5f3e5735efb09dd67e8385007853dd8980dd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Test instantiation of static data members declared out-of-line.
 
index 949a8b0a72c7b37eb874d1b407a9e6e1bcca2b1d..88cca39e282f5214680ae7c0e46218e54a4e9fff 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct X0 {
index fe42ba41d81e8930465e6b9f2d6e2532149b0b35..b2a6219d04e695cbee155f31b916be076ad852e3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<class T> struct A { A(); };
 template<class T> int &f(T); 
index 27e4426b90820d6205d696f4fad6ffd1b1857557..4d34968d32aa942982d608dcd11b8cfb6b770588 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<class T> int &f(T); 
 template<class T> float &f(T*, int=1); 
 
index 399dcc4bed7605f00667f264b6e3a35e1e351bcd..e9a3eaa79d67b29e495d529bde39d0fe49d2cfc9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> void f0(T) { } // expected-note{{previous}}
 template<class U> void f0(U) { } // expected-error{{redefinition}}
index de1a883bcd7a0d9bf309e09324bed233dcd87d97..f42b94a727d2f5e084001647e863a01171f1664e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // All of these function templates are distinct.
 template<typename T> void f0(T) { }
index 2571e45c5cde2aaea964b6e9e745bfe73a039204..a668adafcaf5451dd5e3a37fd900588f08851819 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<int N, int M>
 struct A0 {
index fc392da00acfb62bd28c9bdb2927c9729893c54e..7a28e70c9ae67843252e596d89ac1bf19714b45b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only %s
+// RUN: %clang_cc1 -emit-llvm-only %s
 
 template <typename T> struct Num {
   T value_;
index 4615bebe711fae6b9e5453172f98d8e094aa51e9..17d8c85df00cc3b9d07ab536a4fbf1003537cf1b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template <class T> class A {
   typedef int Member;
index 74895c490623564ac49eac71ad713bc786f4ed48..f23611bd505ed79049d3a6bfd2fd3aeabe7c82df 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template <class T> class A {
   class Member {
index 80b18467a364ef1a91a25932644153f5829655b9..1b9da84886e79ea8c45fa26fb40db47281aee367 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template <class T> struct A {
   static T cond;
index 088a9e55eb3e6759e549dd7906cbe75d9ec71da4..0aef6adad13f2f753478d5b6647a8510413a3f5f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template<typename T> struct A { };
 
index 01030b2a8a20aad1ed49c50518baeecbd65a45e0..d0cb42da6ed5a9e0a1f1a5143967a0e204de5d8b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<class X, class Y, class Z> X f(Y,Z); 
 
index d193fb2ef296d40e86243357dab7aea70e8048e1..f6121b373e1352440c0671ead659d2edb84e8284 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s
+// RUN: %clang_cc1 %s
 
 typedef char one_byte;
 struct two_bytes { char data[2]; };
index beb6aad2c089aa5eb416b1b196908bafa3eda77a..d03e346d6f43cf86b777729fb501a3a5a8d1b9bf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> struct A { };
 
index 6f27d3636892e0344890ce6196d8db194f9d3a71..c165c45306684d25ca7f1a949b76fe81c746386b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T> struct A { };
 
 // bullet 1
index dbe2ff3e18fb28980a73716bfaeeab73a2e5bcc9..9fefbe1b03686b23825a4d042fc1b94ee3a75e1a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> struct A { };
 
index 7d175781c2d94a95e1c46d9abeb402ab4ba71eb3..5a9ea084fd61819e07e75374ec5bf809a31328d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // FIXME: [temp.deduct.conv]p2 bullets 1 and 2 can't actually happen without
 // references?
index 95bd7fe121595d9f013b8b0a50d84b3608b8e591..e23e98abe64d69ffbc74305b2dc66653416c7394 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct AnyPtr {
   template<typename T>
   operator T*() const;
index 50d31fb2f851f01a8423a73dbd83f3e4d07adc0e..4dca820c1929ca52a5ce8c94d3c47e4ce2708a72 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 struct AnyT {
   template<typename T>
index 86a34500ad41554abb938b1f950cc7be76a444f1..99a265af394cdf5bc4c9b671ca7145bb6ef0eaed 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template<typename T>
   T f0(T, int);
index 072789c7d579914ca9a41e3419daf1776fa60326..99ade4bc99741410c93de96533882f3199dd7442 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template <class T> T* f(int);  // #1 
 template <class T, class U> T& f(U); // #2 
index 56e7f3281eb69f3feca156f643c3fa689fc6da80..b9dac75beb91ec6c5ecfc47fb2c9fabc70a144e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 template<typename> struct Y1;
 template<typename, int> struct Y2;
 
index 9e7fd39c0a465efa4c714264084a75abbc9614f2..5af0c4e91b569873d3bb668d092150e9ad2e9f8a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 template<typename> struct Y1;
 template<typename, int> struct Y2;
 
index 3864fbeaa11e99c2e7e1f39e5bc9c867a8c94ed2..7be38790905fa398b60c76025b8422a61fd9523c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 template<typename> struct Y1; // expected-note{{too few template parameters in template template argument}}
 template<typename, int> struct Y2;
 
index 559b892d0fd2d97fd32edacbe0c117f493c90f09..7e7dbe58a7b56d8d5e819dc6e46489aeeca8c252 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 // The scope of atemplate-parameterextends from its point of
 // declaration until the end of its template. In particular, a
index 150e0ad636be061ba175a305b9b53a82ef7a7c94..a6c53c1e64a6195e42afc2290beecc5c2d573b48 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 // XFAIL: *
 
 // A template-parameter shall not be used in its own default argument.
index 57b6ee22410c9b40e935fde581cde7f1dcaed00a..0ce669979c11251d96bae04c5a986d5a37a1d38a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
 template<typename T> struct X;
 template<int I> struct Y;
 
index 764bb7bae073f84cf598e3aa5e850043180dc1be..13087791a3db3f7109e6def4681e999bbdf6b64e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++98 -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++98 -verify %s
 template<typename T> struct X;
 template<int I> struct Y;
 
index d40f99b58a29a778682a082b4c344c9391a21c34..41868c5c1ac72215cb1fa40e54811ae3d6187757 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // There is no semantic difference between class and typename in a
 // template-parameter. typename followed by an unqualified-id names a
index 6a76fe20b81aa8f2cef42e31ec59f9b53856fae1..7576aae478a2fac26b1670b3d1c57bf57e5d473f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // A type-parameter defines its identifier to be a type-name (if
 // declared with class or typename) or template-name (if declared with
index 3efff1243600fd8c221187aa9bebf8e8f6737eb6..5ec402a45bf5d50621ab2349a73672fb4e17bdca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class X;
 
 // C++ [temp.param]p4
index ccc869ae0fbe541d325ddda39ddf4879f157ec8a..13f0367764aa750cffde5a0d7d43e0175671e6a3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // A non-type template-parameter shall not be declared to have
 // floating point, class, or void type.
index dd4af17d79fab046b64e38caac9f5137a851861f..fed048cad8b621a54c0d4a6335700ddce79539eb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<int X[10]> struct A;
 template<int *X> struct A;
 template<int f(float, double)> struct B;
index d6b740544d023cb74420b42459e6d4a6bb53a5b8..625477c4e7b68af41ccb8f2cc40f69ba5b98bac7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++98 -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++98 -verify %s
 
 // A default template-argument shall not be specified in a function
 // template declaration or a function template definition
index a41b46ff5c9b54b10352b4fde630a9078a36d87b..75580d245cfc7296ff9679324e7bf873384ba7cf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // XFAIL: *
 
 // Note: we fail this test because we perform template instantiation
index d47f0d6835144982b896cdc0f2271c80cb14f38f..c41a4c60ee743146e1993c4813a2e061478f783a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct A0 {
   struct K { };
 };
index d5632e7f341d6bc6c269e58aab8760aae3fe5037..c37817cc49b8d489adb3842b34724b9091aa0245 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> inline void f(T) { }
 template void f(int); // expected-note{{previous explicit instantiation}}
index 239b8aeb04e404e91d8c0349213dc7a5326a33d6..3843c0d2c880dcd5082fd993447501ef91d48ae0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // This test creates cases where implicit instantiations of various entities
 // would cause a diagnostic, but provides expliict specializations for those
index 61f1710a6b9eda606d2295921821dcbc8fb31963..b81c1e7b2c8fd09cd0c555c12751283f66f309ab 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<class T> class X; 
 template<> class X<int>; // expected-note{{forward}}
index e794e67a5ef34ef183452afba8e96f0345fd8062..5fa2f627b00948cfd044958b45c23d6b62c222e9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<class T> class Array { /* ... */ }; 
 template<class T> void sort(Array<T>& v);
index 63cf9f5e50d12c2552841faec355a21d50b464ef..fb6d1bed1f7153e79513cbff68e42e6004bf0807 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template<typename T> void f(T);
 
index a5d5b9e3c41e255e072a2b145d161b55cee67330..121cb8eedf2fbd0d9dde8cc3adc88e1e3025d6fd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s 
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s 
 
 template<class T> void f(T) { /* ... */ }
 template<class T> inline void g(T) { /* ... */ }
index 840f566362ed8650f9e1b43f89ec2229739cef30..7e87e576ca9c6f366a03757f402a10f1ae5908f5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct NonDefaultConstructible {
   NonDefaultConstructible(const NonDefaultConstructible&);
index ce40afd402253c14890d967d4f636c88d14fe51a..2f9a3cbf945770e94b2a8f4eccbce2e05d21b06b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 template<class T> struct A { 
   void f(T);
   template<class X1> void g1(T, X1); 
index 06653044c3bb60fbfa1d3f4ab1a8d5a7e5c8c312..3b5b5afa8ed9df354de2c134563d8cf5ccd1c8a0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<class T1> 
 class A {
   template<class T2> class B {
index a5877d281d74176fdde3d7ab413d7070e09d968f..4d175a8860870dd5dc42793eaef4e5ebbe45c30b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<class T1> class A { 
   template<class T2> class B {
     template<class T3> void mf1(T3); 
index 1f38e5a2c17d29f22807f0e70aee57b7732e8074..1c2ea7ebde717d91ce67773f65b5cb1ffa3d329f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct X {
index 64856605a0a757de43f2f4a434df797bce133ad9..654f5abb8a548b9314267a21a0da4a0d7d2a2ae2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // This test creates cases where implicit instantiations of various entities
 // would cause a diagnostic, but provides expliict specializations for those
index d270b8167a1675814128ec2ae8dcee12286f0bae..f987c120a2de8122ae451142956ed43f05dfbe03 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T>
 void f(T);
 
index 9dae3eb5190b04bd2f2004dbfbd3f23fd7a1a561..ab26f407f3f38c04265db5d08220f495684a9295 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct X {
index de05a926338c05610b5b69d7aca5de1ca017d8b1..84841cb60f4d9a74e62a32dadb16f18742ce07c0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace N {
   template<class T> class X;
index ad0d5062136758b566da250e1337c7b73ba98f83..9e3401a1aef969d9886f0c96f59d2ba606a67f85 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct IntHolder { // expected-note{{here}}
   IntHolder(int);
index 58682c786f959e7e429027b7e4263f682a2e584f..512ea47d5a5f518140dc7c75026ff2ec2def2380 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct IntHolder {
   IntHolder(int);
index e92d3f0a88835221c0c5664d5070dfaf035ce05d..34c3710e04c5b860531ef7253761fa8759f0a815 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct X0 {
index 49481d2e6d7ae46c2ba95ab7da570cdda77b9ba9..d4ce01fd65010e893ad2eb7dd0899154e8bfc3cb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace N { 
   template<class T> class X { /* ... */ }; 
index d7731f17637c9cf915f151a5069116ee4eef7ca8..a4caceae4954cc09bd7671e36d4eb04a3af25c84 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
 
 template<typename T>
 struct X {
index 3938509961b49a842d1419c5b8f0dc0b2d744f8d..70eb69641867b57137aec0e7cae079f6a01a1db1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -triple x86_64-apple-darwin10 -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -triple x86_64-apple-darwin10 -o - %s | FileCheck %s
 template<typename T>
 struct X {
   static T member1;
index 00e9c8f347fd4598df4ff688c089f818ad1880ec..718812be30a3a96982ee1f27063b5eaff665e16f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct C { };
 
index 900b0b3092775c01a2603502b2c1b26d2d6b96fc..9021fc2b468c0f8f960707aabdaf1a29b0a5e02e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct X0 {
index fdf4393d43854db98dc1de944ddb3d5e42a0bc05..912b8e17bb98b05b7b763a7aa8b0607468d116b4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 char* p = 0; 
 template<class T> T g(T x = &p) { return x; }
index f3d2c955cb5bdb90b2220cef6dd13f9f7cda9904..8538d27f09bcb7f3ce9453d37ca8defb02638a23 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Example from the standard
 template<class T> class Array { void mf() { } }; 
index 9057971a5bb4c1826f57309c1a057b6b143dfc9d..3abbe2625d19fddc1b63afe4410557874ebbaa04 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // A declaration of a function template shall be in scope at the point of the 
 // explicit instantiation of the function template.
index 04e511b0b2d5d64a3ca12653c2ec8bb968161e99..f292b5a93d38068d9dc43b1cfce32c1f3bb61325 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> void f0(T); // expected-note{{here}}
 template void f0(int); // expected-error{{explicit instantiation of undefined function template}}
index a992648d7c489bb423aa778272823a191520ca78..13fb0492f1a47c422f260d935d2cfcb5ff273b13 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace N {
   template<class T> class Y { // expected-note{{explicit instantiation refers here}}
index 763d679db7bbb61d4e8a4988ed38e4bdc0ed5395..44ce41b6f957c26ab4df788dc9b5b5b5da7654a3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<class T> class Array { /* ... */ }; 
 template<class T> void sort(Array<T>& v) { }
index ffd653dbaa4fced54761a4f35c54e08a77f809fe..b62e0cb9b1cd0f82de92af3fe598dfb095b94fe8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct X0 {
index 9a5bd3245c78d7e00f43892d3c0bd6741b900932..0c5aec3b0bc8ad9ab67760a5efcbf2fcb3ae2cec 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct X0 {
index 59705d8a20e7229a8553e7a3efaccba652bcf902..e67233c3754769b584afa96a96980d309d1dce13 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -std=c++0x -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -std=c++0x -o - %s | FileCheck %s
 
 template<typename T>
 struct X0 {
index a53113fb969e946477d06d17f4affae649b3843b..ad973bb7c589193158de1939e686986a6b39599a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
 
 template<typename T>
 struct X0 {
index 8c7bf83e2a3a6e236d7b6286b5abaef422d24549..5467717bbc77e17a8782b578b52692e8852d9e21 100644 (file)
@@ -17,11 +17,11 @@ void f();
 
 void test() {
   f(Y(), 0, 0);
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC1 %s
   // CHECK-CC1: f(struct N::Y y, <#int ZZ#>)
   // CHECK-CC1-NEXT: f(int i, <#int j#>, int k)
   // CHECK-CC1-NEXT: f(float x, <#float y#>)
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:19:13 %s -o - | FileCheck -check-prefix=CC2 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:13 %s -o - | FileCheck -check-prefix=CC2 %s
   // CHECK-CC2-NOT: f(struct N::Y y, int ZZ)
   // CHECK-CC2: f(int i, int j, <#int k#>)
 }
index 3e8d75d940d700571913a451696a52b8dcc44f0a..2c0569b4eb03f5a6063f84aeede2d582d588793c 100644 (file)
@@ -21,7 +21,7 @@ namespace M {
 void test(enum N::C::Color color) {
   switch (color) {
   case 
-    // RUN: clang-cc -fsyntax-only -code-completion-at=%s:23:8 %s -o - | FileCheck -check-prefix=CC1 %s
+    // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:23:8 %s -o - | FileCheck -check-prefix=CC1 %s
     // CHECK-CC1: Blue : 0 : N::C::Blue
     // CHECK-CC1-NEXT: Green : 0 : N::C::Green
     // CHECK-CC1-NEXT: Indigo : 0 : N::C::Indigo
index b7a3676170bf2577e1fe8a226e6c02c36b981ec4..1a7c58fc1e252695c0a9790f0ff1f8dfbeb7c2e6 100644 (file)
@@ -19,7 +19,7 @@ void test(enum Color color) {
     case Green:
       break;
       
-    // RUN: clang-cc -fsyntax-only -code-completion-at=%s:19:10 %s -o - | FileCheck -check-prefix=CC1 %s
+    // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:10 %s -o - | FileCheck -check-prefix=CC1 %s
     // CHECK-CC1: Blue : 0
     // CHECK-CC1-NEXT: Green : 0
     // CHECK-CC1-NEXT: Indigo : 0
index 3a010a83dee5440e984af5855a490cfc7d333ca0..d6b6cc2a80e85757681b3cc053f50af7f621c537 100644 (file)
@@ -19,7 +19,7 @@ void test(enum N::Color color) {
     break;
     
   case 
-    // RUN: clang-cc -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CC1 %s
+    // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CC1 %s
     // CHECK-CC1: Blue : 0 : N::Blue
     // CHECK-CC1-NEXT: Green : 0 : N::Green
     // CHECK-CC1-NEXT: Indigo : 0 : N::Indigo
index 302b95516f3b4fc5e48c38fd5db6fc65b8ae9db1..cdbbf75838e1a13354490d9304cc54a938d6ed26 100644 (file)
@@ -14,10 +14,10 @@ public:
 void f() {
   std::sort(1, 2);
   Foo().getAs<int>();
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:15:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:15:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
   // CHECK-CC1: dyn_cast<<#class X#>>(<#Y *Val#>)
   // CHECK-CC1: sort(<#RandomAccessIterator first#>, <#RandomAccessIterator last#>
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:16:9 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:16:9 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
   // CHECK-CC2: getAs<<#typename T#>>()
 )
   
index 85292e4d3076c2e8177df949dae175387166a20a..6838de36e84645e58bc2c5f4b5bf562a1b25d7d8 100644 (file)
@@ -3,6 +3,6 @@ void f(float x, float y...);
        
 void test() {
   ::
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:5:5 %s -o - | FileCheck -check-prefix=CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:5:5 %s -o - | FileCheck -check-prefix=CC1 %s
   // CHECK-CC1: f(<#int i#>{#, <#int j#>{#, <#int k#>#}#})
   // CHECK-CC1: f(<#float x#>, <#float y#><#, ...#>)
index 20d26f2f773a451e4e227599858e81f3913bd161..0ba2f065c4ea1fb4135c197684b19c1bb144816b 100644 (file)
@@ -13,9 +13,9 @@ struct Point {
 };
 
 void test(struct Point *p) {
-  // RUN: clang-cc -fsyntax-only -code-completion-macros -code-completion-at=%s:17:14 %s -o - | FileCheck -check-prefix=CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-macros -code-completion-at=%s:17:14 %s -o - | FileCheck -check-prefix=CC1 %s
   switch (p->IDENTITY(color)) {
-  // RUN: clang-cc -fsyntax-only -code-completion-macros -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC2 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-macros -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC2 %s
     case 
   }
   // CC1: color
index c9ac58f295d4d026329e08b44114f5fc213a2808..f41c509c8809da374902ec82829bfcf90468ea51 100644 (file)
@@ -6,7 +6,7 @@ struct Point {
 
 void test(struct Point *p) {
   p->
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:8:6 %s -o - | FileCheck -check-prefix=CC1 %s
   // CHECK-CC1: x
   // CHECK-CC1: y
   // CHECK-CC1: z
index d03180b182de798b82e05837e80f10a44e5a8fc7..271e9a0f1e04e0c04d0f78b6aaecab962e3bd333 100644 (file)
@@ -27,7 +27,7 @@ public:
 
 void test(const Proxy &p) {
   p->
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:29:6 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:29:6 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
   // CHECK-CC1: member1 : 0 : [#Base1::#]member1
   // CHECK-CC1: member1 : 0 : [#Base2::#]member1
   // CHECK-CC1: member2 : 0 : [#Base1::#]member2
index c1f34178c3ecbba3da8c176093ddedd1d947e52c..45116621474c31da19fd7001e51ac7dba0a6f87e 100644 (file)
@@ -11,7 +11,7 @@ namespace N2 {
   namespace I1 { }
   
   namespace New =
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:13:18 %s -o - | FileCheck -check-prefix=CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:13:18 %s -o - | FileCheck -check-prefix=CC1 %s
   // CHECK-CC1: I1 : 1
   // CHECK-CC1: I4 : 1
   // CHECK-CC1: I5 : 1
index ff90b85b5a57f1720a5b8ef572cd5e57aa6ae646..8a421122b0a6c143aae148621e03d7630ad50daa 100644 (file)
@@ -8,7 +8,7 @@ namespace N2 {
   namespace I1 { }
   
   namespace
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:10:12 %s -o - | FileCheck -check-prefix=CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:12 %s -o - | FileCheck -check-prefix=CC1 %s
   // CHECK-CC1: I1 : 0
   // CHECK-CC1-NEXT: I5 : 0
   
index 8da7c37d95e9d95825e81e653d9b6bff3f7625e8..643418accd070f47fec1d13bdb34d8b49fc7ed7a 100644 (file)
@@ -10,7 +10,7 @@ namespace N {
 }
 
 N::
-// RUN: clang-cc -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CC1 %s
+// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:4 %s -o - | FileCheck -check-prefix=CC1 %s
 // CHECK-CC1: A : 0
 // CHECK-CC1: B : 0
 // CHECK-CC1: M : 0
index 58fc4f5d68f2e1ee5de1987bf2851a1a2f75111f..a1ae271bbead418316f1acbc5de729537368e6bc 100644 (file)
@@ -23,13 +23,13 @@ void func() {
   Foo *obj = [Foo new];
   [obj xx];
 }
-// RUN: clang -cc1 -fsyntax-only -code-completion-at=%s:23:19 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
+// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:23:19 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
 // CHECK-CC1: categoryClassMethod : 0
 // CHECK-CC1: classMethod1:withKeyword: : 0
 // CHECK-CC1: classMethod2 : 0
 // CHECK-CC1: new : 0
 // CHECK-CC1: protocolClassMethod : 0
-// RUN: clang -cc1 -fsyntax-only -code-completion-at=%s:24:8 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
+// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:24:8 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
 // CHECK-CC2: categoryInstanceMethod : 0
 // CHECK-CC2: instanceMethod1 : 0
 // CHECK-CC2: protocolInstanceMethod : 0
index 20ba5ba3fbc83f1b0e3972b606f1292f578cabf1..eef7fbd17ba5911a381e381849647f35e02c9429 100644 (file)
@@ -8,7 +8,7 @@ void f() {
   typedef float Float;
   
   operator
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:10:11 %s -o - | FileCheck -check-prefix=CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:11 %s -o - | FileCheck -check-prefix=CC1 %s
   // CHECK-CC1: Float : 0
   // CHECK-CC1: + : 0
   // CHECK-CC1: short : 0
index 680d6dc989c792ca8fae1e934146f0a44951c190..7f5a05ff75aa15f4b371a0420b0afe85c8bd94ab 100644 (file)
@@ -4,7 +4,7 @@ typedef struct t TYPEDEF;
 
 void foo() {
   int y;
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:6:9 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
   // CHECK-CC1: y : 0
   // CHECK-CC1: foo : 2
   // CHECK-NOT-CC1: y : 2
index 6d9c1eabd56178476626d0840adc4da8308f2189..554d38100b6d439372ce29c8a467dbb26837e5dc 100644 (file)
@@ -7,6 +7,6 @@ void X();
 void test() {
   enum X { x };
   enum
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:9:7 %s -o - | FileCheck -check-prefix=CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:9:7 %s -o - | FileCheck -check-prefix=CC1 %s
   // CHECK-CC1: X : 0
   // CHECK-CC1: Y : 2
index 17c9707db1a32166fbed52edf633264c3fa99333..17fb0140a0c9ae5e5e063c2ca5b288694f380ab8 100644 (file)
@@ -15,7 +15,7 @@ namespace N {
   
   void test() {
     class
-    // RUN: clang-cc -fsyntax-only -code-completion-at=%s:17:10 %s -o - | FileCheck -check-prefix=CC1 %s
+    // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:17:10 %s -o - | FileCheck -check-prefix=CC1 %s
     // CHECK-CC1: Y : 2
     // CHECK-CC1: Z : 2
     // CHECK-CC1: A : 4
index ff5611823d728f3ddef92f2b395e8d4cc848ce30..32a7b2125fec8426788454418b81ce866bd8db5c 100644 (file)
@@ -17,10 +17,10 @@ namespace std {
 void f() {
   std::vector<int> v;
   v.foo();
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:18:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:18:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
   // CHECK-CC1: allocator<<#typename T#>>
   // CHECK-CC1-NEXT: vector<<#typename T#>{#, <#typename Alloc#>#}>
-  // RUN: clang-cc -fsyntax-only -code-completion-at=%s:19:5 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
+  // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:19:5 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
   // CHECK-CC2: foo
   // CHECK-CC2: in_base
   // CHECK-CC2: stop
index 5af3c4b6d6c98fe7b38b9e74d4dd0d8e3ad23b3d..c7706354183d176cfba3e464678384e59e06007e 100644 (file)
@@ -2,10 +2,10 @@
 
 struct 
 
-// RUN: clang-cc -fsyntax-only -code-completion-at=%s.h:4:8 -o - %s | FileCheck -check-prefix=CC1 %s
+// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s.h:4:8 -o - %s | FileCheck -check-prefix=CC1 %s
 // CHECK-CC1: X : 1
 // CHECK-CC1-NEXT: Y : 1
-// RUN: clang-cc -fsyntax-only -code-completion-at=%s:3:8 -o - %s | FileCheck -check-prefix=CC2 %s
+// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:3:8 -o - %s | FileCheck -check-prefix=CC2 %s
 // CHECK-CC2: X : 1
 // CHECK-CC2: Xa : 1
 // CHECK-CC2: Y : 1
index 57383d5db42795ff0cb177d74f4af47f4617cee8..f8f31d8c1a0d1d243e14f370ed7872a19630fc7f 100644 (file)
@@ -12,7 +12,7 @@ namespace N2 {
   
   void foo() {
     using namespace
-    // RUN: clang-cc -fsyntax-only -code-completion-at=%s:14:20 %s -o - | FileCheck -check-prefix=CC1 %s
+    // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:14:20 %s -o - | FileCheck -check-prefix=CC1 %s
     // CHECK-CC1: I1 : 2
     // CHECK-CC1: I4 : 2
     // CHECK-CC1: I5 : 2
index 305afda2e6dd4a5f38fbe8dae2345b376d5e1e7d..ba4c9ce507d547e12b0294675ca7e129afae0beb 100644 (file)
@@ -14,7 +14,7 @@ namespace N2 {
     int N3;
     
     using
-    // RUN: clang-cc -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CC1 %s
+    // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:16:10 %s -o - | FileCheck -check-prefix=CC1 %s
     // CHECK-CC1: I1 : 2
     // CHECK-CC1: I4 : 2
     // CHECK-CC1: I5 : 2
index 3b158241c68e117129635e8f3f2a114c6a0f1ce3..a1ec633f02a39d643b2a0ce4c4f3f365cf0fa328 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 int array[] = {1, 2, 3, 4, 5};
 
index dc2ebb75d598349cfaedacc9f9778908a5131e1f..73e31e75e97952366364acc547d7d8090c78d5bf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 // PR1990
 
 struct test {
index fc69e58ed3cf9594c908e4acfed85240b142786f..1549b7248b8145a2b499bf9cdeed3e2421ed2b59 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 struct test {
   unsigned a:1;
index a6816f5de8ff462e983c164c4606e120269de449..1103e9ba587e69fd8988cc7e0abc902484c8c57f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | grep "\$0,\$1"
+// RUN: %clang_cc1 -emit-llvm < %s | grep "\$0,\$1"
 
 void f() {
   int d1, d2;
index 6266b504fd0486ffe797d55201271eb130a00c5c..0452325a790d01263ce97a7f70ade5c9fe7f7374 100644 (file)
@@ -1,7 +1,7 @@
 // RUN: rm -f %t1.bc
-// RUN: clang-cc -DPASS %s -emit-llvm-bc -o %t1.bc
+// RUN: %clang_cc1 -DPASS %s -emit-llvm-bc -o %t1.bc
 // RUN: test -f %t1.bc
-// RUN: not clang-cc %s -emit-llvm-bc -o %t1.bc
+// RUN: not %clang_cc1 %s -emit-llvm-bc -o %t1.bc
 // RUN: not test -f %t1.bc
 
 void f() {
index 59a3f388495189c74567ca005dc7c823dd35e35e..ac132604399e62dc035afc1c184e22883acc3bce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
 int g0, f0();
 int f1(), g1;
index 4aa28f8eb484a5bb68b3fc2b613343daac05ff22..33bd800456f9974a49eb4ac8fa981fcfb7282224 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=i686-apple-darwin9 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o - %s | FileCheck %s
 
 struct et7 {
   float lv7[0];
index 437a4be156b758e336e3e33f41b95579beb42bdd..76b942d5ad035c5011388ee1e42d5a5e907c8d05 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 int main () {
   struct foo {
index 18e8982832e0c86cbabbb5ef37a489f11efb7291..a4bea0e06cd885945a91490c6c292b460de79cd9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
 int x() { return 1; }
 
index b225a14e6f0afed9c65cf2be27c66876393df5bd..8c719bb63cc39a3df13f21f432f69b21fc07b287 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt --std-compile-opts | llvm-dis > %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt --std-compile-opts | llvm-dis > %t
 // RUN: grep "ret i32" %t | count 2
 // RUN: grep "ret i32 0" %t | count 2
 // <rdar://problem/6113085>
index 9fce0aedce417cb5f5d22da8715bea0dc2a260e4..546590eba64c5f079876e21a0ce8d322dd1fd7a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 // <rdar://problem/6108358>
 
 /* For posterity, the issue here begins initial "char []" decl for
index d2dcc04bf584771c2e635a168917e8c93c1f7c58..130ad6ba46cce7ee31d6488a51db6baf5f08714c 100644 (file)
@@ -1,9 +1,9 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep "@pipe()" %t | count 0
 // RUN: grep '_thisIsNotAPipe' %t | count 3
 // RUN: grep 'g0' %t | count 0
 // RUN: grep '_renamed' %t | count 2
-// RUN: clang-cc -DUSE_DEF -emit-llvm -o %t %s
+// RUN: %clang_cc1 -DUSE_DEF -emit-llvm -o %t %s
 // RUN: grep "@pipe()" %t | count 0
 // RUN: grep '_thisIsNotAPipe' %t | count 3
 // <rdr://6116729>
index 0ce4ba66ca12b5650a31272ad7e0d025989e6923..de062631f93bb827d8e1bbaaeb2b974f8f074656 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis | grep "ret i32 1" | count 3
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis | grep "ret i32 1" | count 3
 // <rdr://6115726>
 
 int f0() {
index bd4d8f8c18e72eb7e4f3b8a922e739c07a73f388..dbfc107da5cc8e8ff14bb6fb10eee61303cd804c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 // <rdar://problem/6122967>
 
 int f0(void *a, void *b) {
index 3435384a5829da32e169277d0c149755488e988d..740f48a8baa36aae18e0eb40ef66f72bcda57c58 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 typedef short T[4];
 struct s {
index fa9b1970f7fd31c7f5b57c7379f731b203ac6ba8..f285cca094ed9c380973f56bb1adaa8f13b1c9cd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @protocol P0
 @end
index 2526dd9289c8ba536aeea375598488fd09c00bf2..853e6bd174b62d7042abf2e4e26c83971a4fc38e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // PR2817
 
 void f0(void) {
index d54bf287d2e2acb3d0b04d311990b5e275d39b62..167ad299ce61b7ba5a485a52ed8ed3fa1dcfdea8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | grep "store i32 1"
+// RUN: %clang_cc1 -emit-llvm -o - %s | grep "store i32 1"
 // PR3150
 
 int a() {return 1||1;}
index 1c1028b4ea981deccce991ff1bf20e4c428c780f..af912e2dc54ac471b7e31c432bc1b70f1f62f868 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -S -g -o %t.s %s
+// RUN: %clang_cc1 -S -g -o %t.s %s
 
 // FIXME: This test case can be removed at some point (since it will
 // no longer effectively test anything). The reason it was causing
index f0aaafda60ea9af8f43149736934c89f7f4296e7..407aea2b77fa7dc884d0d02be41c1e54cadb9a46 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -O1 < %s | grep "ret i32 0"
+// RUN: %clang_cc1 -emit-llvm -O1 < %s | grep "ret i32 0"
 
 int a(void) {
   return ++(struct x {unsigned x : 2;}){3}.x;
index c6b179126e033cbe6b4a402effa065655e14e8cb..6a8bf01ba86fce5ddbf7ead9fd907cc06f30685d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -g -o %t  %s -emit-llvm-bc && llc %t -o %t.s
+// RUN: %clang_cc1 -g -o %t  %s -emit-llvm-bc && llc %t -o %t.s
 # 1 "a.c"
 # 1 "a.c" 1
 # 1 "<built-in>" 1
index 8afc656843ea617b7e338c703edb99bafe0fb607..3e616d9bea46bf8053ab8adcc498214792e7b540 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - -triple i386-unknown-unknown | grep call | grep x86_stdcallcc
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple i386-unknown-unknown | grep call | grep x86_stdcallcc
 void abort(void) __attribute__((__noreturn__));
 typedef void re_string_t;
 typedef void re_dfa_t;
index e46e83b9478c3ad665d6a4b5be0005818c386607..3464fde685447c75da6a0af0d84c77d7b5175e1b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o -
+// RUN: %clang_cc1 -emit-llvm %s -o -
 // PR4281
 
 typedef struct {
index d51a4a47b478847db16c3329548aa05ce9917112..17d6fdf5d89f68b45a01030607e2f14d7605b99b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -o %t -emit-llvm -verify
+// RUN: %clang_cc1 %s -o %t -emit-llvm -verify
 // PR4289
 
 struct funcptr {
index 8d1831a4f3ce2c952a2989a8fafa69743bc7ac5c..8ccd7bc4ec3384006c63f37d14c7992231829292 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | grep "zeroinitializer, i16 16877"
+// RUN: %clang_cc1 -emit-llvm < %s | grep "zeroinitializer, i16 16877"
 // PR4390
 struct sysfs_dirent {
  union { struct sysfs_elem_dir {} s_dir; };
index da49afedbc7a9c23bd8d94a78c9d09e26c9cf59d..3ccb2630a49cb0e5dcdfc58d3087d4a153d0f55a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -S -g -o %t.s %s
+// RUN: %clang_cc1 -S -g -o %t.s %s
 void foo() {
      int i = 0;
      i = 42;
index 40e071bd19a091cda9b935ac8c81b39269398fb8..7f489bcff1fc3d3b84012b76c39ea1e88dfe12b8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s
+// RUN: %clang_cc1 -emit-llvm < %s
 
 void sum1(int rb) {
   typedef unsigned char imgrow[rb];
index b994c300024616f87947de2bf704742272215e59..fe96126c0581a9e51d95ac299ace2223f757cc49 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 typedef struct a b;
 
 b* x;
index 4dec65fd5472f1992997a6a12d715af014980d07..d05aef35793ead56113cbcfc2c8fec9456139c23 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -O3 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -O3 -emit-llvm -o - %s | FileCheck %s
 // PR2001
 
 /* Test that the result of the assignment properly uses the value *in
index 95a4c6d80fc32379cad1d77513b9a7da9531a7e4..3920dfdec2472acea811946bc50c6d105797c8e7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o -
+// RUN: %clang_cc1 -emit-llvm %s -o -
 void f()
 {
         void *addr;
index 6a5b0e92f660ffe24f484efae76d0dcab0c67bd1..d6c2f36aa503b8b96faf1fc8eb23025e92ae836e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 // PR2643
 
 void foo() {
index e152c52585278926777491abef16829cdf895dde..f32d6c5f1445122c375e5d5f69bd1e9d7a85cbcc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // PR2743
 // <rdr://6094512>
 
index e488eeb37f67775129d7269ec057653fa70b059c..dbec6509bd252e8dabe69e5ce4e8f0f4b0c61199 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -emit-llvm %s -o -
+// RUN: %clang_cc1 -emit-llvm %s -o -
 
 int a = 2.0 ? 1 : 2;
index 14608137188e9b835ce66d6540ae4aef0f0e01d7..8b8282fb80b9dc90875904515113e138b946b8af 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -emit-llvm %s -o - | grep 'declare i32 @printf' | count 1
-// RUN: clang-cc -O2 -emit-llvm %s -o - | grep 'declare i32 @puts' | count 1
-// RUN: clang-cc -ffreestanding -O2 -emit-llvm %s -o - | grep 'declare i32 @puts' | count 0
+// RUN: %clang_cc1 -emit-llvm %s -o - | grep 'declare i32 @printf' | count 1
+// RUN: %clang_cc1 -O2 -emit-llvm %s -o - | grep 'declare i32 @puts' | count 1
+// RUN: %clang_cc1 -ffreestanding -O2 -emit-llvm %s -o - | grep 'declare i32 @puts' | count 0
 
 int printf(const char *, ...);
 
index a9dc744589268f7d4630c8f0f2f3d2eecabdacc8..7f6d979492c4e7f601c50b6de15d9d8cfe5c5802 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o %t %s
 // RUN: grep '@g0 = internal global %.truct.s0 { i32 3 }' %t | count 1
 
 struct s0 {
index 24c42f649bbe2133b140e649fde13a602c4318cb..f77737e0f7707287c8bfcdb687f7d4e7017a46de 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -O1 -triple=x86_64-gnu-linux | grep "i64 -1"
+// RUN: %clang_cc1 -emit-llvm %s -o - -O1 -triple=x86_64-gnu-linux | grep "i64 -1"
 
 // PR3709
 long long a() { return (long long)(int*)-1;}
index bc514bf4dfe22eb74752962adb8247835e8add6e..3975ed0c138a6ccd49f8c8fe966893a1136b99e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o %t
 // RUN: grep "struct.object_entry = type { i8, \[2 x i8\], i8 }" %t
 
 struct object_entry {
index 5d864084b012eb9db093e03754be4a199c059ffd..efd8520553987b7a05ecb047f06e7740c9125f64 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -verify | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -verify | FileCheck %s
 
 // CHECK: @foo.p = internal global i8 0, align 32
 char *foo(void) {
index 2fba5ecd7dcaf725d8ba96b06c25f1df25658505..076c2f16fe6f34fc357f98863156c6243dabd602 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s
+// RUN: %clang_cc1 -emit-llvm < %s
 
 volatile unsigned char* const __attribute__((address_space(1))) serial_ctrl = 0x02;
 
index 79d19ed6b6ba2522934e69a5040360f10aecb5c0..37d9c7bc58f5c012c9571a2135f6885118842582 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | grep "internal addrspace(1) global i32 1"
+// RUN: %clang_cc1 -emit-llvm < %s | grep "internal addrspace(1) global i32 1"
 
 typedef int a __attribute__((address_space(1)));
 a* x = &(a){1};
index b041cf55d0b0061f2a1d91041a42798f222e3c87..61d88f9e75652d59d31a54dc9b8b845dc58d7d6b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm < %s -o - | FileCheck %s
 // CHECK:%struct.S = type { i32, i32 }
 // CHECK:define void @test_addrspace(%struct.S addrspace(1)* %p1, %struct.S addrspace(2)* %p2) nounwind
 // CHECK:  [[p1addr:%.*]] = alloca %struct.S addrspace(1)*       ; <%struct.S addrspace(1)**> [#uses=3]
index 5576e55b63fabd5b09937177273589bdbe39f0ca..198fd22a3a74daa047cde9f25ebddd4a0b6b323d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 // CHECK: addrspace(1)
 // CHECK: addrspace(2)
 // CHECK: addrspace(1)
index 567757fe667047120c35431ec2040c597c1d6df2..090f4a104b05246627be48f29946a4a4ae47a0c3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 // CHECK: addrspace(1)
 // CHECK: addrspace(2)
 // CHECK: addrspace(1)
index 31df018206b5d82d2e62abbb0ebd12df822c3a3d..a1906c0c00597fcd036cc294c98403e026681c13 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 // CHECK: addrspace(2)
 // CHECK: addrspace(3)
 // CHECK: addrspace(1)
index 8536f161533beedfe7b427d3cfbe5e0f332b330e..5b5891955714818a025eb782e0b666e178727121 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc -emit-llvm < %s | grep '@foo.*global.*addrspace(1)'
-// RUN: clang-cc -emit-llvm < %s | grep '@ban.*global.*addrspace(1)'
-// RUN: clang-cc -emit-llvm < %s | grep 'load.*addrspace(1)' | count 2
-// RUN: clang-cc -emit-llvm < %s | grep 'load.*addrspace(2).. @A'
-// RUN: clang-cc -emit-llvm < %s | grep 'load.*addrspace(2).. @B'
+// RUN: %clang_cc1 -emit-llvm < %s | grep '@foo.*global.*addrspace(1)'
+// RUN: %clang_cc1 -emit-llvm < %s | grep '@ban.*global.*addrspace(1)'
+// RUN: %clang_cc1 -emit-llvm < %s | grep 'load.*addrspace(1)' | count 2
+// RUN: %clang_cc1 -emit-llvm < %s | grep 'load.*addrspace(2).. @A'
+// RUN: %clang_cc1 -emit-llvm < %s | grep 'load.*addrspace(2).. @B'
 
 int foo __attribute__((address_space(1)));
 int ban[10] __attribute__((address_space(1)));
index f8836e6f605fe1104e2529678e16677dff86a6e4..f2e87a5dafbc6f79cf311feffb6c763304160d89 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-pc-linux-gnu -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s
 // RUN: grep '@g0 = common global i32 0' %t
 // RUN: grep '@f1 = alias void ()\* @f0' %t
 // RUN: grep '@g1 = alias i32\* @g0' %t
index afbe1d5dd0d0b7165d84426b84a6d03ba062bc54..b839ee14a10be4234f8b6526d3c9710f52811981 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | grep "align 16" | count 2
+// RUN: %clang_cc1 -emit-llvm < %s | grep "align 16" | count 2
 
 typedef struct __attribute((aligned(16))) {int x[4];} ff;
 
index 71c275018ed56c921c375b2759d31e6eef4d24c9..64d0c08356870803f2e018df5313afe8faf5a34c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s
 // RUN: grep 'ret i32 4' %t
 
 enum e0 { E0 };
index 945c1f2e668dca74a8881337d65a43f6eb151974..fb61b0f78497a3d7ce8817c1046937b2d077de38 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple armv7-apple-darwin9 -target-abi apcs-gnu -emit-llvm -w -o - %s | FileCheck -check-prefix=APCS-GNU %s
-// RUN: clang-cc -triple armv7-apple-darwin9 -target-abi aapcs -emit-llvm -w -o - %s | FileCheck -check-prefix=AAPCS %s
+// RUN: %clang_cc1 -triple armv7-apple-darwin9 -target-abi apcs-gnu -emit-llvm -w -o - %s | FileCheck -check-prefix=APCS-GNU %s
+// RUN: %clang_cc1 -triple armv7-apple-darwin9 -target-abi aapcs -emit-llvm -w -o - %s | FileCheck -check-prefix=AAPCS %s
 
 // APCS-GNU: define arm_apcscc signext i8 @f0()
 // AAPCS: define arm_aapcscc signext i8 @f0()
index 05eb2e211f24deb77240c2d7f2ae3536b9783346..a7ca0b5332b02e49a5f37dd4d8962e609c43f177 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple armv6-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple armv6-unknown-unknown -emit-llvm -o %t %s
 
 void test0(void) {
        asm volatile("mov r0, r0" :: );
index 294dabfbbb5d9717a7c3cb2b926bc93744aa9f90..0b401ea8190c27e22a65b4a2daad94f75ef32c82 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 void f() {
  int a[2];
index 72b23b150592e1caf3d7f02c4633a580f12d0220..9d73608a4c18de5f5de843d1cfc098fdb3285414 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t -triple i386-pc-linux-gnu -O2
+// RUN: %clang_cc1 -emit-llvm %s -o %t -triple i386-pc-linux-gnu -O2
 // RUN: not grep "load" %t
 
 // <rdar://problem/6841383>
index 8ddd2acaf87c0c35c5af17e5563e8d2fc85fd780..407660927100705cde149715b7120363a22ca0db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm %s -o %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o %t
 // RUN: grep "load i8\*\*\* %p.addr"  %t | count 1
 // XFAIL: *
 
index 41951b8ac21f9b0f108c9ca86b10fc411c4b4064..df593d79fa17ceb84c1289e4bf959720dcfc89b6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm %s -o %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o %t
 void t1(int len) {
   __asm__ volatile("" : "=&r"(len), "+&r"(len));
 }
index 355f7b83231e2f0866e0261808b6f1591b104db6..ff304f57f01de5ce712aeb7f0d5c6b64be00dfe9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - -triple=i686-apple-darwin9 > %t1
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-apple-darwin9 > %t1
 // RUN: grep @llvm.atomic.load.add.i32 %t1 | count 3
 // RUN: grep @llvm.atomic.load.sub.i8 %t1 | count 2
 // RUN: grep @llvm.atomic.load.min.i32 %t1
index 9105ededa20c0370ac42e483b6379b7b7ae92a6c..7c2053d7ac3569fab3f80843b5fea540dcbf56b0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 // <rdar://problem/6827047>
 void f(void* arg);
index e0c813399fb95c5f713e7499072e8223edbb7b3b..66caa2b38fac9436b2b23c83a90d2139dfbbceb3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -g -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -emit-llvm -o %t %s
 // RUN: not grep 'call void @llvm.dbg.func.start' %t
 
 void t1() __attribute__((nodebug));
index 719d6eb88fb3709c118d9e9a52e4dbea77e7ed00..dbca71ff5fb27d983888d9f196f13e2a098923cf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -g -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -emit-llvm -o %t %s
 // RUN: grep 'noinline' %t
 
 void t1() __attribute__((noinline));
index 5537ec2f4cef78853f7878b812531de829f8297d..bc92b9435b32ad7bfc14271ca05ad31399fec128 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep '@llvm.used = .*@g0' %t
 // RUN: grep '@llvm.used = .*@f0' %t
 // RUN: grep '@llvm.used = .*@f1.l0' %t
index 29672c2ecb3d29065d5a00e5d5e7491e94070708..68bc73daec975f85f7c240b5d003dd86329c3d19 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -triple i386-linux-gnu -o %t %s
+// RUN: %clang_cc1 -emit-llvm -triple i386-linux-gnu -o %t %s
 // RUN: FileCheck --input-file=%t %s
 
 // CHECK: @t5 = weak global i32 2
index 575a9fb766cfdbbc363b42d315345c3976cb482b..b8ab61339cf696dcbb1357b2a960e4dbee5ac8fa 100644 (file)
@@ -4,12 +4,12 @@
 /* Check that we get one load for each simple assign and two for the
    compound assign (load the old value before the add then load again
    to store back). Also check that our g0 pattern is good. */
-// RUN: clang-cc -triple i386-unknown-unknown -O0 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -O0 -emit-llvm -o %t %s
 // RUN: grep 'load ' %t | count 5
 // RUN: grep "@g0" %t | count 4
 
 // Check that we got the right value.
-// RUN: clang-cc -triple i386-unknown-unknown -O3 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -O3 -emit-llvm -o %t %s
 // RUN: grep 'load ' %t | count 0
 // RUN: grep "@g0" %t | count 0
 
index 7459614a1254aefe1516d7496eeccc3fa78fe243..bee4e7d3a059b9558f8a78b1624e7c305fb69236 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 typedef struct { unsigned int i: 1; } c;
 const c d = { 1 };
 
index 9cd79d3d58707aabd31b2f3af0723df893b5d3c8..dea5e43e0f1c6d855fc913f1b290b7642237a092 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o %t -O3
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o %t -O3
 // RUN: grep "ret i32" %t | count 4
 // RUN: grep "ret i32 1" %t | count 4
 
index ae5a74aab6f0ac6b4cfe10f8b6ece493aeb44e1a..71b4de8beff596aa9c1c3fdf48f5982d1c889f26 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t -fblocks
+// RUN: %clang_cc1 %s -emit-llvm -o %t -fblocks
 // RUN: grep "_Block_object_dispose" %t | count 17
 // RUN: grep "__copy_helper_block_" %t | count 16
 // RUN: grep "__destroy_helper_block_" %t | count 16
index c22e882f1b793e1ba659c549e40261c3a2b88d11..4e574dafec52aef08d42036925806763bdcf374d 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc -g %s -emit-llvm -o %t -fblocks
+// RUN: %clang_cc1 -g %s -emit-llvm -o %t -fblocks
 // RUN: grep "func.start" %t | count 4
-// RUN: clang-cc -g %s -triple i386-unknown-unknown -emit-llvm -o %t -fblocks -fblock-introspection
+// RUN: %clang_cc1 -g %s -triple i386-unknown-unknown -emit-llvm -o %t -fblocks -fblock-introspection
 // RUN: grep "v8@?0i4" %t | count 1
-// RUN: clang-cc -g %s -triple i386-unknown-unknown -emit-llvm -o %t -fblocks
+// RUN: %clang_cc1 -g %s -triple i386-unknown-unknown -emit-llvm -o %t -fblocks
 // RUN: grep "v8@?0i4" %t | count 0
 // 1 declaration, 1 bar, 1 test_block_dbg and 1 for the block.
 // XFAIL: *
index 61522fd2da77f5c89549d851a94640548eb713f1..79ac41dcd5d5ec20078ff531dbfc1bf5d246ca46 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-llvm -o - -triple x86_64-apple-darwin10
-// RUN: clang-cc -emit-llvm -o - -triple i386-apple-darwin10 
+// RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin10
+// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin10 
 typedef int __attribute__((aligned(32)))  ai;
 
 void f() {
index 4006b715f4640523339de1a0c5aa6bd7880d74ec..3557b48053ffe85d9d4de14354f9a8f9fc4014d1 100644 (file)
@@ -1,7 +1,7 @@
 // FIXME: We forcibly strip the names so that the test doesn't vary between
 // builds with and without asserts. We need a better solution for this.
 
-// RUN: clang-cc -fblocks -triple x86_64-apple-darwin10 -emit-llvm-bc -o - %s | opt -strip | llvm-dis > %t
+// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin10 -emit-llvm-bc -o - %s | opt -strip | llvm-dis > %t
 // RUN: grep '%6 = call i32 (...)\* @rhs()' %t | count 1
 // RUN: grep '%7 = getelementptr inbounds %0\* %1, i32 0, i32 1' %t | count 1
 // RUN: grep '%8 = load %0\*\* %7' %t | count 1
index eddf25c74a837f6e9af7bf3e24070b1143d26e7c..0ef10c14e009207f194bd28a7087d0217678fce8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o %t -fblocks
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o %t -fblocks
 void (^f)(void) = ^{};
 
 // rdar://6768379
index 50990a47c2857063d76a3ad5a43ceb07ba786ad1..cb2d1dbd024d314e661f4e09eeca4186408d4bfd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 // From GCC PR19331
 struct SysParams
index 4df81bb82d7c15cb0a3e2924a7c48fd879dd1117..8bde837ed3ae7339dc3103587eecd0d7d1480ef3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | grep i1 | count 1
+// RUN: %clang_cc1 -emit-llvm < %s | grep i1 | count 1
 // All of these should uses the memory representation of _Bool
 struct teststruct1 {_Bool a, b;} test1;
 _Bool* test2;
index 7d331ed07eb08e2c6306164c94686778de20632b..1a8f127b868f55b7a70624a3f5fdd18ea95cd141 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | grep i1 | count 1
+// RUN: %clang_cc1 -emit-llvm < %s | grep i1 | count 1
 
 // Check that the type of this global isn't i1
 _Bool test = &test;
index 73aab8db7cb17ca2580078816970dc82d2a4628a..8c563194e09324cf8b50261d251db52c2a6f8ba0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 int testBoolAssign(void) {
   int ss;
index 184e9676edaa934fcec2f0ac997a45f279ead2fc..944aac3f521faeb4cb985dae8f0188d93aa70356 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple arm-unknown-unknown -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple arm-unknown-unknown -emit-llvm -o - %s | FileCheck %s
 
 // CHECK: declare arm_aapcscc i32 @printf(i8*, ...)
 void f0() {
index ff08bd10835782ad5a202e33ea6762bd336317dc..5a0be2fb867f433a9a22b07878475300015fb044 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | grep 'cttz' | count 2
-// RUN: clang-cc -emit-llvm %s -o - | grep 'ctlz' | count 2
+// RUN: %clang_cc1 -emit-llvm %s -o - | grep 'cttz' | count 2
+// RUN: %clang_cc1 -emit-llvm %s -o - | grep 'ctlz' | count 2
 
 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);}
index f1d092502dc2d4840545182b3da23a5a9ea58006..a7b716b931c75c77b1e4cb698186c3b9b27f6c7c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-pc-linux-gnu -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s
 // RUN: grep '@llvm.memset.i32' %t
 // RUN: grep '@llvm.memcpy.i32' %t
 // RUN: grep '@llvm.memmove.i32' %t
index 8f7d2a1e443b437bb2e5a214e96d08b6c98df266..ae37c9dc8077935eb53c9f3f77ccbf2409aa8505 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep 'float 0x7FF8000000000000, float 0x7FF8000000000000, float 0x7FF8000020000000, float 0x7FF8000000000000, float 0x7FF80001E0000000, float 0x7FF8001E00000000, float 0x7FF801E000000000, float 0x7FF81E0000000000, float 0x7FF9E00000000000, float 0x7FFFFFFFE0000000' %t
 
 float n[] = {
index d0b5c2472de61a18b697fd231b463ef4dfec1130..0b71d8880623776a78a848aeab77fd1e4969e4ab 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | grep 'declare.*printf' | count 1
+// RUN: %clang_cc1 %s -emit-llvm -o - | grep 'declare.*printf' | count 1
 // PR3612
 
 int printf(const char *, ...);
index d8e58c4f6be702fea03e9152a1abcd78ceb2557b..f13b90eb9ed3f7856e1dc4ae3527147d0c8ec19c 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-llvm < %s | grep "llvm.returnaddress"
-// RUN: clang-cc -emit-llvm < %s | grep "llvm.frameaddress"
+// RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.returnaddress"
+// RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.frameaddress"
 void* a(unsigned x) {
 return __builtin_return_address(0);
 }
index 56872f7434eeef0f3d50baa0bc2ae21dc105edb7..6fa77667bdf7de72f42e0c718220e1d9bb1153fc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm < %s -o - | FileCheck %s
 
 void a() { __builtin_unwind_init(); }
 
index d1fdebbe828706cc9f39f85f1d98950dd16d2a3b..93253c5a8a487360d6d3ee541a9a6f4ad623eeff 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -emit-llvm < %s -o - | grep "llvm.memcpy"
+// RUN: %clang_cc1 -emit-llvm < %s -o - | grep "llvm.memcpy"
 
 char* x(char* a, char* b) {return __builtin_memcpy(a, b, 4);}
index c82ecde1ff39071dad65a8f53f7fa07a2ebe22b0..2eadd7f884d8952bebfdd8cb403e2c7cc5bd9d8c 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -DUSE_64 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
-// RUN: clang-cc -DUSE_ALL -triple x86_64-unknown-unknown -fsyntax-only -o %t %s
+// RUN: %clang_cc1 -DUSE_64 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -DUSE_ALL -triple x86_64-unknown-unknown -fsyntax-only -o %t %s
 
 #ifdef USE_ALL
 #define USE_3DNOW
index 11bcc14249aceb95857bc4543013f0e800ae4574..4fa4785755b987fb8d60c11e679c0b88bdd92ff5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: not grep __builtin %t
 
 int printf(const char *, ...);
index 9a3ae610282e0db9026434b2c46450e2d72d8a1d..f365844c6d43c03836290bd1ba9756eba968cf9f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | grep 'shufflevector' | count 1
+// RUN: %clang_cc1 -emit-llvm < %s | grep 'shufflevector' | count 1
 typedef int v4si __attribute__ ((vector_size (16)));
 
 v4si a(v4si x, v4si y) {return __builtin_shufflevector(x, y, 3, 2, 5, 7);}
index 2cf4036cb6753182f8b8862f901ee6e1b6ee05e4..4fbeb7b87e225870d9dd124b442d4e39a55f1a62 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep "hello" %t | count 3
 // RUN: grep 'c"hello\\00"' %t | count 2
 // RUN: grep 'c"hello\\00\\00\\00"' %t | count 1
index 6fb2b116d47b7386e4ffb0c873c996be5ca9f8f1..5f340c5bb670d75861303c69666318aa53f489f6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 extern void go(const void *p);
 float v[2] = { 0.0, 1.0 };
index a78dfdaf6502a674b370b0082a1427154473bbcb..1f0977f0398acb22ad3d421d6f6a2b8604c58d96 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 #define CFSTR __builtin___CFStringMakeConstantString
 
 void f() {
index ceefeb9e832c50f4d895f1dd7460876f9b4da546..c760f5dcf5ebb1476a9d918c249e8092a320d53d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 typedef const struct __CFString * CFStringRef;
 
index 3954d85de2b007ce31a1fbb797785b19488636c8..72a1a6c751a9b33c2a855119f8421fe63442dc76 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -O3 -emit-llvm %s -o %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -O3 -emit-llvm %s -o %t
 // RUN: grep "ret i32 9" %t
 
 struct s0 {
index 6a0d3d628c549e9ca34a623b15ce2360195e4d8c..8d9c68d074efadf968247a73cbc44e1af781cc18 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s
+// RUN: %clang_cc1 -emit-llvm < %s
 
 int main(void)
 {
index ef0436744dae5e49374e92ecd9023fd5583b0a18..4b995dbfef2e0de99c177044ca7357cb05fc05bf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc < %s -emit-llvm
+// RUN: %clang_cc1 < %s -emit-llvm
 
 int* a = &(int){1};
 struct s {int a, b, c;} * b = &(struct s) {1, 2, 3};
index 47eb3a6e57b69b7b1bbbc69db0cb2faa2437edd2..63ba69460c317351f4814825bdc88e807db5ed9a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc < %s -emit-llvm -triple i686-pc-linux-gnu > %t
+// RUN: %clang_cc1 < %s -emit-llvm -triple i686-pc-linux-gnu > %t
 // RUN: grep "div i32" %t
 // RUN: grep "shl i32" %t
 
index c54600705330b7dd69b4c8945e2583d6ada65a97..960b2e8b04b8ffb3da082a12c7902dcebc2b0dfa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc < %s -emit-llvm
+// RUN: %clang_cc1 < %s -emit-llvm
 int A;
 long long B;
 int C;
index 1483d8af85928e20b08cf44371f768b768e2add8..f4ac81bf5934ac100160c17483222d07e06d34b2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 // PR1824
 
 int foo(int x, short y) {
index f55d59071a2fd9797bfa4c21e0496a0163147ec0..d079aafd787ade3ae6fb633e2ef99a5cc5db48d1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 float test1(int cond, float a, float b) {
   return cond ? a : b;
index 5f196ca5a43de892399c3d3eafcddf80eb8ca0d6..c7a53be02c58ac2fb1dd8e3b667b1827733789f5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-pc-linux-gnu -ffreestanding -verify -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -ffreestanding -verify -emit-llvm -o - %s | FileCheck %s
 
 #include <stdint.h>
 
index f8c35c676783cd040497efffc7b1bb2474372d8a..9d99f88c8a65091bb34b7c6196c79fa8dc687c08 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 int a() {
 A:;static void* a = &&A;
 }
index 3089ae48e6e7f864ec824c144f7ae29457398852..371cb179f9015ef30658dd6dc578b63e7c877ceb 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-llvm %s -o - 2>&1 | not grep warning
-// RUN: clang-cc -emit-llvm %s -o - | grep @b | count 1
+// RUN: %clang_cc1 -emit-llvm %s -o - 2>&1 | not grep warning
+// RUN: %clang_cc1 -emit-llvm %s -o - | grep @b | count 1
 
 int a, b;
 int *c1 = 1 < 2 ? &a : &b;
index b715201dc53bd87a393e1b2a8c446b6faef26319..a1f0e604d401e2c957bf935ce302180fef08147c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep -e "global_ctors.*@A" %t
 // RUN: grep -e "global_dtors.*@B" %t
 // RUN: grep -e "global_ctors.*@C" %t
index 330a17a10a43dcc2eb4df9885454f58243f69277..5aa0c5e294f1a7e724ba45de5668dfd38a0ba96c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 void f() {
   int a;
index 8391b9ccae196b26875fee0ea19f22b34552b2c5..25b7c10ad10fd07906d4ef83d304dcea6f0ce81d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 // Note: define CLANG_GENERATE_KNOWN_GOOD and compile to generate code
 // that makes all of the defaulted arguments explicit. The resulting
index e23869879fbd3a82b45fabb13bd81e41c67619e7..6e4cc0388e928c5c971e7c6fdbcf78575f9e2f8a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 enum E {};
 int v1 = E();
index 427e9c2e1b2098550135e8c995d670fab30c9755..b665321730f2697668413b4e04ae04dd7957c850 100644 (file)
@@ -1,10 +1,10 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix LSB %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix LSB %s
 
 // CHECK-LSB: @.str = private constant [8 x i8] c"string0\00"
 // CHECK-LSB: @.str1 = private constant [8 x i8] c"string1\00"
 // CHECK-LSB: @.str2 = internal constant [36 x i8] c"h\00e\00l\00l\00o\00 \00\92! \00\03& \00\90! \00w\00o\00r\00l\00d\00\00\00", section "__TEXT,__ustring", align 2
 
-// RUN: clang-cc -triple powerpc-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix MSB %s
+// RUN: %clang_cc1 -triple powerpc-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix MSB %s
 
 // CHECK-MSB: @.str = private constant [8 x i8] c"string0\00"
 // CHECK-MSB: @.str1 = private constant [8 x i8] c"string1\00"
index d7a54d64393790a863a7e7f3c74681e7e96c383a..a84d0b2c6aca5db6729872445d0040f3261b9aa9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -o %t -emit-llvm -g %s
+// RUN: %clang_cc1 -o %t -emit-llvm -g %s
 // RUN: FileCheck --input-file=%t %s
 
 // PR3023
index f7a001e47ce4ac0a5a1d98bc968175ed89465cbd..6d068134b5893d1ff0256b61f289fdbc1b6fc848 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm < %s | FileCheck %s
 
 // CHECK: @test1.x = internal constant [12 x i32] [i32 1
 // CHECK: @test2.x = internal constant [13 x i32] [i32 1,
index cc88cef0dcdfe8298fb87a01a80f7e0807a5217f..652238f06d56a6bdf499c74bdef2f9449aa254b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o %t
 // RUN: grep "{ i8\* null, i32 1024 }" %t
 // RUN: grep "i32 0, i32 22" %t
 
index 6e259058b7a1e689bae6e322e0dfa91b7de696c4..c7c2420ea77eb1b582958c71a88a51bf9dce1f92 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s -o %t
+// RUN: %clang_cc1 -emit-llvm < %s -o %t
 // RUN: grep 'dllexport' %t | count 1
 // RUN: not grep 'dllimport' %t
 
index 4fb3dcdee9bc269f8d69f64b6e8eef038316fbb1..1a2e02a78e6ba60cab34d9b6d32be8e5bd1a726e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 int bar();
 int test0() {
index 3e7927d8ef7928a8c883b12221a5066d1d27d5a0..deeb573a385affc680169812561faefd25790d40 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: not grep "@foo" %t
-// RUN: clang-cc -femit-all-decls -emit-llvm -o %t %s
+// RUN: %clang_cc1 -femit-all-decls -emit-llvm -o %t %s
 // RUN: grep "@foo" %t
 
 static void foo() {
index 8448b3ded798bc86cb79ee69c62641fd2607814e..a58354b772f3dff7ba0420a29f258b29e0d8e684 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s -o -
+// RUN: %clang_cc1 -emit-llvm < %s -o -
 // PR2419
 
 struct Mem {
index 172d308c2b0b807b03104fab123e41f12716f2f2..771fc6b182e3451612ce82a3835cb364fdca5961 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 6'
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 6'
 
 static enum { foo, bar = 1U } z;
 
index c1a5995dfc8db93a2a7db2c0f7dc56118567b592..d82cbf48d30a19eb26966f14ffbdb3d09e98618f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 // PR1895
 // sizeof function
index 88f8c242e8801436b7f54776357657e161b1d6e8..1d147a3b3e322656cf87aeb85e611aed828c539c 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc %s -x cl -emit-llvm -o - | not grep 'extractelement'
-// RUN: clang-cc %s -x cl -emit-llvm -o - | not grep 'insertelement'
-// RUN: clang-cc %s -x cl -emit-llvm -o - | grep 'shufflevector'
+// RUN: %clang_cc1 %s -x cl -emit-llvm -o - | not grep 'extractelement'
+// RUN: %clang_cc1 %s -x cl -emit-llvm -o - | not grep 'insertelement'
+// RUN: %clang_cc1 %s -x cl -emit-llvm -o - | grep 'shufflevector'
 
 typedef __attribute__(( ext_vector_type(2) )) float float2;
 typedef __attribute__(( ext_vector_type(4) )) float float4;
index 6a246db63515ddc20e811a4bb756d23ad58131aa..e322f77bdea107756f6471c93af5d2802fffa8a4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 typedef __attribute__(( ext_vector_type(4) )) float float4;
 typedef __attribute__(( ext_vector_type(2) )) float float2;
index e8de3e7f11fe17e88aa512a7ddc1f23a79b7ed4c..329f1095684279548d5e88043ab1bb70c5457382 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 int f() {
   extern int a;
index bf8f057c2a06f75eed868b9cb6462579a6b5b28e..36323502a41514e083542350dddc6fe33759d667 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
 
 struct { int x; int y[]; } a = { 1, 7, 11 };
 // CHECK: @a = global %0 { i32 1, [2 x i32] [i32 7, i32 11] }
index 4808e12fdfcc9c2a4195a4d3c4cf573f51982a52..0af8b69402020e0114a2dfe99527b3ecb78b012c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 
 // PR2360
index 68a48fc1041fc26773a7b6f16631d15a6905fa02..8c55a9671cd05d73bf69ce0651b32f7520c888aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
 struct frk { float _Complex c; int x; };
 struct faz { struct frk f; };
index b09b28b8d93d373e20e349e88d072bdb9aa2bd62..8ddaa28eed03db2a9fc5f694581d99862bb2cf69 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -Os -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -Os -o - %s | FileCheck %s
 // CHECK: define signext i8 @f0(i32 %x) nounwind
 // CHECK: define zeroext i8 @f1(i32 %x) nounwind
 // CHECK: define void @f2(i8 signext %x) nounwind
index 4b8e3602d46081b56f97026e57cdd889074b0674..161f9079b254df190c124aa57996fcc3ec6f4d33 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 @interface I0 @end
 @implementation I0
index 1c53db4119616a480a17351c3c5d59b49dd8adeb..cb9a4ef81f139e8b594aa5ccd471280bb75a411d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 int g();
 
index c7a70fa237ac32d27d67ea123b32f2ae2b7c18b5..89e899f5baba8b7f56b4e696c5e0cae672c22305 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-pc-linux-gnu -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s
 
 // RUN: grep '@g0_ext = extern_weak global i32' %t
 extern int g0_ext __attribute__((weak));
index 2368422f3ab75def407249b1e212f85bd1a80fc7..e166fb44659d3daf679f096c85282a685da1882a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - -triple i386-linux-gnu %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - -triple i386-linux-gnu %s | FileCheck %s
 
 // This checks that the global won't be marked as common. 
 // (It shouldn't because it's being initialized).
index d253782f66e1d37f84124e62e157b3461b42ebf8..27d209e0ad09c34a5221c067299a1f8dc134dd81 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 const int globalInt = 1;
 int globalIntWithFloat = 1.5f;
index b3d0cb54d15c5e0b013c413dc8e80157fac95e5e..e07a419418bc076f382bc376d74201c2ec5e929f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 int A[10] = { 1,2,3,4,5 };
 
index c760e04a08f5ba6fde11b233cf930d1769796171..0ba6633b4adf9dac427094e35b272b2fc6b2b001 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 // CHECK: ModuleID
 // CHECK-NOT: opaque
 // CHECK: define void @f0
index 6804f5739bbffb19f0f076db5826563792c87bb4..9fd8cfacecbf662aaa4113c42f67195b5b30940a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts -S | grep "ret i32 2520"
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts -S | grep "ret i32 2520"
 
 static int foo(unsigned i) {
   void *addrs[] = { &&L1, &&L2, &&L3, &&L4, &&L5 };
index 197a9ab4e3b87e40b842f013446e36c73cdebdc4..fdc8c149e5222fe5e68ce231989ac51fdaae28ce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc < %s -emit-llvm
+// RUN: %clang_cc1 < %s -emit-llvm
 struct test {
   int a;
 };
index b0537ae5b0771556e009207388b096b2406966c6..f6b35361570a25b5e69904d6ae7108aa08468133 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm %s -o %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm %s -o %t
 
 void f1() {
   // Scalars in braces.
index 304d6168578c746a9bb9f12af49767d7e9899344..737b58fa44c628634378119213dd11bce1ac7c3a 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix GNU89 %s
-// RUN: clang-cc -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix C99 %s
+// RUN: %clang_cc1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix GNU89 %s
+// RUN: %clang_cc1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix C99 %s
 
 // CHECK-GNU89: define i32 @f0()
 // CHECK-C99: define i32 @f0()
index 7cefc3902ebcb9837eb123bb2a4dd07b4df48a44..242a8a694259c78b221d4f7c988fa0017c7fbebd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 void *test(int i)
 {
index d4c3851909ab895d89d7736af94decfbeae5f6b5..fcdbac3ee424b3a0b8757bc8d7f9b3aa69982111 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o - | grep "i32 @a(i32)"
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | grep "i32 @a(i32)"
 
 int a();
 int a(x) short x; {return x;}
index ac788dc9ab9f34133dff158d15a423aee082d632..09efb37927a81cd8647d350a4c9227e168a6108c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t -fblocks
+// RUN: %clang_cc1 -emit-llvm %s -o %t -fblocks
 
 void foo (void(^)());
 
index 32fc59f27fee18235d98de4dd14ef76b08e56464..fe12f4a08a522f8d712a7677fc1f5d7aa12bf23a 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang-cc -emit-llvm -o %t %s -triple i386-unknown-unknown
+// RUN: %clang_cc1 -emit-llvm -o %t %s -triple i386-unknown-unknown
 // RUN: grep "declare " %t | count 6
 // RUN: grep "declare " %t | grep "@llvm." | count 1
-// RUN: clang-cc -fno-math-errno -emit-llvm -o %t %s -triple i386-unknown-unknown
+// RUN: %clang_cc1 -fno-math-errno -emit-llvm -o %t %s -triple i386-unknown-unknown
 // RUN: grep "declare " %t | count 6
 // RUN: grep "declare " %t | grep -v "@llvm." | count 0
 
index b015ca854737eae3871814b96b50b44596be6c59..09b51f02c13f229a6229666d5c55ce10266c4b5c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - |grep internal
+// RUN: %clang_cc1 -emit-llvm %s -o - |grep internal
 
 // C99 6.2.2p3
 // PR3425
index b01ce0b93ec3b4847dd3ef9f7b41393d15744345..f040207e73a87434df372655ffbecf24ebf5c245 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep x86_fp80
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep x86_fp80
 
 long double x = 0;
 int checksize[sizeof(x) == 16 ? 1 : -1];
index 9d7956c56d1b89229773dc09cd4d202c99256156..8ecf8f2337a3e757f91f0a846d13058f2446f6b6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 /* Sparc is not C99-compliant */
 #if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
index 6f42f6f6496ccf033c18e6ddc063c201977110d1..a087b42ad21a7ae6c916a1208531a86319ae1fd7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
 
 // CHECK: @"\01foo"
 
index 1aab47a3a30cd8a73cc012748a38e39e3a66cf38..474b17225ab3cafa8d3941d0a7c00e84d8432496 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
 
index c442669e6422f74395fb671df93369ef1c1cc624..6716935c4d12222ec4c1bad8a3ae66c443c2eb34 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc < %s -emit-llvm | grep internal | count 1
+// RUN: %clang_cc1 < %s -emit-llvm | grep internal | count 1
 
 // The two decls for 'a' should merge into one llvm GlobalVariable.
 
index 45747de6c92182e94af5e05535978ed290e6dc3b..3f89e4c3d84ebb951c9055b54fb2649395638a72 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
 
 #define strcpy(dest, src) \
   ((__builtin_object_size(dest, 0) != -1ULL) \
index b0f5727a92dc39bc7b06a24c24ca49b429898fa2..c279e2282e460adf9f2f9f4a3488de720ba4c93d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 // PR2910
 struct sockaddr_un {
index 7f78b91fb17e231ce8b50c2797503874a2d6918a..d658db111d3a1f69e1cdc5e09af4bd3b9300c585 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 struct test;
 
 typedef void (*my_func) (struct test *);
index 4b58c82546247061bf81c018ccd3d6528878e678..1ed72b19c4d4fe3a7aa86baa35c9ce8da4eaefc9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | grep _Z1fPA10_1X
+// RUN: %clang_cc1 -emit-llvm %s -o - | grep _Z1fPA10_1X
 int __attribute__((overloadable)) f(int x) { return x; }
 float __attribute__((overloadable)) f(float x) { return x; }
 double __attribute__((overloadable)) f(double x) { return x; }
index 41dc94c7a4100ecbc717f88054a97e3f8e3c1aae..0aeed008b752e04f611450f599d9a1537186cc1e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -emit-llvm %s -o %t
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o %t
 
 // RUN: grep "struct._attrs = type <{ i32, i8 }>" %t
 typedef struct _attrs {
index 41e48bd2854d9b1fc620895d03b17bf48ddefa1e..68efb414509ce9332e4152312ef0c4d214be80a9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=i686-apple-darwin -target-feature +ssse3 -O1 -S -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=i686-apple-darwin -target-feature +ssse3 -O1 -S -o - | FileCheck %s
 
 #define _mm_alignr_epi8(a, b, n) (__builtin_ia32_palignr128((a), (b), (n)))
 #define _mm_alignr_pi8(a, b, n) (__builtin_ia32_palignr((a), (b), (n*8)))
index 966223a39f56b918b5f1ec06265a394a92538e5c..e48815b96612c5845ab05357c2216724d143a5a9 100644 (file)
@@ -5,13 +5,13 @@
 // We also check _Bool and empty structures, as these can have annoying
 // corner cases.
 
-// RUN: clang-cc %s -triple i386-unknown-unknown -O3 -emit-llvm -o %t
+// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O3 -emit-llvm -o %t
 // RUN: not grep '@g0' %t
 
-// RUN: clang-cc %s -triple x86_64-unknown-unknown -O3 -emit-llvm -o %t
+// RUN: %clang_cc1 %s -triple x86_64-unknown-unknown -O3 -emit-llvm -o %t
 // RUN: not grep '@g0' %t
 
-// RUN: clang-cc %s -triple powerpc-unknown-unknown -O3 -emit-llvm -o %t
+// RUN: %clang_cc1 %s -triple powerpc-unknown-unknown -O3 -emit-llvm -o %t
 // RUN: not grep '@g0' %t
 
 typedef _Bool BoolTy;
index fcd807cde7b17436f1bd9c0752a2556fe9ee063b..0a9ee67ea01ee50b86fe9f3efd62cf300b6d58e3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s -fpascal-strings | grep "05Hello"
+// RUN: %clang_cc1 -emit-llvm -o - %s -fpascal-strings | grep "05Hello"
 
 unsigned char * Foo( void )
 {
index 5049875dd3ed2266b239671b9a8fc44dcbf083e9..33465e0aa137843f7d98ab8807adee5f739d8fac 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -S %s -o -
+// RUN: %clang_cc1 -S %s -o -
 
 typedef int Int;
 
index d88c0911ba489382b4217dabc3474b94554a4918..59b271235ca9ee1407abb5238d18c3d00705ad30 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -emit-llvm %s -o - | grep "icmp ult"
+// RUN: %clang_cc1 -emit-llvm %s -o - | grep "icmp ult"
 
 int a(char* a, char* b) {return a<b;}
index e40bd91d8f990b3ce7c11821abf4f5c7656884a6..30a6db280d41065a58945f2d77d0bc3947e3c7b6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o -
+// RUN: %clang_cc1 -emit-llvm %s -o -
 
 int test(void* i)
 {
index bcfcd5ac3ab9f63f56d04eab1f452a6c81be1448..f5d301639e056f5e589a4b036574d984a678ed17 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - 
+// RUN: %clang_cc1 -emit-llvm -o - 
 
 // PR4610
 #pragma pack(4)
index bfc5dc943c5ebee1b1f6a7d9e98d391c1b6770e4..bfb34d7c688d75b9064f63f2162ddb72a8787672 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X32 %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X32 %s
 // CHECK-X32: %struct.s0 = type { i64, i64, i32, [12 x i32] }
 // CHECK-X32: %struct.s1 = type { [15 x i32], %struct.s0 }
 
-// RUN: clang-cc -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X64 %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X64 %s
 // CHECK-X64: %struct.s0 = type <{ i64, i64, i32, [12 x i32] }>
 // CHECK-X64: %struct.s1 = type <{ [15 x i32], %struct.s0 }>
 
index 56a6be3874fab292c78d1780aa4270d958e7dc22..676f0d77eba3c10faeef6c6e8426042ff4e35d15 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X32 %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X32 %s
 // CHECK-X32: %struct.menu = type <{ i8*, i8, i8 }>
 // CHECK-X32: %union.command = type <{ i8*, [2 x i8] }>
 
-// RUN: clang-cc -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X64 %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X64 %s
 // CHECK-X64: %struct.menu = type <{ i8*, i8, i8 }>
 // CHECK-X64: %union.command = type <{ i8*, [2 x i8] }>
 
index 497039a8f42c3a45eb7eda835394b52a7d61b4df..5c2866e3d35f437d66806b126647b7c570f053ad 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -verify | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -verify | FileCheck %s
 
 // CHECK: @weakvar = weak global
 // CHECK: @__weakvar_alias = common global
index 1a5dcb4fc6ff940c9c1b0de6c8ba8ed1082ea978..9be5754114bfc7ed65702629682fb5d2254e8882 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // CHECK: @__func__.plainFunction = private constant [14 x i8] c"plainFunction\00"
 // CHECK: @__PRETTY_FUNCTION__.plainFunction = private constant [21 x i8] c"void plainFunction()\00"
index a9bb28bfad4e40dccb9c9521222a18faaf46c43a..2d34d543213d9aca7db0a980801902a07b65c37a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep '@g0 = external hidden constant i32' %t
 // RUN: grep '@g1 = hidden constant i32 1' %t
 
index 2c58548744d623b406cbc4aa86326fac5498ee61..3a89aa39a0d7f68fd4e3bf567479d658b7ea739e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
 // RUN: grep "ret i32" %t | count 1
 // RUN: grep "ret i32 10" %t | count 1
 
index 257a9d7f8acdf78ec488dd52fd64d31448a7f4e3..ba41b519fcca4139ceb3b21386ca5560c8768257 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
 // RUN: grep "ret i32 10" %t
 
 // Ensure that this doesn't compile to infinite loop in g() due to
index 2dd1eaac9df810b2dfb81075275cb8dcac1f4cb4..1cf77ac6aa5622013d17b03a919b94fb5807de40 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
 // RUN: grep "ret i32" %t | count 2
 // RUN: grep "ret i32 3" %t | count 2
 
index c12cf82ba0ccec81563f55af5f12822ad1bdf377..48a6cc2285585e3a785c3f8ed7e9e77f086ef04e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
 // RUN: grep "ret i32 %" %t
 
 // Make sure return is not constant (if empty range is skipped or miscompiled)
index a2b85d9895305d05452807937e66c67d3fb8ba4b..6f577df188c5ff9339dd26aa250b13853d845b46 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t
 // RUN: grep "ret i32" %t | count 1
 // RUN: grep "ret i32 3" %t | count 1
 
index 90641dd083cb5f633648b6e862b9590e2c97b5d3..b4d21a3f8fccd3657b0f22d35daf3c665c7acb02 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm %s -o -
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-llvm %s -o -
 
 void f0(id x) {
   @synchronized (x) {      
index 28dfae7f628b796f1ac28f648c81e93cee9e0996..ac3797547d9999327f63db0e52298f795bf1d53f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o - | grep inreg | count 2
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | grep inreg | count 2
 
 #define FASTCALL __attribute__((regparm(2)))
 
index a05975b4aeb770864fa790330a747452934438a8..00636b0f55aa2081590d90c20abd0f30c3614978 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 char *globalString = "abc";
 char *globalStringArray[5] = { "123", "abc" };
index af5088553e487520157ffa04ead16c91ce5bd5e5..b0c514fd0161c66c840d2f0b59384a69f15391e7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 
 // PR3442
 
index 57635976d05f716cefafc7457fc1360de1c9b65c..eb4cea211779c5a34696f73f38b6bbc2eb0c5be1 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc -emit-llvm -o - %s -stack-protector 0 | FileCheck -check-prefix=NOSSP %s
+// RUN: %clang_cc1 -emit-llvm -o - %s -stack-protector 0 | FileCheck -check-prefix=NOSSP %s
 // NOSSP: define void @test1(i8* %msg) nounwind {
-// RUN: clang-cc -emit-llvm -o - %s -stack-protector 1 | FileCheck -check-prefix=WITHSSP %s
+// RUN: %clang_cc1 -emit-llvm -o - %s -stack-protector 1 | FileCheck -check-prefix=WITHSSP %s
 // WITHSSP: define void @test1(i8* %msg) nounwind ssp {
-// RUN: clang-cc -emit-llvm -o - %s -stack-protector 2 | FileCheck -check-prefix=SSPREQ %s
+// RUN: %clang_cc1 -emit-llvm -o - %s -stack-protector 2 | FileCheck -check-prefix=SSPREQ %s
 // SSPREQ: define void @test1(i8* %msg) nounwind sspreq {
 
 int printf(const char * _Format, ...);
index 45bbd9ac024fb295a457dd756aa3248e4e37a283..e3835f062a6909fb44ccac6ec1c1569e9484615b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc < %s -emit-llvm
+// RUN: %clang_cc1 < %s -emit-llvm
 
 void test1(int x) {
 switch (x) {
index a945df3d3b384b4afa882385d07fc2d95a1fafd7..e33ee621b345126bc45498873a4f8ea41037c863 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 static int staticfun(void);
 int (*staticuse1)(void) = staticfun;
index f12c22fb41af74c508a4fc3ef2d08dc16cc2e9a5..0d35061279c382d2e3f50e302d47c8d92646c942 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep "global i32 10"
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep "global i32 10"
 
 static int i;
 int*j=&i;
index f276b200eb1077edff4ceaaadce43ba8b6adbf1f..bd32519e43e9edc54ce4b3b40e5d5e0c5a9f626f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s
+// RUN: %clang_cc1 -emit-llvm < %s
 
 int a() {static union{int a;} r[2] = {1,2};return r[1].a;}
 
index 58340b691302056194a6d188a1c5e19cb90b1792..e7f9814261ccccea23233113ba3ca8b5f2469a29 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 // CHECK: ModuleID
 // CHECK-NOT: zeroinitializer
 // CHECK: define i8* @f
index 8b87ccd6b9057b04e80d8a8aed23a942d168d4ac..cd1f059e570af386d3f976cf5a7cae3a20862bcf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-pc-linux-gnu -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s
 // RUN: grep "g.b = internal global i8. getelementptr" %t
 
 struct AStruct { 
index 11b652178ca8536cb1dde582f6218a43f5bfba0a..838ccfb48c566f7796fad253427400263d137d80 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-llvm < %s | grep 'fastcallcc' | count 4
-// RUN: clang-cc -emit-llvm < %s | grep 'stdcallcc' | count 4
+// RUN: %clang_cc1 -emit-llvm < %s | grep 'fastcallcc' | count 4
+// RUN: %clang_cc1 -emit-llvm < %s | grep 'stdcallcc' | count 4
 
 void __attribute__((fastcall)) f1(void);
 void __attribute__((stdcall)) f2(void);
index a4011938c10666beb2ea8a787307baeb7598cc95..22a81e71855188a5d93c6a9989b24ad914919f32 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o -
+// RUN: %clang_cc1 -emit-llvm %s -o -
 
 int main() {
   char a[10] = "abc";
index d7f50da1312218d7a4ea5c6b93ee6a50cec0411f..e5b51514384abde79bdce982e288241dfea2b1a3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 struct S {int a, b;} x;
 void a(struct S* b) {*b = (r(), x);}
index 62c29aba6c9cfdc78ab223775370db1d2680a5b3..6f3b6643f09a5d95e2687ff5f85843555a27f3cd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | grep 'call.*llvm.memcpy'
+// RUN: %clang_cc1 -emit-llvm %s -o - | grep 'call.*llvm.memcpy'
 struct x { int a[100]; };
 
 
index cb84fef4d1c1566ae7c2a9def683de4b80079963..88b57a26478a4e59c9d12dee484c2f6e506a6e90 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 typedef struct _zend_ini_entry zend_ini_entry;
 struct _zend_ini_entry {
index 772077a5964f9b91a54d30bfb6f4435a9fdfc673..b351d8148e9104cb8226b3439d3427e69ada91d9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-pc-linux-gnu -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s
 // RUN: grep 'declare i32 @f0() readnone$' %t
 // RUN: grep 'declare i32 @f1() readonly$' %t
 // RUN: grep 'declare void @f2(.* noalias sret)$' %t
index e7822f073d2a37ff9f50bbf0fe4801dac8f028dd..afdcb8a39a068ae1141effdd62e9d04849361f6d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc < %s -emit-llvm > %t1 -triple=i686-apple-darwin9
+// RUN: %clang_cc1 < %s -emit-llvm > %t1 -triple=i686-apple-darwin9
 // RUN: grep "STest1 = type { i32, \[4 x i16\], double }" %t1
 // RUN: grep "STest2 = type { i16, i16, i32, i32 }" %t1
 // RUN: grep "STest3 = type { i8, i16, i32 }" %t1
index d1e58a2445613016464315562b874867f2aeb721..25477a052e8a8308b3f8bdfa3f3c3c817c6c7c24 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o -
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o -
 
 struct  {
   int x;
index 96118f6e6fc3972dae970fb09d992bf6f409b0cc..519ccbac015963d683e4a1df79b56ff3d56c6358 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -O3 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -O3 %s -emit-llvm -o - | FileCheck %s
 
 int foo(int i) {
   int j = 0;
index 26775f98117c0faae08b1f6065f81bde061e6b30..8139a4efc599d15ebc17e27b10c96d13ebd6228c 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple i686-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i686-unknown-unknown -emit-llvm -o %t %s
 // RUN: grep 'target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"' %t
-// RUN: clang-cc -triple i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep 'target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32"' %t
-// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 // RUN: grep 'target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"' %t
index b72c5850ac2c540ea7fc5cd62735b38a109a245e..d88c346d7c525e8d60179e486e3b55e08710c78f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 // RUN: grep '@r = common global \[1 x .*\] zeroinitializer' %t
 
index 456f7a6d9761e49562be4e149c08728b7cf4eece..b1e1ed84647fc608dd5558b64761699dccaaa1e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i686-pc-linux-gnu -emit-llvm -o - %s | grep thread_local | count 4
+// RUN: %clang_cc1 -triple i686-pc-linux-gnu -emit-llvm -o - %s | grep thread_local | count 4
 
 __thread int a;
 extern __thread int b;
index 6045ed908d0e8f06ca8805de97dfa3056dd2e51a..d10d6176bf9438582639a8916eda88df8dd49cf8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ftrapv %s -emit-llvm -o %t
+// RUN: %clang_cc1 -ftrapv %s -emit-llvm -o %t
 // RUN: grep "__overflow_handler" %t | count 2
 
 unsigned int ui, uj, uk;
index a64426ddb274d19c4c8d87d12af9eb382dda7a3a..bc08b359d70f670e8c56d60063ab31e900e25cc1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s
+// RUN: %clang_cc1 -emit-llvm < %s
 
 // PR2414
 struct mad_frame{};
index 3bdd52f6c572d82dec208d5b3fd05454f418affd..4af9d819f026f5f42c2bc4223a6cdc585a7174c5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o -
+// RUN: %clang_cc1 -emit-llvm %s -o -
 
 typedef struct { int i; } Value;
 typedef Value *PValue;
index 75cb851c2599420ef9b826a2b7ca535648d8bdce..55b806c93a25310e2e579394d0af0d36b41e1aa0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm <%s
+// RUN: %clang_cc1 -emit-llvm <%s
 
 struct FileName {
     struct FileName *next;
index b3bf7279623f81524e22d57126b2b371ab3442ea..92cb5faba4a012304e22a4a6d5af270f0ebb9918 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - -triple=x86_64-apple-darwin9
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-apple-darwin9
 
 typedef unsigned long long uint64_t;
 extern uint64_t numer;
index f4e9e9a08f4d5e2df72fc79459257278dce2763f..60906b533d65b96678ae6863c82dd4519da582f5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s -o -
+// RUN: %clang_cc1 -emit-llvm < %s -o -
 
 // A nice and complicated initialization example with unions from Python
 typedef int Py_ssize_t;
index e782425cf2b11e7c34a168c167cc3ff324d33bb1..ac469cd4b51250ff4626c677f1e379772ace4e30 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple i686-pc-linux-gnu | grep "bitcast (%0\* @r to %union.x\*), \[4 x i8\] undef"
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple i686-pc-linux-gnu | grep "bitcast (%0\* @r to %union.x\*), \[4 x i8\] undef"
 
 // Make sure we generate something sane instead of a ptrtoint
 union x {long long b;union x* a;} r = {.a = &r};
index 4884690f3fdc11fc209e2a2d374a46810645f304..b40a405597ac58ec329d061f91d0f2cfaca3f3e3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 union u_tag {
   int a;
index 3f39a27def97653968458f9992d5013a000feb42..5e9fa6a5456d451bb7fd3eb60d5986a3d84670f3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep '@unreachable' %t | count 0
 
 extern void abort() __attribute__((noreturn));
index 1148ba10315ee47205f769b6991b09cb6f5c9912..ee3199d274ddf5976a88a6cd180dd738d7e2953c 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo()" | not grep nounwind
-// RUN: clang-cc -emit-llvm -o - %s | grep "@foo()" | grep nounwind 
+// RUN: %clang_cc1 -fexceptions -emit-llvm -o - %s | grep "@foo()" | not grep nounwind
+// RUN: %clang_cc1 -emit-llvm -o - %s | grep "@foo()" | grep nounwind 
 
 int foo(void) {
   return 0;
index b0b62ae2647377231d144505f249bba66813cbc5..fefd35ab634d18aa702eef1d70073f7c6603a97d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | grep "align 16" | count 2
+// RUN: %clang_cc1 -emit-llvm %s -o - | grep "align 16" | count 2
 
 __attribute((aligned(16))) float a[128];
 union {int a[4]; __attribute((aligned(16))) float b[4];} u;
index f5621c289d7a5dda14253dc77bf9df20cef9f85b..80ca78d5cf5f1e213ca4ef85134bbf8b12790207 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | grep puts | count 4
+// RUN: %clang_cc1 -emit-llvm < %s | grep puts | count 4
 
 // PR3248
 int a(int x)
index 21a03d0593d60b10b7b6f12a849ae383c18f8e2c..21d63ec144cbf4aec8ee56eac19357f7588f818a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -mcpu pentium4 -g -emit-llvm %s -o -
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -mcpu pentium4 -g -emit-llvm %s -o -
 typedef short __v4hi __attribute__ ((__vector_size__ (8)));
 
 void test1() {
index 89261c7469c6598888cd2f5fa0adde38b6d42dd5..7c583b58852d767388231419d466041d26ebb34d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only %s
+// RUN: %clang_cc1 -emit-llvm-only %s
 
 typedef struct _IO_FILE FILE;
 int vfprintf(FILE*restrict,const char*restrict, __builtin_va_list);
index c19004a5a2cb4601d016490c46725498a74be011..8f81c8f3a99009862da37865ff1679801c40218b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-unknown-unknown -fvisibility default -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -fvisibility default -emit-llvm -o %t %s
 // RUN: grep '@g_com = common global i32 0' %t
 // RUN: grep '@g_def = global i32 0' %t
 // RUN: grep '@g_ext = external global i32' %t
@@ -6,7 +6,7 @@
 // RUN: grep 'declare void @f_ext()' %t
 // RUN: grep 'define internal void @f_deferred()' %t
 // RUN: grep 'define i32 @f_def()' %t
-// RUN: clang-cc -triple i386-unknown-unknown -fvisibility protected -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -fvisibility protected -emit-llvm -o %t %s
 // RUN: grep '@g_com = common protected global i32 0' %t
 // RUN: grep '@g_def = protected global i32 0' %t
 // RUN: grep '@g_ext = external global i32' %t
@@ -14,7 +14,7 @@
 // RUN: grep 'declare void @f_ext()' %t
 // RUN: grep 'define internal void @f_deferred()' %t
 // RUN: grep 'define protected i32 @f_def()' %t
-// RUN: clang-cc -triple i386-unknown-unknown -fvisibility hidden -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -fvisibility hidden -emit-llvm -o %t %s
 // RUN: grep '@g_com = common hidden global i32 0' %t
 // RUN: grep '@g_def = hidden global i32 0' %t
 // RUN: grep '@g_ext = external global i32' %t
index 844e49e72c46aabb67d6a3ed9c3c7a156163608a..0c539003842a1b50ee78dee0ff5ce7b5b886e550 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 int b(char* x);
 
index 3203326ecebf8fb619174ca9601e8860c3708548..e0c672b41eaea413abea797a669cf4b71e13b1f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Wno-unused-value -emit-llvm < %s -o %t
+// RUN: %clang_cc1 -Wno-unused-value -emit-llvm < %s -o %t
 // RUN: grep volatile %t | count 145
 // RUN: grep memcpy %t | count 4
 
index a0cc891ccd888b5da062d9f90902c3ffc1f4e6c9..db87a375152a69e8485a68550081b5133babe5bb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s -o %t
+// RUN: %clang_cc1 -emit-llvm < %s -o %t
 // RUN: grep volatile %t | count 29
 // RUN: grep memcpy %t | count 7
 
index d4ee52f48956fea86bebdd75ce3e13139a68e23e..f972cea912005bc7862465db4748650c301b679e 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -emit-llvm < %s | grep common
+// RUN: %clang_cc1 -emit-llvm < %s | grep common
 
 int i;
index a15dbac03cb7a4d3f8f34c6e836282f8008a1a77..af91ae7eb5cc557d4f7707c4ffca388b069e65fb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm < %s | grep 'extern_weak' | count 1
+// RUN: %clang_cc1 -emit-llvm < %s | grep 'extern_weak' | count 1
 
 struct S;
 void __attribute__((weak)) foo1(struct S);
index 95e18f4d21ff1e0b8a2353abc0cd0987af6a6225..3973b2860db983ffa1b9321b4068fdcbfa2fb920 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 int bar();
 int foo() {
index c8b70d5f0540c9071d05f85f3dbafedfc095ae76..693fa5ea24baaf92b56b028113f5ea76b8d0ca3d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - -fwritable-strings %s
+// RUN: %clang_cc1 -emit-llvm -o - -fwritable-strings %s
 
 int main() {
     char *str = "abc";
index 0420a4cd97de6ed104c7441bf5771813cd2c8a3f..e97d537d331be528294b034762867b41060eec8d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1
+// RUN: %clang_cc1 %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1
 // RUN: grep "ax" %t1
 // RUN: grep "bx" %t1
 // RUN: grep "cx" %t1
index 33f635c31ae19ffe56e0797173c354a1bea39017..eb98e1a2282a85e4fbae8329359ef44a9b2c910f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fblocks -triple i386-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fblocks -triple i386-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep 'define signext i8 @f0()' %t
 // RUN: grep 'define signext i16 @f1()' %t
 // RUN: grep 'define i32 @f2()' %t
index 1a848ead356f7d818c7a4c0ebe847cf4ba27524a..d6b9b2936045f8b7ccb2f97a3e1783bb3b69160e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 // RUN: grep 'define signext i8 @f0()' %t
 // RUN: grep 'define signext i16 @f1()' %t
 // RUN: grep 'define i32 @f2()' %t
index 958798d77f60583b826ca7c66a18c1a12cb9a4d6..34a840cbdf5b9f5184f8e6f6571e57043ddce117 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 struct A;
 struct B;
 extern A *f();
index a0d3a8ddac23573b4eaaa4f9d16b4ab6028a89b3..bcaf1b96274e13c02be0dd2c4358b26165edf1f5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -g %s
+// RUN: %clang_cc1 -emit-llvm-only -g %s
 struct X {
   ~X();
 };
index 31eae2e791f69110f8b08087579bead013bd3b36..797a1baa49e0d7e588a7f01c7158691425a3a2ae 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only %s
+// RUN: %clang_cc1 -emit-llvm-only %s
 
 struct A {
   A(const char *s){}
index c0b53d5f6e55e7e2ebb4187cef50b796d3e05ae4..aa7165a1667067ce004a191ee8ff9202717e6330 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 struct A { A(const A&, int i1 = 1); };
index a27b08f6ada7a3ac787db09f41fb2dc7629348f1..ceab8528e8bcb456e61bcf3df6a096d0a14ae344 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 struct a {
   static void f();
 };
index 476b0ad083bc263300881d65ec4d7c2482058ff9..8a1779788395eb6395c835dfd4f44ae005bc8862 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 int* a = __null;
 int b = __null;
index 1f0c8f38630b8f581fab895ef89d68c99430c33d..c5fa89d86d41b7bd41e362b5c7fce6dee3a65731 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 template <typename T> void f(T) {}
 template <typename T> void f() { }
 
index dcfd518d684b57f5440eed1de40a3d0308108743..7689c941e10352ad823755c01b9b7888190e92d9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 
 namespace {
   // CHECK: @_ZN12_GLOBAL__N_11aE = internal global i32 0
index 2030f4053c90aec28ae298da2e5a88f640b11f2e..ea3eafc9955320271c1b067bfb07ad4663f81bc5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 
 struct A {
   union {
index 2f82872d6c9efa87e8ba558d5d47fddb81837cf2..12975fe4f078da5838cf553efda2ef1ca4f85244 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index c23d33632a38b14ad371668a38f2c9c1711928be..bef514a7be3ef3959b8bf569676bdde748c71b36 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 5751b67b749166d40c597b0eb6f216fff900bddc..3fe6b72a54196c09ff914c1e1b6920bc12ca2ea7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 
 void f(const char*);
 
index f041bc584b1291b27c764355c2d57eb506c068fb..5fe6c2022d8f0d40a6f5c01790c2b0c3f2165bb7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 
 // PR5463
 extern "C" int printf(...);
index 3e0be4519438259f177fc38c539f5b28ca020dd2..cb8867f2f6a3d5d8fd782b0ebc8a2f2c897adfec 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm-only -verify
+// RUN: %clang_cc1 %s -emit-llvm-only -verify
 
 class x {
 int operator=(int);
index 695e9e72f1a1cf3f1cb84681f6d44524a4147d19..8fd86414862c1d16ca17de4442c6329b7113f1df 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -O0 -S %s -o %t.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -O0 -S %s -o %t.s
 // RUN: FileCheck --input-file=%t.s %s
 
 int foo() __attribute__((aligned(1024)));
index e066927ad7026ba789e56ac300210e8ef1473cab..7d99533fec5283f8f0232e63dbb92afe9f5fe144 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 
index fa8487ac66b9a6965719dff8dc91f3619b183269..ae43f19ee3be455a9e50cf06d124e76f4df8b378 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 struct A {
index 045f2d4fe031c71907261d3b54a7b0d220530d99..91ae6af19e069c32c4afdaf4fd3a977fe3077cec 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 // PR5248
 namespace PR5248 {
index d4fc627082d253612a4365400725fa18a99887a3..e1ff37f1800d6ce97d0a7ea9c1dac6772cd1a61b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // An extra byte shoudl be allocated for an empty class.
 // CHECK: %struct.A = type { i8 }
index a6b74efff3892f1188407c62fc144c5e30ea57b6..eca07d866bfce1a533647c99945520650a9f2510 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
 void *f();
 
 template <typename T> T* g() {
index 7b3233a5bed07aaa504264f60371c953fcbf069e..a0843c40f071d968cc6ef51e001b3979c4150ddd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only %s
+// RUN: %clang_cc1 -emit-llvm-only %s
 void f(bool flag) {
   int a = 1;
   int b = 2;
index f6c466a9313507cbf5f16b54850a37fa9e1b289f..0eac10b43cfd1bb7f363ad98b5b5ba163904882b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 struct I {
   int i;
index f12c569d9428b7749d0f8782d3e238f720f6e646..f88bc808a7c6e02b8a318cd05cca21b120c960df 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
 const int x = 10;
 const int y = 20;
index 42da6346daf3b6ec90b6872322d53c2667176fd7..874b5f64e2ba05e895aeb50dd6a7a4d1b98e7dfe 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -verify -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
 
 // CHECK: @a = global i32 10
 int a = 10;
index dcc9535315ab28a93cb4c329e1bf8ac75af56a79..b680bca181fdf980f4fc2e9bff57ad0e69ec716c 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index c494149d11105a25bc3eb2108f88b6aef0562c95..bf3106d065b25bfbc29dfb57a0c2a4d2b5088f0e 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 5160a89754889827f838995ff1520988e5a8c5a1..3f16ba1ec81b23d242152fea4b644449bcc8728f 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 040441fde0f82e085b63b827bb78a60e34889abb..c2f41e1f0cbf35fc80c1acb06f43d0f19bb25b45 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | grep "store i32\* @x, i32\*\*"
+// RUN: %clang_cc1 -emit-llvm -o - %s | grep "store i32\* @x, i32\*\*"
 
 int x;
 class A {
index 1b025126a3454cf2d618db7f75c96f7f8c641acf..ae6014fc664fe8ced5875939a8a9b5dfa43b73c9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 extern "C" int printf(...);
 
index 1142aac30e24b7a6bc270a98c1694af2b6a1b3c1..a3576fdc72fe936c6166e469f99365cc4a0281d6 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 // PR4826
index c93587675ba1e86e439ae517b6c267c750922de1..9ba94a90268fbd990e16613b53ae4b647e513d17 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 49796d08a87f60ed0ae2c9058bd080d4aaac92d4..8fbeadf14916aa1ebd939fe60132ec9efb5cf213 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only %s -verify
+// RUN: %clang_cc1 -emit-llvm-only %s -verify
 // PR5730
 
 struct A { operator int(); float y; };
index 7cc8c08444aa9b9fcb860153f275f9225d041b5d..2812b0e002dced5219728644f6a7c525cf81efbc 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 14fbe30703d30f15feafc7b6a5ee767b9e60161f..eb761c27367d507dde1c09372c96e490916a9842 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 60d52f57de98d8d4a78365026ff04ffc97e6bc50..c25e0467fad5bba8c5a5b35f47e3325fe3478794 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 struct A {};
 A& (A::*x)(const A&) = &A::operator=;
 // CHECK: define linkonce_odr %struct.A* @_ZN1AaSERKS_
index 3dab0f2a81b3567bed9e153a1c1fae5d6a87a612..0c876d02ec56923be3f181b09218549e9e63c430 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 
 struct A {
   A& operator=(const A&);
index 65a84f414a93195652a0a72a469c125354baa026..e9fc0c337c1050b768947762f71ebda5283a740f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep "_ZN1XaSERK1X" %t | count 0
 
 extern "C" int printf(...);
index 953effe77af183bdf2730903f9d1c60a15c2ff72..c883584fe02f3f5393fa3c47f3562cc4656b3c24 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep "_ZN1CC1ERK1C" %t | count 0
 // RUN: grep "_ZN1SC1ERK1S" %t | count 0
 
index b4add46db85a8746c895128ba1d3ecf4bc1a4b11..2f7c79b9030332c54cbb94da8596e6fbeff3c8c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
 struct A { virtual void a(); };
 A x(A& y) { return y; }
index 2e950eb9e9b2f4cee9f7b8c7b8b189d238cde9a4..ae8eefa7fe40dcc0f8f9be3789767fe213e09cd9 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index c5e3c79b0aabedd9c09bc8f37b285614308b6f1e..705491e3a9b4ed431cb58d0725b32d120a23dc56 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -g
+// RUN: %clang_cc1 -emit-llvm-only -g
 template<typename T> struct Identity {
   typedef T Type;
 };
index fd93b7b21e04748e1fd2b5dfd64b046f9bd38696..50ac49d8d2e15337617aa3b23760ed220909f803 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 struct A {};
index 0ec5b582c95baa10781a97e0eedd9ff2279cd1e0..e523eb0cfd233751850129eaacffe5d486fd9633 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t -triple=x86_64-apple-darwin9
+// RUN: %clang_cc1 -emit-llvm %s -o %t -triple=x86_64-apple-darwin9
 
 struct T {
   T();
index 71d4baa47566b6c4cd0a79581e2b197e72b7d02c..282e5d0d5042248f7dad5ab4b1a6c39986d5c6e4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 
 // PR5484
 namespace PR5484 {
index f53732e471fef25a6bdfe079e48dcb34e4c14692..971757d241b44642902df23e2c6a5f8fe5f50439 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // Check that call to constructor for struct A is generated correctly.
 struct A { A(int x = 2); };
index d972d63d3cbcb3786bf7bf36cb029d68b2543453..cbd119bd2246f39af292efa58981dfa7551c88fa 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index e0a17e0e4f71f58bd0de19efb1122a40a46d53e3..e74fb6da69a6f38ceb1a8383a16ea7391cab0841 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 
 template <class T> struct A { A(); };
 struct B { A<int> x; };
index fef9c03d7ac123537872d56121d85bca7ee0d157..0c937bf8a6e77bc52ae551e4f65d682fd093fa70 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -O0 -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -O0 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -O0 -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -O0 -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 -input-file=%t-32.s %s
 
 extern "C" int printf(...);
index a5b18ba06fc358721c784ce83e552e831667dee2..d6bdb098844f31f6d3fabfe0b04e69852ec0c70e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i686-pc-linux-gnu %s -o - -emit-llvm -verify | FileCheck %s
+// RUN: %clang_cc1 -triple i686-pc-linux-gnu %s -o - -emit-llvm -verify | FileCheck %s
 
 struct A { void operator delete(void*,__typeof(sizeof(int))); int x; };
 void a(A* x) { delete x; }
index 78c83cf0df62f0c9ce1f98121a870e04cc9381c3..7cc264f5c5f5ea3bd016c7f124c5105ba666db4a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 void t1(int *a) {
   delete a;
index 70948b0ff933c973245749daf0645078423e1e49..0a29d45e723b0b1162364cf54ba6828051f6a6d9 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 extern "C" int printf(...);
index 63492d604d17b87f7ba7b476c2397048725ee20e..45728b7c0122671b24e30f42449286ca42d7abaa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o -
+// RUN: %clang_cc1 -emit-llvm %s -o -
 struct A { 
   void f(); 
   
index 3f0288b85c14f1665162a160723ba407597a1fc4..4da46a4358a6f4233cb2825b22d99b6bfacd60c3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 extern "C" int printf(...);
 
index a196c13f8f42017c58e2afaf788ebf0e7e2f3286..0a7e1e5505ede58061806de8f7f45d6abd686d58 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o -
+// RUN: %clang_cc1 %s -emit-llvm -o -
 struct A {
   int a;
   
index cbf55ad6133189f2e4a96bc243463c39096c266e..74795b5dfb0efab96b889836de86468c65092985 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 struct A {
   virtual void f();
index 0f78fb0deb60aadbebfe47968782f7708aacecc5..50887b10007515f60cdc9361ab7d214378b2ccfe 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -I%S -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t.ll
+// RUN: %clang_cc1 -I%S -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t.ll
 // RUN: FileCheck -check-prefix LL --input-file=%t.ll %s
 
 #include <typeinfo>
index 5570fb44c24c3c7ea333f7029af3910446b2935a..dd798f4ca32ec0a6578c56aa06b1cae421f74a72 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t.ll
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t.ll
 // RUN: FileCheck --input-file=%t.ll %s
 
 struct test1_D {
index 863e69c9cc0222147a61bb283ba6f869c4fe109f..c82eee70c840572538b982c0c42f5770de97581c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 // PR5695
 
 struct A { A(const A&); ~A(); };
index fdd97415a20374006b85b7461920a155f79e0cfe..118a0d29b47dd9da10332bdfd42ae6088c41bdcf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 
 union sigval { };
 
index 6ce04a3a532b928695b1b48264eac0afed242891..cfcd264bd347a6b01b37edb83af6d3e75d939f48 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 
 enum A { a } __attribute((packed));
 int func(A x) { return x==a; }
index b60070fa1f4ee3283443b8fed329a899dacccf4d..608c95d828ed78bae64f937c5285f9625639381e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm-only
+// RUN: %clang_cc1 %s -emit-llvm-only
 
 extern const int a,b;
 const int a=b,b=a;
index 396ff441ef9ac950d745836422d2c23561fa0823..4d8fb809ab9c057643b136306a1499687a2081b2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -fexceptions
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -fexceptions
 
 struct allocator {
   allocator();
index b33ba85cf6606e2d43cc069d87810a4e2a7edaca..ab9174e8f406d710d79be84ce88e44fdf5cedf68 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -triple i686-pc-linux-gnu -o %t %s
+// RUN: %clang_cc1 -emit-llvm -triple i686-pc-linux-gnu -o %t %s
 // RUN: grep "define i32 @_ZNK4plusIillEclERKiRKl" %t | count 1
 
 template<typename T, typename U, typename Result>
index 4dc97c47aa265a6269cd95b54bc3232ce2926192..6d641dcb622db5c6e635ae465c7a31dd6037720f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -x c++ < %s
+// RUN: %clang_cc1 -emit-llvm -x c++ < %s
 
 void test0(int x) {
           if (x != 0) return;
index 3af8f3adb54f6ffb5d5f0b35543ca0c593526487..427a45aebb1ecebb9d6e8340ae24f87c1d29b450 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 namespace foo {
 
 // RUN: not grep "@a = global i32" %t
index 046bc325a5d94e6395ad44cb1a6a1a25a8e65ba4..21f0127ab489826d1c17834e715f8058d5300518 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 
 template<typename T> void a(T);
 template<> void a(int) {}
index 677be4cc0f9a9ad386d945469c45ba324190c7c9..4a79fb1d6747b3c93f1bc7612045b259c9cc4785 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 template<typename T, typename U>
 T* next(T* ptr, const U& diff);
 
index ebea9c156e2792e5b35d1559035502c293bfa9ee..7b1566af8c48f81fdc32f1195d1d5284ad30b85a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
 
 extern "C" int printf(...);
index ae450e17e85ebbd60882923a3a227579930e5fdf..b375aef4c8e0a6645e0ba8e253b60b0fc2e56cd6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s
+// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s
 
 struct A {
   A();
index bd4319667e8f0667c165cfeceecb18e0269008a6..e799231ab74467bd98d244000756ca33c8a8da5f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
 struct A {
   A() { x = 10; }
index cc86ef4cb502537527b8016a833c93e7cad3b0d7..0c826e4b20d12b0a4ccedebcdaad92e3de5cac6f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 template<typename T>
 struct X {
index 402b86ea8cb478a275a505175ccd06f0a2e634a2..3312d3e04b715aa58dd227d501bab00924aca426 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm-only -verify
+// RUN: %clang_cc1 %s -emit-llvm-only -verify
 // PR5489
 
 template<typename E>
index 9af4c6e5bec77894035ad67fc1fb6e51cfa38c5a..8d046a2f4a9b54e6b62053f70994b1b60286a19e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 // CHECK: ; ModuleID 
 
 struct A {
index 7d5458af1f55e26e53ce2eaf983204b14d391f61..676d2994e7ed499543f6aee86435959e049121c0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm-only -verify
+// RUN: %clang_cc1 %s -emit-llvm-only -verify
 
 struct F {
   void (*x)();
index e61f33a4cfc3afc1cec86781a4be12d103f68564..251a14e28f2a646b31855ac08a45cd13945b2e06 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // Simple key function test
 struct testa { virtual void a(); };
index 7c25859a9a6cd7e7d7432fe59300c39ecc8c91fc..ed91da4e2e37ab36246ee8206052d52cc4f018e1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // CHECK: @var1 = external global i32
 // CHECK: @_ZN1N4var2E = external global i32
index 77558d29d824f44924e28902b72f30c4b1c17e31..ef2d466e416cca90cc52bd70b5d68e8c34f9939b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 struct X { };
 
index a2994c4abf238f797e5e42f072586e6a88041a0c..913c8f101b54d13dd922596e41393f1ead587d26 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 namespace std {
   struct A { A(); };
index a940f4f447b6dd868acc467ec6d558c5f4be4d23..bd06869ff7f9712ec9904445ec765504e15af3ef 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 struct X {};
 
index 8c642bd075331a9e9e9a0d2b07313a5a6f8f66c0..cb68bc197600aac76222705262250ff633949470 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 // PR5420
 
index 32ce33da952cd3eadb3eb34177463754e2ef8f6f..c8296f3c4bd7a03c6c4d306a8fd6e917ba56ff0d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
 namespace test1 {
 int x;
index 66c81e5932254242707dfe7de5924476b5207aae..4aec7dbf4a76fefcb2ca9bba5cb50cbc6758b108 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 
 struct S {
   virtual ~S() { }
index 62d8c6cc1e48aee0d9fbfabf77254c045fc1fcef..ede7e3ddaf096cdc1cdb58af54405117330eaac4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 struct X { };
 struct Y { };
index 0b808e0444599af98e289a74819c1deab0c1d40c..2054137fe94116d69a526aa57016dfd5c89e220a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 
 struct A { int a(); };
 typedef int B;
index a38d5f9eaa2cf613cab4a43db740e9506dcb874b..720a9a70d07bbdb6fe1cce5fad16406dfc384a44 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s
 
 // PR5392
 namespace PR5392 {
index 491ca5345afad4bd5607709117545fc21747f42c..149b5603ad7ce9d2739f7f0ea1ea4acfb147dc50 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 struct A { int a; void f(); virtual void vf(); };
 struct B { int b; virtual void g(); };
index 0dfaedff931c709b9346d21118dcf7a2f4a0fa6b..67038d65d628de113fcf4c73952e41771b452a19 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -triple x86_64-apple-darwin9 -o %t
+// RUN: %clang_cc1 -emit-llvm %s -triple x86_64-apple-darwin9 -o %t
 struct C {
   void f();
   void g(int, ...);
index 9c0c3919794eaf21dbf2c1cc84e80219cbae9ca9..688d92d74b8ea954d41d04addb7d73541941370a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm-only -verify
+// RUN: %clang_cc1 %s -emit-llvm-only -verify
 
 struct A {int a;};
 struct B {float a;};
index 334d5fd1f1c49f03b4ed6c5d686bfac1d5a2ae4d..2c50e18b6ffa8f80ad87e55e81b6ba178f22d459 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm-only -verify
+// RUN: %clang_cc1 %s -emit-llvm-only -verify
 
 union x {
   int a;
index 794996881e2fce166400d83424665d52725bd69f..4937b037de536a48216fd33f1a4d9fc4432eb256 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 
 struct A { int a; };
 struct B { int b; };
index 290daf2b4f12c29dfee1be54578d0eb14250f03d..16c14692f66dcadc9ee0949b9e96dbf942921e07 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 
 struct A;
 typedef int A::*param_t;
index caf31bd0621ac0224d00f478df5cfee7d8cc6be1..18a2ead1ede5551ef5319a6bba1c1ec78e2f63b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o %t -triple=x86_64-apple-darwin9
+// RUN: %clang_cc1 -emit-llvm %s -o %t -triple=x86_64-apple-darwin9
 
 struct A {
   int i;
index c8494c42cef9e31689b1099f13bfbe4197c2f1a1..355ba20e171f6959a91d280a3e82587ecd18999f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 
 // CHECK: ; ModuleID
 struct A {
index 5baea8791ef99f29e80ebe39f5b665e6b0a973ad..74b8ebab4a54db80e7b86e0b77e02ea62f8a312c 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -emit-llvm-only %s
+// RUN: %clang_cc1 -emit-llvm-only %s
 namespace A { }
 namespace B = A;
index 308f952c6dc23ee82002e32505c8981007cba067..f1c7dd9a867e543647982be4e0acacc38ca94d4c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t
+// RUN: %clang_cc1 %s -emit-llvm -o %t
 
 extern "C" int printf(...);
 
index a5eed28ccf951e6c952fbda17d8dd939a4e96463..38467ad31f9bcd2c7d5a1db004b204e30fa24e8f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 // PR5454
 #include <stddef.h>
 
index b73b7f0865ec34b66f008aadc13747a0f7b6774f..248cc9e0b93095f16c5b59f2086d26704dae10eb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 // pr5547
 
 struct A {
index 13f26b253cd98554e3bc66199f3279df930efd1b..71dbf1937e79730ad3959f097c4b0f1028abdb84 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -emit-llvm -o - | FileCheck %s
 #include <stddef.h>
 
 void t1() {
index 7bc52ad5210a65fafba479bba3e6f71f329de455..31bd47522ed4466fb44b5d0e1e29a27abdb2e76d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -std=c++0x  %s -emit-llvm -o %t
+// RUN: %clang_cc1 -std=c++0x  %s -emit-llvm -o %t
 
 int* a = nullptr;
 
index f17a4585e69f692fae2b59c0f0f69b6cb987b61a..0eb7a0609612c70d9d41464d8a07c88972f9d646 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm-only
+// RUN: %clang_cc1 %s -emit-llvm-only
 class T
 {};
 
index e318fbec18ae35ccb515fc03296db017b9fe0041..f74cfb38fd1337626cd1e889b82337a7acca50c3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // CHECK: store i32 49, i32* %size
 // CHECK: store i32 52, i32* %size
index 45b4e9f5402f0bf9447beebd2bacfe0d1d2b91cf..6bd53c95f739a517681b3eb5185e6f02c049cf07 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // CHECK: private constant [15 x i8] c"externFunction\00"
 // CHECK: private constant [26 x i8] c"void NS::externFunction()\00"
index ffaef32a13c9c44775bea08b77913e6fbf0054d3..a6f523e2d7dd01b446cd24128027340e3783005e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 
 extern "C" int printf(...);
 
index 52190b9373772c1658b9df0677248d281aa3e570..f6e5a2b5114a199c269bc632a268ab383c67e051 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang-cc -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -std=c++0x -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 // 13.3.3.2 Ranking implicit conversion sequences
 
index 88d4c1f37e6ef359943e870e78bbf020b2fb8e33..0312029259520dd09646a1a36179244f398a3d38 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s -O2 | grep "@_Z1bv"
+// RUN: %clang_cc1 -emit-llvm -o - %s -O2 | grep "@_Z1bv"
 
 // Make sure the call to b() doesn't get optimized out.
 extern struct x {char& x,y;}y;
index 9baad94a96e76e8f97abc335e131721194d82551..1bfb28a66a03c43192de90de18d8dc8106e25902 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 
 struct XPTParamDescriptor {};
 struct nsXPTParamInfo {
index 74dc0ea6d7b020794b9596154043af46e70b2f1f..6bec8bd8c3846c1a3d95743b4e645ce8b8fa020c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -verify -emit-llvm -o - %s | FileCheck %s
 void t1() {
   extern int& a;
   int b = a; 
index 58a980d5288c746685667f4a569443dc0dd182d7..ff5679248c25402fe520b8ef9f69b43c0ec9c55f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s -std=c++0x
+// RUN: %clang_cc1 -emit-llvm -o - %s -std=c++0x
 void *f1(unsigned long l) {
   return reinterpret_cast<void *>(l);
 }
@@ -14,4 +14,4 @@ unsigned long f3(void *p) {
 void f4(int*&);
 void f5(void*& u) {
   f4(reinterpret_cast<int*&>(u));
-}
\ No newline at end of file
+}
index a2a1cdd48c1070efc28d2c2acea61d01605789e4..451d3fb2704d590457fbf5de8ae26c83c124af4b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 
 // CHECK: _ZTS1B = constant
 // CHECK: _ZTS1A = weak_odr constant
index 7ba4d56b6633cbd53c3c4e18ec25326aef41d4bb..17c9cacae1a020b1149a9d77cbb25ddea570ffe1 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang-cc -I%S -triple x86_64-apple-darwin -std=c++0x -O0 -S %s -o %t.s
+// RUN: %clang_cc1 -I%S -triple x86_64-apple-darwin -std=c++0x -O0 -S %s -o %t.s
 // RUN: FileCheck --input-file=%t.s %s
 
-// RUN: clang-cc -I%S -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t.ll
+// RUN: %clang_cc1 -I%S -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t.ll
 // RUN: FileCheck -check-prefix LL --input-file=%t.ll %s
 // XFAIL: *
 
index e103b9906257f6e89f644f468323ef9a5fdedca2..dbb8f34d84148a876c838acdca86cefdbaf33240 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - -std=c++0x -verify
+// RUN: %clang_cc1 %s -emit-llvm -o - -std=c++0x -verify
 
 static_assert(true, "");
 
index 6e2abcc1adea8aac789ca55b36cb547a85caba71..53a1d5e4c4504d3678164b4bc8d7b23b110ee453 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s
+// RUN: %clang_cc1 -emit-llvm -o - %s
 struct S { 
   static int i;
 };
index 2c452022c525f1ea6297d32551e7d33b2e6757b5..a926c0a2d32df3ef6e2c682a82464a862eac2c46 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=x86_64-apple-darwin9 -emit-llvm %s -o %t
+// RUN: %clang_cc1 -triple=x86_64-apple-darwin9 -emit-llvm %s -o %t
 // RUN: grep "call i32 @_Z5func1i" %t | count 3
 
 extern "C" int printf(...);
index e229dd4aa734c7c4cbe4049cf8bd06660abe22ae..65ab3bb1262df5fb7a3768a42fd24b4497eb2db6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 
 // Make sure we don't crash generating y; its value is constant, but the
 // initializer has side effects, so EmitConstantExpr should fail.
index 91085440ae78dbd374bf9e199f6b822f8796ae3f..2ad6e9411f48db712e06de533cf2dcb29c6b2033 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 struct A {
   A();
   ~A();
index d439cbd5004974a6c7e01097793e6ffd89401058..94fd9aa12ced248a0e87fbbe16aa4634e8545a4f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 // CHECK: ; ModuleID
 template<typename> struct A { static int a; };
 
index ecf075fcc11db8e685ee8427a1c976bc392d8e0a..e1ef7eb260a2150f98ab799a24801373ac70c654 100644 (file)
@@ -1,5 +1,5 @@
 // Output file should have no calls to error() with folding.
-// RUN: clang-cc -triple i386-unknown-unknown -O3 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -O3 -emit-llvm -o %t %s
 // RUN: FileCheck %s < %t
 
 static unsigned pow(unsigned Base, unsigned Power) {
index f8454282badc1b4651a067c5d15fdb574063fc5e..921113a148414853e62f8a360c1721425ac55947 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 template <typename T>
 class A
 {
index 8013ba44c533605fab3947a751497527c15457e7..5d573d6e829b765b2d44812eb62fc5f00db987cb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 template<typename T> struct A {
   virtual void f(T) { }
   inline void g() { } 
index e55027460f0c37ef6efcf054fc73775ddd0cfe71..f6b183fc84b5a6c11413b234668f8728d5aee6b7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
 struct A {
   A();
   ~A();
@@ -201,4 +201,4 @@ void f11(H h) {
   // CHECK-NOT: call void @_ZN1HD1Ev
   // CHECK: ret void
   f10(h);
-}
\ No newline at end of file
+}
index 7fe556312bab48ab677ccd529473c1e8e02d6eeb..9449618f2f2c360cd16079fe9a32fe4f608354d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 
 int val = 42;
 int& test1() {
index 90d6e655d8d89814d23fe99d0cde56b737660a78..343dc6575a71757cb0850561f342264726b1c6c6 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc  -S %s -o %t-64.s
-// RUN: clang-cc  -S %s -o %t-32.s
+// RUN: %clang_cc1  -S %s -o %t-64.s
+// RUN: %clang_cc1  -S %s -o %t-32.s
 
 extern "C" int printf(...);
 
index b65b9f9d4f2f3010ef62f998835deb4b46dc0dc7..a11c67e12890958addeaea9b8f0db0ec423f33b4 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -emit-llvm-only -verify %s
+// RUN: %clang_cc1 -emit-llvm-only -verify %s
 
 bool a() { return __is_pod(int); }
index 1306abf4a63d9924f08aec7769d03077bfb0546d..7e42859ac93e6714d5a449f663a3a2af3057189a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t-64.ll
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t-64.ll
 // RUN: FileCheck -check-prefix LPLL64 --input-file=%t-64.ll %s
 
 extern "C" int printf(...);
index db0ba2f483b87f1bf234788e80464ce948b9b8e4..3eb6b5da7d0c1d1744073bb4570251ae13e43e67 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 struct A { virtual void a(); };
 struct B : A {};
index c1a8c236af8d60fa80217b83f3b649e7faf85da0..dfc36194892160a6440d114947ed4e8a6d3a08e1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm-only
+// RUN: %clang_cc1 %s -emit-llvm-only
 
 class Base {
 public:
index 704d735c776efca20837cfffe8040adec4e2bf51..a4346bade7865294a6ed2ddeef41abf05ce4e190 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -o - -emit-llvm %s | FileCheck %s
+// RUN: %clang_cc1 -o - -emit-llvm %s | FileCheck %s
 // PR5483
 
 // Make sure we generate all three forms of the destructor when it is virtual.
index 9cfd58dae2d35c3a22684639417338d42e0f2de3..6a58c50b5b791f96cc9ea01b2b0bb928f649521e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 // CHECK: @_ZTI3foo = constant
 class foo {
    foo();
index 3fbdd2d9cde00d9ede814464ebf97f107f13f38f..76a1240731b2c554cb596a69ce8aab767c6538a0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 template<class T> class A {
   A() {}
index 4b361cfc3d2c90d74c91cab87611015d0cab322d..0cd958bf3208176a5d246b25285affcff7019ea6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only %s
+// RUN: %clang_cc1 -emit-llvm-only %s
 
 struct A { int a; virtual void aa(int&); };
 struct B { int b; virtual void bb(int&); };
index e3b2afe2f770db647e6e86c94510133290463525..0acd264f18784cb57afc2c26df85cee05cfd8b45 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -O0 -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -O0 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
 
-// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t-64.ll
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t-64.ll
 // RUN: FileCheck -check-prefix LPLL64 --input-file=%t-64.ll %s
 
 
index eae868f9b69c32fbdeed3ef7d79274f9947e2a8f..73b7c1c95299b9b16c2abada6ae0fa9419b60e63 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple i686-pc-linux-gnu | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple i686-pc-linux-gnu | FileCheck %s
 
 struct A { int a; virtual int aa(); };
 struct B { int b; virtual int bb(); };
index e791758aca9f32c3d1cec327071205bebc569e67..1ee598afdc3f4a912f7e46f75a028078f964e8d9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 struct basic_ios{~basic_ios(); };
 
index 4b069ead02b87078364ce96906bd50f5d2473b04..1eaef3fa3af44c119258be74011fbf47c2eae81d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s
 
 struct A { 
   A();
index 976f56278ee0ee5ddd1850de0e86747eee51109e..ecfcad232029322cc4f6df229665bf093aab52b8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s
 
 struct A {
   virtual ~A();
index b95218a322f6668592a9dc3cfe5a4d95fc0aed5a..90f66a817db11d6911a2f50a5ee0a1603329a189 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 struct box {
   virtual ~box();
index ca5acbabcc993acf616c6ffe9e19cc47a5964546..b927dec8f106008b1b8cb136d48666672190d88e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // PR5021
 struct A {
index 1e1e96286e7980e26f2bfc7c356298f16eb77d90..50e04357b390304541eb10d26d71a40e5698737c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 
 struct A;
 
index d179e9b78607ae14df542a4ad35ac766d57e1e14..70bc6fceb36129339d899f0d20219df788d93514 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
 
 struct D;
 struct B {
index 52b62edd2944758db824c10c0896a3aa86a47a81..509d40ae2fef3a8e767837129dc8d12c818102d5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm-only
+// RUN: %clang_cc1 %s -emit-llvm-only
 
 struct A { virtual ~A(); };
 struct B : A {
index 018052bb472c54fd5c52bc1102ef7f7a1d85df23..42d38e55a04f3f8f85480ab88e74633e4882fc11 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 struct A {
   virtual int operator-() = 0;
index 3d99a021607375d340c522eae0ee5fb3f55aaee4..285e3da75924740f94f7de1e4170f965c7815b1c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 struct A {
   virtual ~A();
index a91d9790fe65c58774063f742fc4b27751ca4f5a..cc419fd4f522d514b9ebc57158921afe5600af04 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only %s
+// RUN: %clang_cc1 -emit-llvm-only %s
 struct A
 {
 A();    
index b0371c0e0ba7f7c72382259511dfe94d24fe43ca..90e8ea66f769866110cc282c2c40c7f9774b1aa2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 // PR5697
 namespace PR5697 {
 struct A {
index f2d914feed9ede1ddc85b985941ce7022a952cc4..6d3cf240096baf13ec085a79b56b3381823d92f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 
 namespace {
   struct A {
index 0e4c2abc1074a70fba1cd2307101743ba1a85937..bdee1bc252ee471d2d408bb5fbb648841a7aa49b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
 
 // CHECK: [[i64_i64_ty:%.*]] = type { i64, i64 }
 // CHECK: [[i64_double_ty:%.*]] = type { i64, double }
index 65fbf9bc092c0d7d3194f6576c58bc481c22b962..ce01bdb489abdf7f846163a812f3c089f44a5fb2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @protocol P @end
 
index 2d2adeb3d88e36fe19cb0d799cd43d94105b179c..84218a968cc8971dfd135052bb7a4cc6a5b9e1d3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -o %t -w  -g %s
+// RUN: %clang_cc1 -o %t -w  -g %s
 
 
 @class NSString;
index 91ae9b3c870fb5836ad78abfdc856554efe81649..5d2327ad274bb96b07ad65e06d3d53f5870bb508 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -g -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -g -emit-llvm %s -o - | FileCheck %s
 // PR4894
 //
 // This test is actually just making sure we can generate the debug info for the
index 107361f9975dca7a1690aed0a0cd572b86046098..978b3cc304037bc2980efe8be3233fbe04c0ea7f 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
-// RUN: clang -cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o %t %s
 
 @interface Object
 - (id) alloc;
index 52fd3098bacf618d4db5089bd2f51780e12e0b98..9ab3fef302671a167b1ee032583ba7096962005c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface INTF
 {
index 2a8c31cde757d80a2e8fff84bc236567ea80f354..e0eebe16e882b2d4aa3324f70370b57f20bf4257 100644 (file)
@@ -1,5 +1,5 @@
 // RUNX: llvm-gcc -m64  -emit-llvm -S -o %t %s &&
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUN: grep -F '@"OBJC_IVAR_$_I0._b0" = global i64 0, section "__DATA, __objc_const", align 8' %t
 // RUN: grep -F '@"OBJC_IVAR_$_I0._b1" = global i64 0, section "__DATA, __objc_const", align 8' %t
 // RUN: grep -F '@"OBJC_IVAR_$_I0._b2" = global i64 1, section "__DATA, __objc_const", align 8' %t
index c1b001b66306f7e187b37050177a5510886c5fa3..76bfd59e41d1442ad3b6bc14abf1bc394cf56dd3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -emit-llvm -o %t -fobjc-gc -fblocks -triple i386-apple-darwin10
+// RUN: %clang_cc1 %s -emit-llvm -o %t -fobjc-gc -fblocks -triple i386-apple-darwin10
 // RUN: grep "_Block_object_dispose" %t | count 6
 // RUN: grep "__copy_helper_block_" %t | count 4
 // RUN: grep "__destroy_helper_block_" %t | count 4
index 4949b45cddeee008d0ad91818568c3302ca02600..15160cc52b0631452a8f074d65abf21b217c7f3c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -emit-llvm -o %t -fobjc-gc -fblocks -triple i386-apple-darwin10
+// RUN: %clang_cc1 %s -emit-llvm -o %t -fobjc-gc -fblocks -triple i386-apple-darwin10
 // RUN: grep "objc_assign_strongCast" %t | count 2
 
 // This should generate a strong cast.
index 279f21a528224949ba04c3bb5f71a66aa699f6a8..d8379b9f9d14cf867952c55c7be667bcf9bac682 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -fblocks -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-llvm -fblocks -o %t %s
 // RUN: grep 'object_assign' %t | count 11
 // RUN: grep 'object_dispose' %t | count 29
 
index 536d158046b0b6c676ccd51ae0a4dd540de80f86..6dc14107b7c7f4c791e05ae26603538228957831 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -fblocks -o %t %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -fblocks -o %t %s
 // rdar://6676764
 
 struct S {
index 595d2af2985770e8029ed5cc9c93d63618d75de1..6f02aff96de1b74c8d248e856c9e2eeaa2f87adb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface BASE
 + (int) BaseMeth;
index 599e6e7154aa42dd8ca124fbb860fae3255d978e..bc142ce0dbe7f1fd9e88a3f291f9a0f78a2991b6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface Test { }
 + (Test *)crash;
index 45d7a8671ba7d6297a80e3f17fe6ae8829f6ef82..192a808327830c82f6e6c85f058637972d40ed83 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -o - %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-llvm -o - %s
 
 
 @interface I0 {
index aca2745159407552c728e7a2bade17dbacf2d6cd..fcc53b841d59d5a299d3808a714c71a403e30952 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface Int1 @end
 
index 08d30ba20f84f0125ae01b1ce5311fdcf3a02327..227694969bfe896fe6fea2831131b4345577813f 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
-// RUN: clang -cc1 -fgnu-runtime -emit-llvm -o %t %s && grep NXConstantString %t | count 1
-// RUN: clang -cc1 -fgnu-runtime -fconstant-string-class NSConstantString -emit-llvm -o %t %s && grep NSConstantString %t | count 1
+// RUN: %clang_cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fgnu-runtime -emit-llvm -o %t %s && grep NXConstantString %t | count 1
+// RUN: %clang_cc1 -fgnu-runtime -fconstant-string-class NSConstantString -emit-llvm -o %t %s && grep NSConstantString %t | count 1
 
 id a = @"Hello World!";
 
index 9ee61028322e7bc71d84f9f616b16eecc4678c8b..6f903a0d6ba2b525a34f26606f5b82ce8a1c93f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface Object
 - (id)new;
index 679d6da661018ae32ed0e0c959466bf31cd32e20..01e6bd4feb3316790e4de14cf6f190a7c395f690 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -cc1 %s -emit-llvm -o %t -triple i386-apple-darwin10
+// RUN: %clang_cc1 %s -emit-llvm -o %t -triple i386-apple-darwin10
 // RUN: grep "llvm.used" %t | count 1
-// RUN: clang -cc1 %s -emit-llvm -o %t -triple x86_64-apple-darwin10
+// RUN: %clang_cc1 %s -emit-llvm -o %t -triple x86_64-apple-darwin10
 // RUN: grep "llvm.used" %t | count 1 
 
 
index bace9db1b82422a3211fa3d1db13e2dfe2f3cee2..2b10e2bd67b82fbad57d73b31abafe9b4d6fb01b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -g -S -o %t %s
+// RUN: %clang_cc1  -g -S -o %t %s
 // RUN: not grep 001 %t
 
 @interface F 
index 96d4cdf4b5008a4eecc954fab0de933f4df8b1e9..417bcb4b9dfe1d953ed5b399a5fbfbfc8e67ea90 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 int printf(const char *, ...);
 
index 5a40fd8726d2c2bc34d11789935cbe83f1f4ce43..6282ea491f503eaafd957cebb7e52db3899694bc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 int printf(const char *, ...);
 
index dd4867cfb79e68ce08b2a8a6797a39e7072b3ea4..af7ad26d2f4bc4fa1e109bd895bb398dc52b7487 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "{Base=b2b3b4b5}" %t | count 1
 // RUN: grep -e "{Derived=b2b3b4b5b5b4b3}" %t | count 1
 
index 6c20c424058b9e2c62df2d8d6067ff9266d348e4..9e1423755a79a8bc2ced3bb4e80e71a40d5e72ce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "@\\\22<X>\\\22" %t
 // RUN: grep -e "@\\\22<X><Y>\\\22" %t
 // RUN: grep -e "@\\\22<X><Y><Z>\\\22" %t
index 3706ab6a26838b642d02df7460ee476aa1158f7b..4b39cd718ea2fbbb247f28d4f0698b463e3e8a97 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "\^i" %t | count 1
 // RUN: grep -e "\[0i\]" %t | count 1
 
index 149205cdecaa97c56810e89a013401e0bb046cd5..117e1733486effdb0e0f2be0c13a380da16b5d84 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o - %s -O2 | grep "ret i32 1"
+// RUN: %clang_cc1 -emit-llvm -o - %s -O2 | grep "ret i32 1"
 
 int a() {
   return @encode(int) == @encode(int);
index a12d900589649f7be365839ec8a7867d16dc5d63..a27ffb7c5d1d352c0a60487af31d778896654df4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple=x86_64-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple=x86_64-apple-darwin9 -emit-llvm -o %t %s
 
 // RUN: grep ji.00 %t | count 1
 char *a = @encode(_Complex int);
index 060161d1a998d2f14d7587a2be58b0714272bb7b..9d1cf6cec3c42c7b5a485da3b258770e8fa34cae 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "\^{Innermost=CC}" %t | count 1
 // RUN: grep -e "{Derived=#ib32b8b3b8sb16b8b8b2b8ccb6}" %t | count 1
 // RUN: grep -e "{B1=#@c}" %t | count 1
index fab0ee47b501c2985746efe53377476b2fc4784e..354ff32c0ef95bceed34c4498053af9fe3d517d4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 void p(const char*, ...);
 
index fae745b1ff8406b0bd0fc16686b2f8ead63061d4..0ab7a8166453159f084ecf812bc9b62793ba6f84 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 
 @interface BASE  {
 @private
index e265e6f754e8b126de721a1b156390b98a07a03f..5e08ef9d55d2bc1a27723ab4633ec3151b77c313 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fvisibility hidden -fobjc-nonfragile-abi -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -fvisibility hidden -fobjc-nonfragile-abi -emit-llvm -o - %s | FileCheck %s
 // CHECK: @"OBJC_IVAR_$_I.P" = hidden
 // CHECK: @"OBJC_CLASS_$_I" = hidden
 // CHECK: @"OBJC_METACLASS_$_I" = hidden
index 502aaebb696434a2e8724639828a5a7d3a9e6aff..0b77e736b903fd352a12072a3fa093da3aa3a68e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 __attribute__((visibility("hidden")))
 @interface Hidden
index 73b21b0c652de3bb717bc3fd96e6ff71fd416ff2..dc0bac3000e74f49fad16ca23c226defd5f7bd6a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 typedef struct objc_class *Class;
 
index 8167ef68ca2e8e16251fae4830be5e09b107528a..17f75319a0da80476f3543bf3379ec23e1d78ac2 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin-10 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin-10 -emit-llvm -o %t %s
 // RUN: grep -F '@"\01L_OBJC_IMAGE_INFO" = internal constant [2 x i32] [i32 0, i32 16], section "__OBJC, __image_info,regular"' %t
index 25d0b8f66984c89a2bed3b06da7a1470e0b542fb..a21e869229a78ae06b4addb35c6199901d818808 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -F 'declare i8* @objc_msgSend(...)' %t
 
 typedef struct objc_selector *SEL;
index 9d17d87451426348da6b783e02ac19c948715ecc..db1da314b9e65471bb52b468513fcd93d40d8030 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
-// RUNX: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
+// RUNX: %clang_cc1 -emit-llvm -o %t %s
 
 @interface A
  -(void) setOk:(int)arg;
index a8a7c6310863956db56e4eacc9a8e258b74781e8..2800b41c5246967bd565c47105b0dc3fe8cfa4cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUNX: llvm-gcc -m64 -emit-llvm -S -o %t %s &&
 
 // RUN: grep '@"OBJC_IVAR_$_I3._iv2" = global i64 8, section "__DATA, __objc_const", align 8' %t
index 37efed09605031c37c52e65030c3aa98a10ef251..17d56f7b1db42269a50b37891348de28dc8ae075 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -O3 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -O3 -emit-llvm -o %t %s
 // RUN: grep 'ret i32 385' %t
 
 void *alloca();
index 9a7d4aa8d3a6cfc5337ae77d70ae670c65c67503..1b6a16b1b8be1e60a4a691be4b6a8f8503638b1a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 @interface I
 {
   struct {
index 833f6dd0724550caae1789fa8fd0502865a7b18b..60ce1dff57de842dc72816c4dd2ba594341cc382 100644 (file)
@@ -1,5 +1,5 @@
 // RUNX: llvm-gcc -m64 -fobjc-gc -emit-llvm -S -o %t %s &&
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep '@"\\01L_OBJC_CLASS_NAME_.*" = internal global .* c"A\\00"' %t
 // RUN: grep '@"\\01L_OBJC_CLASS_NAME_.*" = internal global .* c"\\11q\\10\\00"' %t
 // RUN: grep '@"\\01L_OBJC_CLASS_NAME_.*" = internal global .* c"!q\\00"' %t
index 54c37e0ac0565de500a695e57ba6ad047bad30f1..e7fd1301b8107f60969a02c06d400ac3630759bc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-gc -triple x86_64-apple-darwin -O0 -S %s -o %t-64.s
+// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -O0 -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
 
 @interface NSObject {
index 0f6e7ca91612e743f47440e636d2db1ede0e9cb1..fe178aba14bdc474e5cf7f6d4717f94b6d810e70 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -o - %s
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-llvm -o - %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o - %s
 
 // rdar://6800926
 @interface ITF {
index 5ab66ae4595021b90273ce32f0e34a838b5b0f02..a82f0ceaf76dc55de7de37b226e56a5477be0479 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep '.lazy_reference .objc_class_name_A' %t | count 1
 // RUN: grep '.lazy_reference .objc_class_name_Unknown' %t | count 1
 // RUN: grep '.lazy_reference .objc_class_name_Protocol' %t | count 1
-// RUN: clang -cc1 -triple i386-apple-darwin9 -DWITH_IMPL -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -DWITH_IMPL -emit-llvm -o %t %s
 // RUN: grep '.lazy_reference .objc_class_name_Root' %t | count 1
 
 @interface Root
index 47d010f2f502e158e1e20aa19c408374c481e217..3e8697fc9376058cd2ab0d9fa0decd6df9735ec4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 void f0(id a) {
   // This should have an implicit cast
index 55bc23324996a481f389562c4865b79381527d31..2a6e3dcbbda3c7ad5fbf1bcf8fc9467a2d4a2435 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 int printf(const char *, ...);
 
index 113486dde4520b5f9b8362ac12e1d583f45eec61..5f77a8e327eb1516c570c4217f87397a17b93abe 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep "objc_msgSend" %t | count 6
-// RUN: clang -cc1 -fgnu-runtime -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fgnu-runtime -emit-llvm -o %t %s
 // RUN: grep "objc_msg_lookup" %t | count 6
-// RUN: clang -cc1 -fgnu-runtime -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fgnu-runtime -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUN: grep "objc_msg_lookup_sender" %t | count 6
 
 typedef struct {
index 4956cdb8e4c33de61e7bc158020514b185bbd0cf..34cc83da315ae4f05f08ccd0302f425f93e7a2bc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
 // RUNX: llvm-gcc -m32 -emit-llvm -S -o %t %s &&
 
 // RUN: grep '@"\\01L_OBJC_CATEGORY_A_Cat" = internal global .*section "__OBJC,__category,regular,no_dead_strip", align 4' %t
index 7a3e341a312add98be301802d443e7c4ab2e1bf1..886d53a8287e78b6bddb0a3818be09ee47906690 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUNX: llvm-gcc -m64 -emit-llvm -S -o %t %s &&
 
 // RUN: grep '@"OBJC_CLASS_$_A" = global' %t
index 5d4841e366be815a65a7a8350e9f9e5862a1ddd7..dc65382e571f58319fe702a0817d496b01069ef6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 
 // RUN: grep '@"OBJC_METACLASS_$_A" = global .*section "__DATA, __objc_data", align 8' %t
 // RUN: grep '@"OBJC_CLASS_$_A" = global .*section "__DATA, __objc_data", align 8' %t
@@ -10,7 +10,7 @@
 // RUN: grep -F 'define internal void @"\01-[A im0]"' %t
 // RUN: grep -F 'define internal void @"\01-[A(Cat) im1]"' %t
 
-// RUN: clang -cc1 -fobjc-nonfragile-abi -fvisibility hidden -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -fvisibility hidden -emit-llvm -o %t %s
 
 // RUN: grep '@"OBJC_METACLASS_$_A" = hidden global .*section "__DATA, __objc_data", align 8' %t
 // RUN: grep '@"OBJC_CLASS_$_A" = hidden global .*section "__DATA, __objc_data", align 8' %t
index fd759e351029ab6735d7743d75f8b4316f570d8b..50e597c8d1a8bffe059d542f1fa1f0f54e279b19 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
 
 @interface I0 
 @end
index dd7439def218a37c69f020673a2807e1392700c0..627b913ab06724afe17c86b1e24b07f333ecd18e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
 
 
 extern int printf(const char*, ...);
index 3e8e5ba56e0c975be70d81534fe74fd4a60d61a7..4831c22463b8411d2a2588ee3f2e1894ee6a5213 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface Object
 - (id) new;
index 38ea739053faa841471d8a34b1aefa71267b4a26..0bd999689dd183599928c862018c24d82b97e057 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 
 @interface NSObject
 @end
index 0bca6401c99978e1eb942e5660922712af4fc76d..021db97de9fa1f6cbfda19d4909ea9e8f0f1aafd 100644 (file)
@@ -1,5 +1,5 @@
 // RUNX: llvm-gcc -m64 -emit-llvm -S -o %t %s &&
-// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUN: grep '@".01L_OBJC_LABEL_NONLAZY_CLASS_$" = internal global \[1 x .*\] .*@"OBJC_CLASS_$_A".*, section "__DATA, __objc_nlclslist, regular, no_dead_strip", align 8' %t
 // RUN: grep '@".01L_OBJC_LABEL_NONLAZY_CATEGORY_$" = internal global \[1 x .*\] .*@".01l_OBJC_$_CATEGORY_A_$_Cat".*, section "__DATA, __objc_nlcatlist, regular, no_dead_strip", align 8' %t
 
index 785378ae5af81a2f00faa93a28f0b5665aff86f0..ff3f2a0a9088cd3b13b6fed3bb1418ae44132cd8 100644 (file)
@@ -1,7 +1,7 @@
 // 32-bit
 
 // RUNX: llvm-gcc -m32 -emit-llvm -S -o %t %s &&
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep '@"\\01L_OBJC_CATEGORY_A_Cat" = internal global .*, section "__OBJC,__category,regular,no_dead_strip", align 4' %t
 // RUN: grep '@"\\01L_OBJC_CLASS_A" = internal global .*, section "__OBJC,__class,regular,no_dead_strip", align 4' %t
 // RUN: grep '@"\\01L_OBJC_CLASS_C" = internal global .*, section "__OBJC,__class,regular,no_dead_strip", align 4' %t
@@ -14,7 +14,7 @@
 
 // 64-bit
 
-// RUNX: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s &&
+// RUNX: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -o %t %s &&
 // RUNX: grep '@"OBJC_CLASS_$_A" = global' %t &&
 // RUNX: grep '@"OBJC_CLASS_$_C" = global' %t &&
 // RUNX: grep '@"OBJC_METACLASS_$_A" = global' %t &&
index d54b8026414f6a46ef3e7babc78282daa614e6d3..aefe97d0f2a7d7eb0362ed3ee0d1324ceb5a25d4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_ivar' %t  | count 14
 
 typedef struct {
index 9ed6fdf0f04ead01f79c79162c75e767e5820c53..e127242df257865bdeddfa525190f60a16a79c8c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_memmove_collectable %t | grep call | count 3
 
 static int count;
index 35854f234ef6e4ee76e2b35376138c1abe479423..62b1fb38383208ed1cd50ac7371f33f6196dffb1 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -S %s -o %t-64.s
+// RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang -cc1 -fblocks -fobjc-gc -triple i386-apple-darwin -S %s -o %t-32.s
+// RUN: %clang_cc1 -fblocks -fobjc-gc -triple i386-apple-darwin -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 @interface NSObject 
index fab4f82f39ae10615342dc63f86fd4e5fba122f3..ff3ecef72d8d767e71b6232fcbac70bfa9bf8e46 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_global' %t  | count 26
 
 @class NSObject;
index 1d5b97316b8db81b59c5556d0b9de7c6d86a88e1..e50cc5b53729c037c8aaaf5e30536c89063b57ee 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_assign_ivar %t | count 6
 
 @interface I @end
index 2992cef1ed807fa82f1913ca12654e7f41041839..1ff2dd3d8de27def32a7ac405f3f42c9ea515cbb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fblocks -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_strongCast' %t  | count 4
 
 @interface DSATextSearch @end
index 649c3e925e31c5caaee7a4a96f508ea01df54a06..0824f4086537a80dddc4660126ec90e17e9c14a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface PDFViewPrivateVars 
 {
index 17d4e1046e46f07ba280b171d1d6680e58776e77..544c329c5e2016b36095e9c35e675f5b6ce2c394 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep 'objc_assign' %t | count 0
 
 typedef struct {
index c5f68d2c5b0eca52b05caa2f86b72c4c7b0cb93a..0f18d6fe159bc0b4913c295c0a29c465f4013037 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "T@\\\\22NSString\\\\22" %t
 @interface NSString @end
 
index d8b86bc72ff78387fa4013a334187be3956c6ad0..0db0cb85bc265698af7636d711222f461092a2f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s
 // RUN: grep -e "T@\\\22<X>\\\22" %t
 // RUN: grep -e "T@\\\22<X><Y>\\\22" %t
 // RUN: grep -e "T@\\\22<X><Y><Z>\\\22" %t
index 2d49ef78d7cf8fc716b58d3db00ef834f2851c5c..2c3317a4854de24768c7d68684ed11ce94c5d0a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-unknown-unknown -fobjc-gc-only -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fobjc-gc-only -emit-llvm -o %t %s
 
 @interface I0 {
   I0 *_f0;
index ed083c9de9291689f273968caa84eb1d63ddce7f..509f21a342ae7fdde9b0954022e8045a0e89371b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
 
 @interface I {
   __attribute__((objc_gc(strong))) int *i_IdocumentIDs;
index e8cacd1d6fb0d6083b6199da288c1e5ab22ce7bb..9ef463c0df100de8878e8743c249146156a09ffd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-gc -emit-llvm -o %t %s
 
 @interface I {
   __attribute__((objc_gc(strong))) signed long *_documentIDs;
index 41a76f0152eb90c1bf88ddd4196fb967239cb16d..42fa7738f44e6be788bd7a734c9c23708bdde201 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -e "objc_assign_weak" %t | grep -e "call" | count 6
 
 __weak id* x;
index 346485a3668bfa6a8cafdef9649cdb56d8b739f0..cb8ca5ff4c077ec05b806cf0d24b775abc0b3765 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 
 @interface PBXTarget 
 {
index b5bb87052e45b835e079c85ec5bfd1fad7e864e7..946c79b5bcc5aadc122a0c6aee0bba2b1dd60658 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
 
 __attribute__((weak_import)) @interface WeakRootClass @end
 
index dc8ced1b0c3157386859d44fa7216c4676a07a44..a6fb7fa2751fab7ffb08141092805f93de5cafa2 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
-// RUN: clang -cc1 -triple i386-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-gc -g -emit-llvm -o - %s
 
 // rdar://7252252
 @interface Loop {
index bcdb25c03068fca8c7d9b5ab33cf2999c269fd50..cfe1e95952fecfc8adda9748f578d59b0269f421 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
 @class NSObject;
 
 @interface Foo  {
index 35a812f9620c4852f838b7f499fe8e5208fb6bd0..9a76c6eb8208c2d5b72b7a993caa436dd13ae621 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_global' %t  | count 7
 // RUN: grep -F '@objc_assign_ivar' %t  | count 5
 // RUN: grep -F '@objc_assign_strongCast' %t  | count 8
index ecb038586cacde4f9297dee1238511eabd5018ab..626083b1c42d50676dcd6532b29ff19a70afedaa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_assign_ivar %t | count 3
 // RUN: grep objc_assign_strongCast %t | count 6
 
index 8b672cc6f0fa0e5930c2a3642220202ac5d656e9..11b4ab4e96046430f2cf0185d1eec61428a207db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_assign_global %t | count 3
 // RUN: grep objc_assign_strongCast %t | count 2
 
index 8241af7b3026a05fd19f4b17010b589e37b399ac..babe26d55a53ef2c69923b0ecdce1c0f4fc8c6c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep objc_assign_ivar %t | count 0
 // RUN: grep objc_assign_strongCast %t | count 5
 
index 5877064cf31093f9b3fa931c062fdacc7cb6dab6..0934e0a46ac30db1d226a5c74950de4e611d426a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o %t %s
 // RUN: grep -F '@objc_assign_global' %t  | count 21
 // RUN: grep -F '@objc_assign_ivar' %t  | count 11
 
index 7e1870e1e3460cc102e5ec340b95374adf611b6a..6369076174b37e430d86e9da4d6f18e9c01cc1f3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm %s -o %t
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o %t
 
 @interface Foo 
 {
index abf1e27e18b8696b3ffcf3f9acf0beda9c58bd40..4fd1429f282719b205ff6d56a2040c32774bcd08 100644 (file)
@@ -1,5 +1,5 @@
 // rdar://6657613
-// RUN: clang -cc1 -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 @class C;
 
index f75eef320da18411f7403f5fc57d18e97151e832..772093bd8a0e1b756f4d88a8d153bc331d50df12 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck %s
 
 // CHECK: @"__func__.-[Foo instanceTest1]" = private constant [21 x i8] c"-[Foo instanceTest1]\00"
 // CHECK: @"__func__.-[Foo instanceTest2:]" = private constant [22 x i8] c"-[Foo instanceTest2:]\00"
index 263f76dda59c8a58e15ae3a77fdaa09537a57abd..8ba87de3534a7f1f2cc87b45af828ed57cebc46f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface Object
 - (id) new;
index a5c95c7fba6f0f9dbed3df2008f7b4364efe3399..2dd32bb4f3732425c8d37a75bc177c2913f9457a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 typedef struct {
   unsigned f0;
index 6d1b775408c95ac31c1a2899b023733863a36d09..59200eba0905ca6b91570d440a253a6e673b883e 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm -S -o - %s
-// RUN: clang -cc1 -triple x86_64-apple-darwin9 -emit-llvm -S -o - %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm -S -o - %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-llvm -S -o - %s
 
 @interface I0 {
 @public
index 8d8ae90b3537952803ae4537e4e320cbb4293372..f22b0517735d33cb7cc9e81325b2909ec835d934 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @protocol NSObject
 - (void *)description;
index f2660fe7a791e9ff037758ef108540b63923991d..d75c02eaa20f9966ebe0bbd047e1175c86230efc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface Object
 - (id) new;
index 2d753b2bbb0d4bbb2829d599ec0e74f84de98195..a5d0dc851dc40be07d24ee22a0d72de40ed00dd6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s 
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o %t %s 
 // RUN: grep -F 'l_OBJC_$_PROP_LIST_C2" = internal global %8 { i32 16, i32 3' %t
 
 @protocol P 
index 43f74fb07b43cc283a8d11a7028f0bfef64b8129..d155ca811af9ec3c17d766df806ec33f04d7414b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
+// RUN: %clang_cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
 // RUN: grep -e "SiSetOtherThings:" %t
 
 @interface A 
index d4868245156ac5ab946f21e0a0feb51085623778..7160b16c447e3727f245e26404ea7f9fe315cb43 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 int printf(const char *, ...);
 
index ce1d0f3cea39c0f878f187959f0171b975efb53d..d2955b1e3a1108bf697860a593ec9d9c475e8955 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -S %s -o %t-64.s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -S %s -o %t-64.s
 // RUN: FileCheck -check-prefix LP64 --input-file=%t-64.s %s
-// RUN: clang -cc1 -triple i386-apple-darwin -S %s -o %t-32.s
+// RUN: %clang_cc1 -triple i386-apple-darwin -S %s -o %t-32.s
 // RUN: FileCheck -check-prefix LP32 --input-file=%t-32.s %s
 
 @protocol MyProtocol
index f59de81f8b377211de08bffb39d93915f2451638..8566949e5c943a2ba68ee9e1c1e62e3debb130f1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 
 @interface BaseClass {
     id _delegate;
index 7e4c45d398e192c2cbfd15a7d9ce9c8b6e150be0..2038e60c4e61a3cedbf100c8d7e3c84c5d815c73 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
+// RUN: %clang_cc1 -emit-llvm -triple=i686-apple-darwin8 -o %t %s
 // RUNX: llvm-gcc -S -emit-llvm -o %t %s &&
 
 // No object generated
index 1e765df14bef336d5eaca6ef87e7ed35897a19c6..0f24a1cd1fc106d55f53ad19eb3e20b37f3d8e0b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm %s -o %t
+// RUN: %clang_cc1 -emit-llvm %s -o %t
 
 void p(const char*, ...);
 
index d5832bc8784213b779cb8fcde4ea96f43bce05ee..203d87fff06563f4616f74e791389f8ad0f93846 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // RUN: grep -e "^de.*objc_msgSend[0-9]*(" %t | count 1
-// RUN: clang -cc1 -DWITHDEF -emit-llvm -o %t %s
+// RUN: %clang_cc1 -DWITHDEF -emit-llvm -o %t %s
 // RUN: grep -e "^de.*objc_msgSend[0-9]*(" %t | count 1
 
 id objc_msgSend(int x);
index 317c5d3ca97cb2bf8baa62d10e6a14e48f283618..72a8564e0888874e150d159fed8a767589ca27e1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // pr5025
 // radar 7405040
 
index 64ba1419c0f4f5d7f7ed8a7d9ddaf24874a94a7f..c19663cec45a673513f9549635080fed34fa9403 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface SUPER
 + (void)Meth;
index 0f811040d5465d8482e64819bfaa38c1bde461ac..9dfde2d1de3abcbd0832fda085399b82b6a74803 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 
 @interface B
 {
index ebb443b81aff71c620dfae10d982a9e9654b9c01..5efc234dcafd7a786b814bace4c64d09b5ddab47 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck %s
 
 @class  Some;
 
index 8bb19142bdcdefbedc3db9ec2d4bb30006642d08..1af82345e0bc1b2946b5c2452c50fc16d516db45 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -triple=i686-apple-darwin9 -o %t %s -O2
+// RUN: %clang_cc1 -emit-llvm -triple=i686-apple-darwin9 -o %t %s -O2
 // RUN: grep 'ret i32' %t | count 1
 // RUN: grep 'ret i32 1' %t | count 1
 
index fb61137df49dfed35a6213510b06aad5a34e27f4..f85320279bc4aba22e890bc340b0c177c6924c97 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 // RUN: grep '@"OBJC_IVAR_$_XCOrganizerDeviceNodeInfo.viewController"' %t
 
 @interface XCOrganizerNodeInfo
index ae21044a4ebe135e8af66776aa044b0b5475635e..5dd90ab618bbd239f3aa405e5b2ab891153c9ef6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s
 
 @interface I
 @property int IP;
index 01106a9c2101a7da491a85531ac1e69569a92514..884e33a219c09f9af8e2a22ae979fc8f84ce8f44 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 %s -S -o - -triple=i686-apple-darwin9
-// RUN: clang -cc1 %s -S -o - -triple=x86_64-apple-darwin9
+// RUN: %clang_cc1 %s -S -o - -triple=i686-apple-darwin9
+// RUN: %clang_cc1 %s -S -o - -triple=x86_64-apple-darwin9
 
 // rdar://6757213 - Don't crash if the internal proto for
 // __objc_personality_v0 mismatches with an actual one.
index c57f53dd0b61b9e119122e461a54e3685e191bc7..d87a5c999ee986d40d711645ebcbf46faa12d547 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm-only -fgnu-runtime %s
+// RUN: %clang_cc1 -emit-llvm-only -fgnu-runtime %s
 
 @protocol MadeUpProtocol;
 
index 48d37f13ce70b1198a18bfff3aba02e57f609714..c1208c142ca32437ac81b73097ecd6967ebdb90e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
 // Test that meta-data for ivar lists with unnamed bitfield are generated.
 //
 @interface Foo {
index 1979e3fc293c7bfa55dc84f6c0111630982bdcb8..ea13823bc719a6a2b43e512d67ca9c6d40ca9ca7 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-32 %s
-// RUN: clang -cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-32 %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-X86-64 %s
 
 @interface A
 -(void) im0;
index 90d2407838ad758749d10931cae2b85c7cc7eb6d..d277c4e51581bec23ab54342d654c5967f3961f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
 
 // CHECK: @"_ZZ11+[A shared]E1a" = internal global
 // CHECK: @"_ZZ11-[A(Foo) f]E1a" = internal global
index 640dc29f394e6919b3d8b2dc11f1fba3a5b1aa46..182bd4d1b25a969642574e70818c7994e103e397 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -fsyntax-only %s
-// RUN: clang-cc -ast-print %s
-// RUN: clang-cc -ast-dump %s
-// RUN: clang-cc -ast-print-xml -o %t %s
+// RUN: %clang_cc1 -fsyntax-only %s
+// RUN: %clang_cc1 -ast-print %s
+// RUN: %clang_cc1 -ast-dump %s
+// RUN: %clang_cc1 -ast-print-xml -o %t %s
 
 #include "c-language-features.inc"
index d627fca3522e6caee5a27b6bf5f1d510b28888be..e86e799a8f6ef1cc045787813b9d1ad5ca21e8a6 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -fsyntax-only %s
-// RUN: clang-cc -ast-print %s
-// RUN: clang-cc -ast-dump %s
-// FIXME: clang-cc -ast-print-xml -o %t %s
+// RUN: %clang_cc1 -fsyntax-only %s
+// RUN: %clang_cc1 -ast-print %s
+// RUN: %clang_cc1 -ast-dump %s
+// FIXME: %clang_cc1 -ast-print-xml -o %t %s
 
 #include "cxx-language-features.inc"
index a864e2d72b881e520dfe9ae9d354d891636799c4..d9c97d43d46382df7a2337541bb2a254942c6dc3 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -fsyntax-only %s
-// RUN: clang -cc1 -ast-print %s
-// RUN: clang -cc1 -ast-dump %s
+// RUN: %clang_cc1 -fsyntax-only %s
+// RUN: %clang_cc1 -ast-print %s
+// RUN: %clang_cc1 -ast-dump %s
 
 #include "objc-language-features.inc"
index 194809261458aee42db7811dbb86d7ebeab43cfa..6e7790dc5a7020cdbf172dba97a9d26f019aecc8 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -cc1 -triple i386-unknown-unknown -fgnu-runtime -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -fgnu-runtime -emit-llvm -o %t %s
 
 #include "objc-language-features.inc"
index d78f93e61d2d7faec1a5444a4c663a8002f99f9d..978b443f0fa663b12f3929c4d921bfeff781e11f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -emit-llvm -o %t %s
-// RUN: clang -cc1 -g -emit-llvm -o %t %s
+// RUN: %clang_cc1 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -emit-llvm -o %t %s
 
 #include "objc-language-features.inc"
index f1d7fcc88672b29201835d6da882eb411cea279f..8e5195cc39efb4387f1f18d1681deae08b493627 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o %t %s
-// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm-bc -o %t %s
-// RUN: clang-cc -triple i386-unknown-unknown -g -emit-llvm-bc -o %t %s
-// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm-bc -o %t %s
-// RUN: clang-cc -triple x86_64-unknown-unknown -g -emit-llvm-bc -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm-bc -o %t %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -g -emit-llvm-bc -o %t %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm-bc -o %t %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -g -emit-llvm-bc -o %t %s
 
 #include "c-language-features.inc"
index 3079632e1205a8c7e9347a40b4343d728d2df496..6971f58f6aa4da4e92c8357a3951383e772b75ab 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: rm -rf %t
-// RUN: clang-cc -analyze -analyzer-output=html -checker-cfref -o %t %s
+// RUN: %clang_cc1 -analyze -analyzer-output=html -checker-cfref -o %t %s
 // RUN: cat %t/*.html | FileCheck %s
 
 // CHECK: <h3>Annotated Source Code</h3>
index dab156b145a841128f837a28bdbd2dec32bfc9a3..a3f29c6f36f86ff7b34333d5c2cbf7eeb3710ae4 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -emit-html -o %t %s
+// RUN: %clang_cc1 -emit-html -o %t %s
 
 #include "c-language-features.inc"
index e29b38bd0d26f63a66132cefef6e821706d8fcd6..02f3a8374bc70f5dbc66be197be345cdd7f2d9cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -parse-noop %s
-// RUN: clang-cc -parse-print-callbacks %s
+// RUN: %clang_cc1 -parse-noop %s
+// RUN: %clang_cc1 -parse-print-callbacks %s
 
 #include "c-language-features.inc"
index 7666d19432d3860234bb1dae7ad9b76d2a342c5e..f023d3d0648b75e2540710d13fe47ffe0c1abe89 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -parse-noop %s
-// RUN: clang -cc1 -parse-print-callbacks %s
+// RUN: %clang_cc1 -parse-noop %s
+// RUN: %clang_cc1 -parse-print-callbacks %s
 
 #include "objc-language-features.inc"
index 23990e06d39316aee097ac9604e48e780ededbfd..17d96d88c1b14bc215deb19ae9b38f26b3fbc1ab 100644 (file)
@@ -1,21 +1,21 @@
-// RUN: clang-cc -g -triple armv6-apple-darwin9 -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple armv6-unknown-unknown -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple bfin-unknown-unknown -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple i686-apple-darwin9 -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple i686-pc-linux-gnu -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple i686-unknown-dragonfly -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple i686-unknown-unknown -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple i686-unknown-win32 -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple pic16-unknown-unknown -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple powerpc-apple-darwin9 -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple powerpc-unknown-unknown -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple powerpc64-apple-darwin9 -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple powerpc64-unknown-unknown -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple sparc-unknown-solaris -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple sparc-unknown-unknown -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple x86_64-pc-linux-gnu -emit-llvm -o %t %s
-// RUN: clang-cc -g -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple armv6-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple armv6-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple bfin-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple i686-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple i686-pc-linux-gnu -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple i686-unknown-dragonfly -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple i686-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple i686-unknown-win32 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple pic16-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple powerpc-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple powerpc-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple powerpc64-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple powerpc64-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple sparc-unknown-solaris -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple sparc-unknown-unknown -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple x86_64-apple-darwin9 -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple x86_64-pc-linux-gnu -emit-llvm -o %t %s
+// RUN: %clang_cc1 -g -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 
 // <rdar://problem/7181838> clang 1.0 fails to compile Python 2.6
 // RUN: clang -ccc-host-triple x86_64-apple-darwin9 -### -S %s -mmacosx-version-min=10.4
index a75557b3fdee8c8152fd552b57e4b0d1ac16fa15..72451d4620c121b5bc15430a62ce4c8ed89fdc99 100644 (file)
@@ -1 +1 @@
-// RUN: clang-cc -fsyntax-only -v %s
+// RUN: %clang_cc1 -fsyntax-only -v %s
index 5eaa5c346926f651597d6f1141d5c9f151d5b74a..c32aee9ea174a48969e534ef0804d8eb1b19fc87 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fixit-at=fixit-at.c:3:1 %s -o - | clang-cc -verify -x c -
+// RUN: %clang_cc1 -fixit-at=fixit-at.c:3:1 %s -o - | %clang_cc1 -verify -x c -
 
 _Complex cd;
 
index 7036b08022c01525db450ccaadf3abf41822e23a..e84733f49dbcf9f667f24469a9d91350276adb8c 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -std=c90 -pedantic -fixit %s -o - | clang-cc -pedantic -x c -std=c90 -Werror -
+/* RUN: %clang_cc1 -std=c90 -pedantic -fixit %s -o - | %clang_cc1 -pedantic -x c -std=c90 -Werror -
  */
 
 /* This is a test of the various code modification hints that are
index 2c783bc2e33a942d68a279644d54e60089ca501b..3694b9db1af33e841cb1df845b152ce8c39af013 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -std=c++0x -fixit %s -o - | clang-cc -x c++ -std=c++0x -
+/* RUN: %clang_cc1 -std=c++0x -fixit %s -o - | %clang_cc1 -x c++ -std=c++0x -
  */
 
 /* This is a test of the various code modification hints that only
index 968d1d23151c19b25b230293dc6da30e41445e4a..ecad53ceb83dc0ea8e3f999b99bcfd513d420647 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c -
+// RUN: %clang_cc1 -pedantic -fixit %s -o - | %clang_cc1 -pedantic -Werror -x c -
 
 /* This is a test of the various code modification hints that are
    provided as part of warning or extension diagnostics. All of the
index 030f505e610e2376f2caf0737a8bf12782a3fb86..7bf9a58430f112c8d9dc7207854a2bb9267798a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c -
+// RUN: %clang_cc1 -pedantic -fixit %s -o - | %clang_cc1 -pedantic -Werror -x c -
 
 /* This is a test of the various code modification hints that are
    provided as part of warning or extension diagnostics. All of the
index cdf2057290e37c438d2b43cd3f9a3078050bfaaf..665ac74441ae65bc98a184c4106024297aa14ba3 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -pedantic -fixit %s -o %t
-// RUN: clang -cc1 -pedantic -x objective-c %t -verify
+// RUN: %clang_cc1 -pedantic -fixit %s -o %t
+// RUN: %clang_cc1 -pedantic -x objective-c %t -verify
 
 /* This is a test of the various code modification hints that are
    provided as part of warning or extension diagnostics. All of the
index f938009b90300298b051f19d7219e36dcd7f807b..0926309a9ab819abcda1cbe78b97afdc19e98cf2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -fsyntax-only -pedantic -Werror -x c++ -
+// RUN: %clang_cc1 -pedantic -fixit %s -o - | %clang_cc1 -fsyntax-only -pedantic -Werror -x c++ -
 
 /* This is a test of the various code modification hints that are
    provided as part of warning or extension diagnostics. All of the
index 4a32682be0522eddc6cf2ae952d9e399739888f8..83d724dffc01af9020a65e0b4c94cb1e8c231e80 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -pedantic -fixit %s -o - | grep -v 'CHECK' > %t
-// RUN: clang-cc -pedantic -Werror -x c -
+// RUN: %clang_cc1 -pedantic -fixit %s -o - | grep -v 'CHECK' > %t
+// RUN: %clang_cc1 -pedantic -Werror -x c -
 // RUN: FileCheck -input-file=%t %s
 
 /* This is a test of the various code modification hints that are
index dac1fa03de370ecf28ed2b731ed4693302c9d7b4..04b99c9416542f125cd89bca41230dbeeb2eba45 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -fsyntax-only -pedantic -Werror -x c++ -
+// RUN: %clang_cc1 -pedantic -fixit %s -o - | %clang_cc1 -fsyntax-only -pedantic -Werror -x c++ -
 
 /* This is a test of the various code modification hints that are
    provided as part of warning or extension diagnostics. All of the
index a8687c754a01ece7463a69b4cd28edf4ab184a80..e2af7c7ddc90b63fc8144594916ee8d9e20f4261 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: not clang-cc -emit-llvm -o %S/doesnotexist/somename %s 2> %t
+// RUN: not %clang_cc1 -emit-llvm -o %S/doesnotexist/somename %s 2> %t
 // RUN: FileCheck -check-prefix=OUTPUTFAIL -input-file=%t %s
 
 // OUTPUTFAIL: Error opening output file '{{.*}}doesnotexist{{.*}}'
index 1667925a2ba45bee919d4348048bae89765b83c0..f44e545728e906fde1c8ae48a4913fff05c7620a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -rewrite-macros -o %t %s
+// RUN: %clang_cc1 -verify -rewrite-macros -o %t %s
 
 #define A(a,b) a ## b
 
index 35fe45d35b405f526dff28df716f878e338a3261..2d0a2377f76d37b539a22cf698594f71a2e28374 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -E - < /dev/null > %t
+// RUN: %clang_cc1 -E - < /dev/null > %t
 // RUN: grep '<built-in>' %t
  
index 12ae4f45162013ece56802ed2d6120f066d4b3b2..5cccf9264c7f8c479cef5e1078c6c2a72be2e7c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
 // RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=scan %s
 // RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=load %s
 
index db9a1eb5c7af9c786dc8f75e6c8622a32e2ca199..e795972a7d13ef3c73d270f257aabb1bab5b5e35 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
 // RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=scan %s
 // RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=load %s
 
index 0350d87b39e4c9f069accbca309c7ac37df04907..8cbc036a5ca217dec5768611dbb54a72f52561d8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
 // RUN: c-index-test -test-load-tu %t.ast scan-function | FileCheck %s
 
 
index 446f588c4f9dc58e305c2ea316cdefc76a455d5f..6ee50aef1e045bf6271e2ef5cc8ae13ba6855aa9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
 // RUN: c-index-test -test-load-tu %t.ast all | FileCheck %s
 
 
index d6081bc9de8c63549d0f091d27caba5810205cc0..23ae21887830240b79c02004ff1dbec234b1013a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
 // RUN: c-index-test -test-file-scan %t.ast %s | FileCheck %s
 @interface Foo 
 {
index 1ce1085251863436004343029618e3a45b8b7df5..2037fc58802ca030c85ea0accb9c6f3183c7e22a 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -emit-pch -x c -o %t.pch %S/Inputs/c-index-pch.h
-// RUN: clang-cc -include-pch %t.pch -x c -emit-pch -o %t.ast %s
+// RUN: %clang_cc1 -emit-pch -x c -o %t.pch %S/Inputs/c-index-pch.h
+// RUN: %clang_cc1 -include-pch %t.pch -x c -emit-pch -o %t.ast %s
 // RUN: c-index-test -test-load-tu %t.ast all | FileCheck -check-prefix=ALL %s
 // RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=LOCAL %s
 // ALL: FunctionDecl=foo
index 83bdbf6eed7d002553236748369c46a2bfa7d2e6..034317779c6e72501cc906ecebaab09a2b01aed9 100644 (file)
@@ -19,7 +19,7 @@ void g(int);
 void h(int); ///< This is a member comment.
 
 
-// RUN: clang-cc -emit-pch -o %t.ast %s
+// RUN: %clang_cc1 -emit-pch -o %t.ast %s
 
 // RUN: index-test %t.ast -point-at %s:11:6 > %t
 // RUN: grep "starts here" %t
index 9bda03ef8dc45926f5c3cab08d801cda132b6c7f..864744859332d5449157af8c165aafbe9aacf581 100644 (file)
@@ -12,7 +12,7 @@ static void bar() {
 
 Cls Cls::operator +(const Cls &RHS) { while (1) {} }
 
-// RUN: clang-cc -emit-pch %s -o %t.ast
+// RUN: %clang_cc1 -emit-pch %s -o %t.ast
 
 // RUNx: index-test %t.ast -point-at %s:10:17 -print-decls > %t &&
 // RUNx: cat %t | count 2 &&
index 99a32428005b187a2c409d933e6fcdc2f93c1b13..f1999b2151b4c868fcf3835ae08da773d020f52f 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -fblocks -emit-pch %S/Inputs/t1.c -o %t1.ast
-// RUN: clang-cc -fblocks -emit-pch %S/Inputs/t2.c -o %t2.ast
+// RUN: %clang_cc1 -fblocks -emit-pch %S/Inputs/t1.c -o %t1.ast
+// RUN: %clang_cc1 -fblocks -emit-pch %S/Inputs/t2.c -o %t2.ast
 
 // RUN: index-test %t1.ast %t2.ast -point-at %S/Inputs/t1.c:8:7 -print-decls > %t
 // RUN: cat %t | count 3
index fb540727341a2c9fc07436e946132cafe864f7dd..51292704a1b647e588debb24d30476e0869e92a4 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -fblocks -emit-pch %S/Inputs/t1.c -o %t1.ast
-// RUN: clang-cc -fblocks -emit-pch %S/Inputs/t2.c -o %t2.ast
+// RUN: %clang_cc1 -fblocks -emit-pch %S/Inputs/t1.c -o %t1.ast
+// RUN: %clang_cc1 -fblocks -emit-pch %S/Inputs/t2.c -o %t2.ast
 
 // RUN: index-test %t1.ast %t2.ast -point-at %S/Inputs/foo.h:1:14 -print-defs > %t
 // RUN: cat %t | count 1
index 5209e141b629d685389f64d0565f21405052f85b..1f29a77017deeeb7297972e150cb8fb73415f1d9 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -fblocks -emit-pch %S/Inputs/t1.c -o %t1.ast
-// RUN: clang-cc -fblocks -emit-pch %S/Inputs/t2.c -o %t2.ast
+// RUN: %clang_cc1 -fblocks -emit-pch %S/Inputs/t1.c -o %t1.ast
+// RUN: %clang_cc1 -fblocks -emit-pch %S/Inputs/t2.c -o %t2.ast
 
 // RUN: index-test %t1.ast %t2.ast -point-at %S/Inputs/foo.h:1:14 -print-refs > %t
 // RUN: cat %t | count 4
index ea6d00b6a3c4e1e3c6028031153d0913a86d9aec..faea88fc6b77cd296688ed62782550b4e0f9313c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-pch %s -o %t.ast
+// RUN: %clang_cc1 -emit-pch %s -o %t.ast
 // RUN: index-test %t.ast -point-at %s:8:4 -print-decls | count 2
 // RUN: index-test %t.ast -point-at %s:8:4 -print-defs | count 1
 
index 62a43da007b3a06d876fa825724ee2c60b4ce5da..4fcd830212bb58aaf446a3f2c988ecb5a3fd36e0 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -emit-pch %S/Inputs/t1.m -o %t1.m.ast
-// RUN: clang -cc1 -emit-pch %S/Inputs/t2.m -o %t2.m.ast
+// RUN: %clang_cc1 -emit-pch %S/Inputs/t1.m -o %t1.m.ast
+// RUN: %clang_cc1 -emit-pch %S/Inputs/t2.m -o %t2.m.ast
 
 // RUN: index-test %t1.m.ast %t2.m.ast -point-at %S/Inputs/t1.m:12:12 -print-decls > %t
 // RUN: cat %t | count 2
index 568ca9494f5573a84616a12633b1de293f154e21..151565b9bba2b270b97eedbdeb2abdc7b06805c5 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -emit-pch %S/Inputs/t1.m -o %t1.m.ast
-// RUN: clang -cc1 -emit-pch %S/Inputs/t2.m -o %t2.m.ast
+// RUN: %clang_cc1 -emit-pch %S/Inputs/t1.m -o %t1.m.ast
+// RUN: %clang_cc1 -emit-pch %S/Inputs/t2.m -o %t2.m.ast
 
 // RUN: index-test %t1.m.ast %t2.m.ast -point-at %S/Inputs/objc.h:5:13 -print-refs > %t
 // RUN: cat %t | count 1
index f4697171ee185f4cb0f617fa55c4ca185594f935..68504ee0d2bc5953aa6bcf9714a1b23740b777c7 100644 (file)
@@ -16,7 +16,7 @@ struct S {
 };
 
 
-// RUN: clang-cc -emit-pch %s -o %t.ast
+// RUN: %clang_cc1 -emit-pch %s -o %t.ast
 // RUN: index-test %t.ast -point-at %s:3:8 | grep top_var
 // RUN: index-test %t.ast -point-at %s:5:15 | grep top_func_decl
 // RUN: index-test %t.ast -point-at %s:5:25 | grep param1
index ab3aba1a6eaf38f2a6f7e32025e68dce8351c87f..ccd9e2eff5926eb43c9aebef0e469ba58c7e8ef9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
 
 // CHECK: 0x3BFD83C940000000
 // CHECK: 2.000000e+{{[0]*}}32
index 5fa5a2bb2403184ada9e9e2c6c207403bb530eed..486dcf221a6eb6ece1ae71f2af32890029011fa3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s 2>&1 | not grep error
+// RUN: %clang_cc1 -E %s 2>&1 | not grep error
 #if 0
 
   "
index 5efb77e3cc38e71f9591de3f69fd8de2c153a47d..72bc836a0ef0cb1b2c3067f9891339eea422851a 100644 (file)
@@ -1,9 +1,9 @@
 /*
-  RUN: clang-cc -E -trigraphs %s | grep bar
-  RUN: clang-cc -E -trigraphs %s | grep foo
-  RUN: clang-cc -E -trigraphs %s | not grep abc
-  RUN: clang-cc -E -trigraphs %s | not grep xyz
-  RUN: clang-cc -fsyntax-only -trigraphs -verify %s  
+  RUN: %clang_cc1 -E -trigraphs %s | grep bar
+  RUN: %clang_cc1 -E -trigraphs %s | grep foo
+  RUN: %clang_cc1 -E -trigraphs %s | not grep abc
+  RUN: %clang_cc1 -E -trigraphs %s | not grep xyz
+  RUN: %clang_cc1 -fsyntax-only -trigraphs -verify %s  
 */
 
 // This is a simple comment, /*/ does not end a comment, the trailing */ does.
index d743d68cd50132134df585adb014888472038365..6293d42a2f618abcc6e2d16d46d8e391f14f8bbd 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -std=c90 -fsyntax-only %s -verify -pedantic-errors
+/* RUN: %clang_cc1 -std=c90 -fsyntax-only %s -verify -pedantic-errors
  */
 
 enum { cast_hex = (long) (
index ef665fe84a5b5d97d02ed272a8045d4a1227ac9a..d918bf4cf07c92b02f53cc6b4547e69e533b4f88 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 int test['\\' == 92 ? 1 : -1];
 int test['\"' == 34 ? 1 : -1];
index be2672b033b04b41e81689314110c3c5fbaa07c0..f86111c3aaa12bd2495fa323a265b6e255ba5d39 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 // Test that we recover gracefully from conflict markers left in input files.
 // PR5238
index 8176ec3249f979a1091af78072e4950b141ab9bc..5b3f826119779856e9ea9b8cc3c97c8147414377 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -fms-extensions %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
 
 __int8 x1  = 3i8;
 __int16 x2 = 4i16;
index fcb6de954516bcb925467d972c311f4e17144cae..72e0dc4231de1cce448ea95a7df634b6296d88c1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic -trigraphs %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -trigraphs %s
 
 int x = 000000080;  // expected-error {{invalid digit}}
 
index 412c25e83c48b22aabc24252bd398bdc2ceca01e..c27925bcfee4f2ffd456001df1c6a8a5072a53c2 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s 2>&1
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s 2>&1
 int static_assert; /* expected-error {{expected unqualified-id}} */
index 9f8aea127cb9bf83562b140a5048863d1c4292b8..2bfb8b0b931befd713214c1b42a985dba9cb3ded 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang-cc %s -fsyntax-only
+// RUN: %clang_cc1 %s -fsyntax-only
 int static_assert;
index 3c92db1c02b2a5c58a9966f24f7b7a2dbc9968c3..b8a99bbae151f163de1c87e1b87ff5922d7b189c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify < %s
+// RUN: %clang_cc1 -fsyntax-only -verify < %s
 
 %:include <stdint.h>
 
index 276545d160a170fda7f5b0bf4d1f0e2f5b8b5a3e..cbf25b0251bc006bcd7037227e2f38d812ae9da0 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -dump-tokens %s 2> %t
+// RUN: %clang_cc1 -dump-tokens %s 2> %t
 // RUN: grep "identifier '\$A'" %t
-// RUN: clang-cc -dump-tokens -x assembler-with-cpp %s 2> %t
+// RUN: %clang_cc1 -dump-tokens -x assembler-with-cpp %s 2> %t
 // RUN: grep "identifier 'A'" %t
 // PR3808
 
index d07f0450ebbe156e0d2aa455de68c42ae95fc5e3..43ba41795db83415db12a7f2fbfba55c27d78247 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -E -trigraphs %s | grep -- ' ->'
-// RUN: clang-cc -E -trigraphs %s 2>&1 | grep 'backslash and newline separated by space'
-// RUN: clang-cc -E -trigraphs %s 2>&1 | grep 'trigraph converted'
+// RUN: %clang_cc1 -E -trigraphs %s | grep -- ' ->'
+// RUN: %clang_cc1 -E -trigraphs %s 2>&1 | grep 'backslash and newline separated by space'
+// RUN: %clang_cc1 -E -trigraphs %s 2>&1 | grep 'trigraph converted'
 
 // This is an ugly way to spell a -> token.
  -??/      
index e4dacd9802f2cf9e7989d75cb5eb63b8d7fb8421..0a6956d6b3a8eaada28554d998577d999996bcfc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -fms-extensions %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
 
 int a;
 
index e5fd52926eeef191265a149a2050ade8e02643c2..d737f95db271c89d948375631b44f3b10011a92d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only
+// RUN: %clang_cc1 %s -fsyntax-only
 
 #ifndef XVID_AUTO_INCLUDE
 
index 047e0b8e95f9d747c8544c1706195a18e3f33caa..1d7c87bfbf067e449a572016330c80486a3d1ca6 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -fsyntax-only -verify %s
+/* RUN: %clang_cc1 -fsyntax-only -verify %s
  */
 # define XRECORD(x, c_name) e##c (x, __LINE__)
 
index f4204aa9d8073d634e55b29251c90ae4edd6f07a..96e8485a70ace6ea1d227ff6e9e57a8071933fae 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 // Lexer diagnostics shouldn't be included in #pragma mark.
 #pragma mark Mike's world
index b135dc1409cb20e3f1c0351d3cde5b041572240d..f7f5906c8f4cc4c43097c1ed6947a24d747a9d4c 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -pedantic -std=gnu89 -fsyntax-only -verify %s
+/* RUN: %clang_cc1 -pedantic -std=gnu89 -fsyntax-only -verify %s
  rdar://6096838
  */
 
index 6a8899af95bdf3f96c106ee0482373656e80d29c..2f00f47099b76f0e6a03d78dcc11c3cc228108f9 100644 (file)
@@ -1,5 +1,5 @@
-/* RUN: clang-cc -fsyntax-only -verify %s
- * RUN: clang-cc -std=gnu89 -fsyntax-only -verify %s
+/* RUN: %clang_cc1 -fsyntax-only -verify %s
+ * RUN: %clang_cc1 -std=gnu89 -fsyntax-only -verify %s
  rdar://6096838
  */
 
index 28916547d5b6768dad1c4e0a54064a6561415478..7d3cd6443982646299a8140379b2796005d53a8a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -x c -o - %s | grep '[.][*]'
+// RUN: %clang_cc1 -E -x c -o - %s | grep '[.][*]'
 // PR4395
 #define X .*
 X
index 9194932b1bed786192b7a0154a029fb88c2bbc4d..551af950ae925a3f6aef03d496ce380eadbc57d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -x c -o %t %s
+// RUN: %clang_cc1 -E -x c -o %t %s
 // RUN: grep 'IDENT.2' %t
 
 IDENT.2
index acbf4f039a718d1d578e76b17c3d93a44635a24b..334df37225ece36076b8ca757882f28c2a2f7de0 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang-cc -E %s 2>&1 | not grep error
+// RUN: %clang_cc1 -E %s 2>&1 | not grep error
  ` ` ` `
index fd3c6170ec3cc36283470f9bc1361c765743e010..80371a94eb38542fcaafd78f26435efd681fb54b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s > %t 2>&1
+// RUN: %clang_cc1 -fsyntax-only %s > %t 2>&1
 
 #define M1(x) x
 
index e339d5635754293c038c8b1538f26fc4a1e981c7..883c68e81dceab2b14dc44bf03162f48bf794195 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s 2>&1 | not grep keyXXXX
+// RUN: %clang_cc1 -fsyntax-only %s 2>&1 | not grep keyXXXX
 // This should not show keyXXXX in the caret diag output.  This once
 // happened because the two tokens ended up in the scratch buffer and
 // the caret diag from the scratch buffer included the previous token.
index 5816cf5ca16d26134f10d35e08e23591848ce873..75b49ef17c9888221fd3e6e566384081c5cf2eea 100644 (file)
@@ -1,28 +1,28 @@
 // This should warn by default.
-// RUN: clang-cc %s 2>&1 | grep "warning:"
+// RUN: %clang_cc1 %s 2>&1 | grep "warning:"
 // This should not emit anything.
-// RUN: clang-cc %s -Wno-extra-tokens 2>&1 | not grep diagnostic
+// RUN: %clang_cc1 %s -Wno-extra-tokens 2>&1 | not grep diagnostic
 
 // -Werror can map all warnings to error.
-// RUN: clang-cc %s -Werror 2>&1 | grep "error:"
+// RUN: %clang_cc1 %s -Werror 2>&1 | grep "error:"
 
 // -Werror can map this one warning to error.
-// RUN: clang-cc %s -Werror=extra-tokens 2>&1 | grep "error:"
+// RUN: %clang_cc1 %s -Werror=extra-tokens 2>&1 | grep "error:"
 
 // Mapping unrelated diags to errors doesn't affect this one.
-// RUN: clang-cc %s -Werror=trigraphs 2>&1 | grep "warning:"
+// RUN: %clang_cc1 %s -Werror=trigraphs 2>&1 | grep "warning:"
 
 // This should stay a warning with -pedantic.
-// RUN: clang-cc %s -pedantic 2>&1 | grep "warning:"
+// RUN: %clang_cc1 %s -pedantic 2>&1 | grep "warning:"
 
 // This should emit an error with -pedantic-errors.
-// RUN: clang-cc %s -pedantic-errors 2>&1 | grep "error:"
+// RUN: %clang_cc1 %s -pedantic-errors 2>&1 | grep "error:"
 
 // This should emit a warning, because -Wfoo overrides -pedantic*.
-// RUN: clang-cc %s -pedantic-errors -Wextra-tokens 2>&1 | grep "warning:"
+// RUN: %clang_cc1 %s -pedantic-errors -Wextra-tokens 2>&1 | grep "warning:"
 
 // This should emit nothing, because -Wno-extra-tokens overrides -pedantic*
-// RUN: clang-cc %s -pedantic-errors -Wno-extra-tokens 2>&1 | not grep diagnostic
+// RUN: %clang_cc1 %s -pedantic-errors -Wno-extra-tokens 2>&1 | not grep diagnostic
 
 #ifdef foo
 #endif bad // extension!
index cde90e299a04bc4288ec3c59b8e2fce96e257948..bc5a0872e7c84e6c5aa7e96f41379e4e8e012b2a 100644 (file)
@@ -1,21 +1,21 @@
 // This should warn by default.
-// RUN: clang-cc %s 2>&1 | grep "warning:"
+// RUN: %clang_cc1 %s 2>&1 | grep "warning:"
 
 // This should not emit anything.
-// RUN: clang-cc %s -w 2>&1 | not grep diagnostic
-// RUN: clang-cc %s -Wno-#warnings 2>&1 | not grep diagnostic
+// RUN: %clang_cc1 %s -w 2>&1 | not grep diagnostic
+// RUN: %clang_cc1 %s -Wno-#warnings 2>&1 | not grep diagnostic
 
 // -Werror can map all warnings to error.
-// RUN: clang-cc %s -Werror 2>&1 | grep "error:"
+// RUN: %clang_cc1 %s -Werror 2>&1 | grep "error:"
 
 // -Werror can map this one warning to error.
-// RUN: clang-cc %s -Werror=#warnings 2>&1 | grep "error:"
+// RUN: %clang_cc1 %s -Werror=#warnings 2>&1 | grep "error:"
 
 // -Wno-error= overrides -Werror.  rdar://3158301
-// RUN: clang-cc %s -Werror -Wno-error=#warnings 2>&1 | grep "warning:"
+// RUN: %clang_cc1 %s -Werror -Wno-error=#warnings 2>&1 | grep "warning:"
 
 // -Wno-error overrides -Werror.  PR4715
-// RUN: clang-cc %s -Werror -Wno-error 2>&1 | grep "warning:"
+// RUN: %clang_cc1 %s -Werror -Wno-error 2>&1 | grep "warning:"
 
 #warning foo
 
index ac6b519a3a0d139eff33689364d160120ad8c7f5..289c28a5c6d72b2bd7ab64b30030c9a6de76542d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-html -o - | grep ">&lt; 10; }"
+// RUN: %clang_cc1 %s -emit-html -o - | grep ">&lt; 10; }"
 
 int a(int x) { return x
 < 10; }
index 22d0d28dd65dfba91d1c0d2f97412f910346c908..48c8b61b38de2aaa2e5c0089db77fb4a93476f2b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-html -o -
+// RUN: %clang_cc1 %s -emit-html -o -
 
 // rdar://6562329
 #line 42 "foo.c"
index 24f623394d88a1997e02481bfcb5995c050b9f4a..3c746052fd3c02e91d64a1c2e81af4985a8af2a1 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -fmessage-length 72 %s 2>&1 | FileCheck -strict-whitespace %s
-// RUN: clang-cc -fmessage-length 1 %s
+// RUN: %clang_cc1 -fmessage-length 72 %s 2>&1 | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -fmessage-length 1 %s
 
 // Hack so we can check things better, force the file name and line.
 # 1 "FILE" 1
index c7fac86331a57f7aa4adc99a9281febc7548c71a..8e57c809df20328939eeea16696b2872c8587b48 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -fsyntax-only -verify -std=c89 -pedantic-errors %s
+/* RUN: %clang_cc1 -fsyntax-only -verify -std=c89 -pedantic-errors %s
  * rdar://6814950
  */
 #include <stdint.h>
index f12fe95012656544b64789af9172477e19dc8901..003cd2e469fdce904f9a89236a5e33bc60b6b1d6 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -remap-file "%s;%S/Inputs/remapped-file" -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-EXIST %s
-// RUN: clang-cc -remap-file "%S/nonexistent.c;%S/Inputs/remapped-file" -fsyntax-only %S/nonexistent.c 2>&1 | FileCheck -check-prefix=CHECK-NONEXIST %s
-// RUN: clang-cc -remap-file "%S/nonexistent.c;%S/Inputs/remapped-file-2" -remap-file "%S/nonexistent.h;%S/Inputs/remapped-file-3" -fsyntax-only %S/nonexistent.c 2>&1 | FileCheck -check-prefix=CHECK-HEADER %s
+// RUN: %clang_cc1 -remap-file "%s;%S/Inputs/remapped-file" -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-EXIST %s
+// RUN: %clang_cc1 -remap-file "%S/nonexistent.c;%S/Inputs/remapped-file" -fsyntax-only %S/nonexistent.c 2>&1 | FileCheck -check-prefix=CHECK-NONEXIST %s
+// RUN: %clang_cc1 -remap-file "%S/nonexistent.c;%S/Inputs/remapped-file-2" -remap-file "%S/nonexistent.h;%S/Inputs/remapped-file-3" -fsyntax-only %S/nonexistent.c 2>&1 | FileCheck -check-prefix=CHECK-HEADER %s
 
 // CHECK-EXIST: remap-file.c:1:28: warning: incompatible pointer types
 // CHECK-NONEXIST: nonexistent.c:1:28: warning: incompatible pointer types
index 61665d607f418b1541f9bd3c53a67a73c1dbefbe..99bc14dc2fb44e2355cb9717c5f7de598d11e6e7 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -triple i386-unknown-unknown -include %S/asm.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -include %S/asm.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -triple i386-unknown-unknown -emit-pch -o %t %S/asm.h
-// RUN: clang-cc -triple i386-unknown-unknown -include-pch %t -fsyntax-only -verify %s 
+// 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 
 
 
 void call_f(void) { f(); }
index f381f23704069d6ef62282e24b753499bd3c8b22..c9711935c07559d6f4ec6138a654ddb43ebfab48 100644 (file)
@@ -1,8 +1,8 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/attrs.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/attrs.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/attrs.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/attrs.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 // expected-note{{previous overload}}
 double f(double); // expected-error{{overloadable}}
index ccecd36523509423ddc34d2aa54007aa24387da8..e7498865bd88cafbb655a8ebabf36d72d0a0039f 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -fblocks -include %S/blocks.h -fsyntax-only -emit-llvm -o - %s
+// RUN: %clang_cc1 -fblocks -include %S/blocks.h -fsyntax-only -emit-llvm -o - %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -fblocks -o %t %S/blocks.h
-// RUN: clang-cc -fblocks -include-pch %t -fsyntax-only -emit-llvm -o - %s 
+// RUN: %clang_cc1 -emit-pch -fblocks -o %t %S/blocks.h
+// RUN: %clang_cc1 -fblocks -include-pch %t -fsyntax-only -emit-llvm -o - %s 
 
 int do_add(int x, int y) { return add(x, y); }
 
index 796b9dcda12c6d0eb4fa2c856a7def4b3e3501b6..eed2224d415fee36b3f76fea62a97ba985fdfe58 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/builtins.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/builtins.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/builtins.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/builtins.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 void hello() {
   printf("Hello, World!");
index 144406e7bdaf5c06b08d80edade881c88828a0b4..37dabcc466a8b65ee93ba96b129ee5d28449cff2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-pch %s -o %t
+// RUN: %clang_cc1 -emit-pch %s -o %t
 
 struct S {
   void m(int x);
index 607de59a8aeacf81d0d484ad2fa43ab0341abd44..10ceb7c60b0a8072bbda27113a638af829f294f8 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/enum.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/enum.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/enum.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/enum.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 int i = Red;
 
index 6cd1ee71b4c39253eea000edb3041e916796b37c..2b588a229e765fd99c48812b1a8b9ec6c0770ce7 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -fblocks -include %S/exprs.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fblocks -include %S/exprs.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -fblocks -o %t %S/exprs.h
-// RUN: clang-cc -fblocks -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -fblocks -o %t %S/exprs.h
+// RUN: %clang_cc1 -fblocks -include-pch %t -fsyntax-only -verify %s 
 
 int integer;
 long long_integer;
index 314dbfcf16921bec9e3b4efd3e4500fd00cc8307..bd129ea18a93557565dcf38a039c3089d29db8e3 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/ext_vector.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/ext_vector.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/ext_vector.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/ext_vector.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 int test(float4 f4) {
   return f4.xy; // expected-error{{float2}}
index 447124cc3f783ead4521cc4d098ae8424fcbecb3..5097859297a58a79c62ff2051113aa7c1f4c72d1 100644 (file)
@@ -1,6 +1,6 @@
 // Test with pch.
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-pch -o %t.pch %S/external-defs.h
-// RUN: clang-cc -triple x86_64-apple-darwin9 -include-pch %t.pch -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-pch -o %t.pch %S/external-defs.h
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -include-pch %t.pch -emit-llvm -o %t %s
 
 // RUN: grep "@x = common global i32 0" %t | count 1
 // RUN: grep "@z" %t | count 0
index 2121b9aaa107f9ede3d0e5616d60b40b8735a985..fd0c3764b4707d060da7bdbad28384f80ca501ed 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/functions.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/functions.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/functions.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/functions.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 int f0(int x0, int y0, ...) { return x0 + y0; }
 
index b29638bb0b10d51616ee36c2a30d479b6779af32..567575346ce17d56f6a298ee1f6131723546b667 100644 (file)
@@ -1,8 +1,8 @@
 // Test with pch.
-// RUN: clang-cc -emit-pch -DFOO -o %t %S/variables.h
-// RUN: clang-cc -DBAR=int -include-pch %t -fsyntax-only -pedantic %s
-// RUN: clang-cc -DFOO -DBAR=int -include-pch %t -Werror %s
-// RUN: not clang-cc -DFOO -DBAR=int -DX=5 -include-pch %t -Werror %s 
+// RUN: %clang_cc1 -emit-pch -DFOO -o %t %S/variables.h
+// RUN: %clang_cc1 -DBAR=int -include-pch %t -fsyntax-only -pedantic %s
+// RUN: %clang_cc1 -DFOO -DBAR=int -include-pch %t -Werror %s
+// RUN: not %clang_cc1 -DFOO -DBAR=int -DX=5 -include-pch %t -Werror %s 
 
 BAR bar = 17;
 
index 9eed4f4a98234558db72f6bdb1b2b2ab8d4a063b..4710c40d7234f388e66c44da1651467aebadb45e 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/line-directive.h -fsyntax-only %s 2>&1|grep "25:5"
+// RUN: %clang_cc1 -include %S/line-directive.h -fsyntax-only %s 2>&1|grep "25:5"
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/line-directive.h
-// RUN: clang-cc -include-pch %t -fsyntax-only %s 2>&1|grep "25:5"  
+// RUN: %clang_cc1 -emit-pch -o %t %S/line-directive.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only %s 2>&1|grep "25:5"  
 
 double x; // expected-error{{redefinition of 'x' with a different type}}
 
index 17e2420081ff16588229456688939638c36c9199..ee537840e0ebc3c7de1e3d2988ce4013da7bd499 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang -cc1 -include %S/method_pool.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/method_pool.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang -cc1 -x objective-c -emit-pch -o %t %S/method_pool.h
-// RUN: clang -cc1 -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/method_pool.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 int message_id(id x) {
    return [x instMethod:17]; // expected-warning{{multiple methods}}
index 2702cd61bba6ee08f73fee5bf1cfcef48da1f166..e2cc552336ea2976e4a939e4b8af6338053d4671 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s
+// RUN: %clang_cc1 -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/multiple_decls.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -ast-print -o - %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/multiple_decls.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -ast-print -o - %s 
 
 void f0(char c) {
   wide(c);
index a78674985c98069f922191b7ced70813e40df84f..49392ca2fef5d12fa7bf3820c1dc7ff9344fdc92 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/nonvisible-external-defs.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/nonvisible-external-defs.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/nonvisible-external-defs.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/nonvisible-external-defs.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 int g(int, float); // expected-error{{conflicting types}}
 
index 0c12b8e177fcc8c4a7d1c5e0a82d3bf1ee22fabb..c37968b7b93821f413f242fb994204769afdbd54 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang -cc1 -fblocks -include %S/objc_exprs.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fblocks -include %S/objc_exprs.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang -cc1 -x objective-c-header -emit-pch -fblocks -o %t %S/objc_exprs.h
-// RUN: clang -cc1 -fblocks -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -x objective-c-header -emit-pch -fblocks -o %t %S/objc_exprs.h
+// RUN: %clang_cc1 -fblocks -include-pch %t -fsyntax-only -verify %s 
 
 // Expressions
 int *A1 = (objc_string)0;   // expected-warning {{aka 'id'}}
index c109f4083660b31993ecc147a21c05a819c83f6d..277c6dd6c2f0a91ed2e90720f1405b63a4b13643 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang -cc1 -include %S/objc_import.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/objc_import.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang -cc1 -x objective-c -emit-pch -o %t %S/objc_import.h
-// RUN: clang -cc1 -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_import.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 #import "objc_import.h"
 
index a60ffad4f2a15ea516346c1fd38c9225a8c5602b..e90a463dce6b294a540c3609e58297f80ba7a697 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang -cc1 -include %S/objc_methods.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/objc_methods.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang -cc1 -x objective-c -emit-pch -o %t %S/objc_methods.h
-// RUN: clang -cc1 -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_methods.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 void func() {
  TestPCH *xx;
index 17c3a729c5c656cd0347e6b081271b1ff16d68a7..b51cd90927ae541b2d086f90ddbdd89f102be783 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang -cc1 -include %S/objc_property.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/objc_property.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang -cc1 -x objective-c -emit-pch -o %t %S/objc_property.h
-// RUN: clang -cc1 -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_property.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 void func() {
  TestProperties *xx = [TestProperties alloc];
index 7a6c2c5a4e2bc88ff91eed24711194b75b259230..8bf841f17f8dcaac7d7d18a50cc3ceffa719c035 100644 (file)
@@ -1,8 +1,8 @@
 // Check that -E mode is invariant when using an implicit PCH.
 
-// RUN: clang-cc -include %S/preprocess.h -E -o %t.orig %s
-// RUN: clang-cc -emit-pch -o %t %S/preprocess.h
-// RUN: clang-cc -include-pch %t -E -o %t.from_pch %s
+// RUN: %clang_cc1 -include %S/preprocess.h -E -o %t.orig %s
+// RUN: %clang_cc1 -emit-pch -o %t %S/preprocess.h
+// RUN: %clang_cc1 -include-pch %t -E -o %t.from_pch %s
 // RUN: diff %t.orig %t.from_pch
 
 a_typedef a_value;
index ba8e70db024afecf2dd66032b92fd05712b8d525..fd78feba604784dc1be3b378f3cf57c5404acacc 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -emit-pch -o %t -relocatable-pch -isysroot %S/libroot %S/libroot/usr/include/reloc.h
-// RUN: clang-cc -include-pch %t -isysroot %S/libroot %s -verify
-// RUN: not clang-cc -include-pch %t %s
+// RUN: %clang_cc1 -emit-pch -o %t -relocatable-pch -isysroot %S/libroot %S/libroot/usr/include/reloc.h
+// RUN: %clang_cc1 -include-pch %t -isysroot %S/libroot %s -verify
+// RUN: not %clang_cc1 -include-pch %t %s
 
 #include <reloc.h>
 
index 72084d9760edfd0b83e0bf34b275582ac64bdde8..cc8555661a4d4a2984dbe470f6121699c5db7d84 100644 (file)
@@ -2,9 +2,9 @@
 // when using PCH.
 
 // RUN: echo 'int x;' > %t.prefix.h
-// RUN: not clang-cc -fsyntax-only -include %t.prefix.h %s 2> %t.diags.no_pch.txt
-// RUN: clang-cc -emit-pch -o %t.prefix.pch %t.prefix.h
-// RUN: not clang-cc -fsyntax-only -include-pch %t.prefix.pch %s 2> %t.diags.pch.txt
+// RUN: not %clang_cc1 -fsyntax-only -include %t.prefix.h %s 2> %t.diags.no_pch.txt
+// RUN: %clang_cc1 -emit-pch -o %t.prefix.pch %t.prefix.h
+// RUN: not %clang_cc1 -fsyntax-only -include-pch %t.prefix.pch %s 2> %t.diags.pch.txt
 // RUN: diff %t.diags.no_pch.txt %t.diags.pch.txt
 // XFAIL: *
 // PR5662
index 69c7ec7dbf49e9ef60c1658d928fa4f29aa36e81..6def453c86e41e0bf9a5899f4f7c2d918473b7ca 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/stmts.h -fsyntax-only -emit-llvm -o - %s
+// RUN: %clang_cc1 -include %S/stmts.h -fsyntax-only -emit-llvm -o - %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/stmts.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -emit-llvm -o - %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/stmts.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -emit-llvm -o - %s 
 
 void g0(void) { f0(5); }
 int g1(int x) { return f1(x); }
index 6595a2fbdccc61477c7d4e1b1376cdfbf1b52c6b..3e9d1883323462b39c231808439c1a1894e703a3 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/struct.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/struct.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/struct.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/struct.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 struct Point *p1;
 
index 5b85fccbcacd2a790bb813b3fd2d4841b52826ed..0072818a1a2f9538f78560a077015a513be3f754 100644 (file)
@@ -1,6 +1,6 @@
 // Test with pch.
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-pch -o %t.pch %S/tentative-defs.h
-// RUN: clang-cc -triple x86_64-apple-darwin9 -include-pch %t.pch -verify -emit-llvm -o %t %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -emit-pch -o %t.pch %S/tentative-defs.h
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -include-pch %t.pch -verify -emit-llvm -o %t %s
 
 // RUN: grep "@variable = common global i32 0" %t | count 1
 // RUN: grep "@incomplete_array = common global .*1 x i32" %t | count 1
index a7efaef9a2c4f4e0c6d062c08e1bcf821a9bb0e8..1ebc01be6a1427cf33f0f4caccdfc10ad4b145b6 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -fblocks -include %S/types.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fblocks -include %S/types.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -fblocks -o %t %S/types.h
-// RUN: clang-cc -fblocks -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -fblocks -o %t %S/types.h
+// RUN: %clang_cc1 -fblocks -include-pch %t -fsyntax-only -verify %s 
 
 typedef int INT;
 INT int_value;
index 6f7ccf4561857a18698383ff2988219e2aec0c4a..1fb2a838e4f73e21739dbf22b9bbd567c17f04fc 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -include %S/va_arg.h %s -emit-llvm -o -
+// RUN: %clang_cc1 -triple=x86_64-unknown-freebsd7.0 -include %S/va_arg.h %s -emit-llvm -o -
 
 // Test with pch.
-// RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -emit-pch -o %t %S/va_arg.h
-// RUN: clang-cc -triple=x86_64-unknown-freebsd7.0 -include-pch %t %s -emit-llvm -o -
+// RUN: %clang_cc1 -triple=x86_64-unknown-freebsd7.0 -emit-pch -o %t %S/va_arg.h
+// RUN: %clang_cc1 -triple=x86_64-unknown-freebsd7.0 -include-pch %t %s -emit-llvm -o -
 
 char *g0(char** argv, int argc) { return argv[argc]; }
 
index f79b68483fd99c6786096ec4e5434e7920972d67..58fd8ae84661699134906b757d553dddfdf50898 100644 (file)
@@ -1,9 +1,9 @@
 // Test this without pch.
-// RUN: clang-cc -include %S/variables.h -fsyntax-only -verify %s
+// RUN: %clang_cc1 -include %S/variables.h -fsyntax-only -verify %s
 
 // Test with pch.
-// RUN: clang-cc -emit-pch -o %t %S/variables.h
-// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -emit-pch -o %t %S/variables.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 
 
 int *ip2 = &x;
 float *fp = &ip; // expected-warning{{incompatible pointer types}}
index 70aec65180910345318eec9cce3963feacb00a20..c9374297fc02613a3c6a54ea3adde9c9fa451fa2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-pch -o variables.h.pch variables.h
+// RUN: %clang_cc1 -emit-pch -o variables.h.pch variables.h
 // Do not mess with the whitespace in this file. It's important.
 
 
index 8243cb973105403fd4aecb31abbbfc6f487632f9..6df508ee4dde59499410e68f7a93034b021e6546 100755 (executable)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -parse-noop %s
+// RUN: %clang_cc1 -verify -parse-noop %s
 
 void add_attribute(id) int id; {}
 
index 90e3d24a32f5c938b915fbb51d7ff1e20a8fc0c1..4f991031d0c3a598f6ce41087cc015f994e8b42c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void foo() {
   {
index 9c804c354e5a7f23a9252f1dcb6f501101a389b7..00618864648812ade48df5bef63c93f10701c93b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -fms-extensions -x objective-c++ %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions -x objective-c++ %s
 __stdcall int func0();
 int __stdcall func();
 typedef int (__cdecl *tptr)();
index c9494e7373a0f43ce64a09369c69d12b41d02ffe..7d1b9fdc2c331f5e2006fdbdaee64a78e1724d09 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s
+// RUN: %clang_cc1 %s
 int abc (const float x) {
   return 1;
 }
index fd22c465e5c6ad5db0b11574ac2daa7a3b275e95..519e8fd2033f8451ac75f71037c9880797993799 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -fsyntax-only -verify %s
+/* RUN: %clang_cc1 -fsyntax-only -verify %s
 */
 
 void foo(int A) { /* expected-note {{previous definition is here}} */
index 5e6f439cfdf84e1ce37332a621b65390dc012e5e..d2d10c24985726db84647be22c82b83c539cde68 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 typedef struct foo foo;
 
 void blah(int foo) {
index 9cf9046aab6a46838b72fa98e785d2f000ba5638..df2e16feea5bc78706cb5ba3ab926fb8fcba07f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f1() {
   asm ("ret" : : :); // expected-error {{expected string literal}}
index cad39d382d18a6c88470cd967aa7a15560f9301b..ca606f5391ae91c18ebea60a6ee930b6ce0fd05f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -pedantic -std=c99
+// RUN: %clang_cc1 -fsyntax-only -verify %s -pedantic -std=c99
 
 int __attribute__(()) x;
 
index 0bdd179af215ceca883dcc111aa5f09141ed76a7..480d81be0d571dbc2a766f7691c3cf1b045ed55f 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -fsyntax-only -verify %s
+/* RUN: %clang_cc1 -fsyntax-only -verify %s
 */
 void foo() { 
   break; /* expected-error {{'break' statement not in loop or switch statement}} */
index df9423460cd5a51183dd59d42be560475e87b6fd..a4efc44b18287daaceef4efe3f396508769e3854 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -parse-noop %s
+// RUN: %clang_cc1 -fsyntax-only -verify -parse-noop %s
 #if 0
 int printf(const char *, ...);
 void _Block_byref_release(void*src){}
index 7a21651bad32cb3cf44be5709b5eb5b4069c57a6..2979b012c4492ba1dc5e796d5b6d67d0005cc12d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -parse-noop -fblocks %s
+// RUN: %clang_cc1 -fsyntax-only -verify -parse-noop -fblocks %s
 
 struct blockStruct {
   int (^a)(float, int);
index 7046310eb4a8942598ad2f51336b27bd519b6f51..a7c08555c905a98649ab54f10ce10bed91879b99 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct foo { int a; };
 
index 0664a9f5564133f4947a5bbbe6e0e08f1e0b0d4a..325615c7ee91d9df856f4ce67eee251b7bfa983f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 extern int funcInt(int);
 extern float funcFloat(float);
index ffca15e6a2ebda18a4d4f1f851318de335af8468..fbef09e0cd7951f56e023bfcbc5c5827c9c600ac 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s 
+// RUN: %clang_cc1 -fsyntax-only %s 
 void bla1() {
   struct XXX;
   int XXX;
index f6ad0ff511be58cd13db7a9f6388c2318b4717e5..5843e5f40157300bf8badef0e034d728307be009 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ast-print %s
+// RUN: %clang_cc1 -ast-print %s
 
 #include <stddef.h>
 
index aafb2e090a6a32351516bf9f758e0195ada4f9c6..3cdf2b05cf85335c35223bb551a0353408401ac3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Subclass 
 + (int)magicNumber;
index 8ad207270c3ff0ad0130b9f2bcf2ff5ea9347d2f..a1999def5982711eadf9254b53983eaffec764f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int @interface bla  ; // expected-error {{cannot combine with previous 'int' declaration specifier}}
 @end
index 4df851c7bf9f9862b44ebf95f30eac30d12b63da..790ee409c976ee9d078a3e7bc0caf7db6a887598 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct foo {
   int a;
 };
index c263763b2e2a1730c8af37bc3b6224de5d650e4d..4f3609dc29f4ebdfc7bd81774fbb6ec8ed9030ff 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 int main() {
   char *s;
   s = (char []){"whatever"}; 
index 8c4e19965edb668d2c89c9d727ba1b5f759e2155..53149802c4cb522cfafe28914fb5966b01a42b98 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -std=c90 -verify
-// RUN: clang-cc %s -std=c99
+// RUN: %clang_cc1 %s -std=c90 -verify
+// RUN: %clang_cc1 %s -std=c99
 
 int f (int z) { 
   if (z + sizeof (enum {a}))        // expected-note {{previous definition is here}}
index 324f6b5f9f88ad6e20b1456eafa61985ce033a36..31633a58d7b2c7ec1a55a0c532f846febae3fc90 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 void f() {
   typedef int T;
index 743d9b9ec1f2cf2d0d17a1e1bdae0340d73a8f27..192193a6dfdcb466fb6b2b0825700f7ad799c27b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s\r
+// RUN: %clang_cc1 -fsyntax-only -verify %s\r
 \r
 class c {\r
   virtual void f1(const char* a, ...)\r
index f0b3a9f9f038264767327c82e067e9c6649ca140..a8a161edb105b5f54258fc11f2ca3f68a646ce8f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 bool a = true;
 bool b = false;
index 1fdc28d2c8800fef54c0073f1d80a0824591266f..c8b4716aa356cddde4f7faf8b1685cf8dbcb3fca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 char *const_cast_test(const char *var)
 {
index ff452b9191142a59ff903ef9b30b0f078df2b7fb..576e57d0716a9e3f1fbf5ed520f456d756acaf43 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class C;
 class C {
 public:
index 8fbca2a90f7833294c0b2a2ca858c75154d01462..a3991c45f24eeaa3c0f40b21441e91cc448f33eb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -parse-noop -verify %s
+// RUN: %clang_cc1 -parse-noop -verify %s
 
 void f() {
   int a;
index 6f3fd391b95ac9a80fc2b95db7e60811ae8b295e..3c88b7adfa844fc0eee48d4aa536ea344dfbbc04 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only %s
 
 int x(*g); // expected-error {{use of undeclared identifier 'g'}}
 
@@ -51,4 +51,4 @@ void test(struct Type *P) {
   Type = 1 ? (
               (y:b)  // expected-error {{unexpected ':' in nested name specifier}}
               4) : 5;
-}
\ No newline at end of file
+}
index 0a87ab70230292bd8759fa9ea314319d2e6d4437..e6c3c757f012e882c77c6e834a6c15227147ef23 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only  %s
+// RUN: %clang_cc1 -fsyntax-only  %s
 
 struct X { };
 
index 1a04fa05c24e6fcc6fc167398ef13fdb39ad1e54..14912fd1067b7c6bb2f96b3137922e3d835b9911 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 extern "C" int myarray[];
 int myarray[12] = {0};
index 6505ad0f6f761c8f622c6b8ab11e35c6d3d05145..2fe30cd3e42828d8438cda89a102b9b58bb1c3f6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class C {
   friend class D;
index bebb5c5e40d1f3fdc2e4782e40347d348303d69c..34a725ff43af709478a04c6dea3e5cd059002547 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct x {
   x() : a(4) ; // expected-error {{expected '{'}}
index 65e1459d379b37f33138265428d9e042d06b1a17..2e4d7af6bf3083462ea7ddbc4574f5e99100dd56 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -parse-noop -verify %s
+// RUN: %clang_cc1 -parse-noop -verify %s
 
 namespace A = B;
 
index 0d2b9d29c369150a5733ec4232098a48b78346e6..46f9fb07dba05c951af2a7cc95e9ee8536e0b49c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 extern char *bork;
 char *& bar = bork;
index cc35ba153f6b07e0517f700846f788b438ef07a2..3fd3e256a877df1488c9a08f03ee930b5c086eaa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f1()
 {
@@ -51,4 +51,4 @@ void f4() {
   switch (Kind) {
     case Type: i = 7; break;  // no error.
   }
-}
\ No newline at end of file
+}
index 644f0def79c96aab2fa7c398032a522a75c55e7a..5cb84a63069bd412d3e706ba56d45c2100794397 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Errors
 export class foo { };   // expected-error {{expected template}}
index bcc49ec1b4fb5829d1b58491fcdded5d9fe6e15b..a87881647dd4fa233eef797314f11745ffabbdcf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int i;
 
index 5a92e7322f1f3a9a1e83f07b79a8f62be4a04192..a825dc3cc7a56d2fbbf9273029c60a3b64970bc4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // FIXME: This should really include <typeinfo>, but we don't have that yet.
 namespace std {
index 0bf446316cfcb3477b656c2ba1d121fc91b7d73d..7e891013e92ce29ae9e9eb6e3a89bce86057873d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 static void test() {
   int *pi;
index 20c9fb391a8007458387b7cbc1133d309e38ded7..2b2a69d1a421b67a4ec12b53891520bdfe0df1f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace A {
     int VA;
index 504d026b43919901c58d6a67d25157365776639d..1e918996d1470d8f6edf7747a8428f212892407d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class A {};
 
index 86d6b6bf2c5db4183b418251c201377ca6a1ff47..b9360d6ed10a0f1d9d97f546235b83fb8f6a678f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only  %s
+// RUN: %clang_cc1 -fsyntax-only  %s
 
 void f(...) {
   int g(int(...));
index a66e3e0597666f842ae72f8d51868a76518004fe..67b2ea6f62ea0f861542052ac8858094d7e0278f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 // Declaration syntax checks
 [[]] int before_attr;
index c5514601d11615e9c6109df6a02c34e9dcc18965..830754e56ae0afaa4391cc852cd3654086f32c0e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 void operator "" (); // expected-error {{expected identifier}}
 void operator "k" foo(); // expected-error {{string literal after 'operator' must be '""'}}
index 389f2b947003c9d3f6f42106d229ca683fea052b..ae568e8859c0b185522985777f810312405f51dc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 int && r1(int &&a);
 
index da8327a1e834f104940032ab7d940e31f69d72c1..3831199c8d7158fd8fdbe7de09188435c36aa71b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -pedantic
+// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
 
 extern int a1[];
 
index 76c2d435227fb9b80102457b796ae436982d245d..6badab7a75c3a9ac3f30f28064ce0401903f56b9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -pedantic
+// RUN: %clang_cc1 -fsyntax-only %s -verify -pedantic
 
 int X[] = {
   [4]4,       // expected-warning {{use of GNU 'missing =' extension in designator}}
index 15e9fe9828be1252c7c35caa01449bb01d7acdf9..e0e7535081193f79c5140f4b664a48a84f035ab1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int main(void) {
   const char ch = @encode(char *)[2];
index b80eb7d09d8fab5dbcea36c2e8a137a79e2a0c91..a3819f3a19589346fa1a2db514cd035eb57eeae7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol MyProto1 
 @optional
index 2b4d4636ebb1af35fd94fee7fcdc504402547108..44ebe661befd8a57672e53c1b4562309e25d74ef 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -parse-noop -verify %s
+// RUN: %clang_cc1 -parse-noop -verify %s
 
 void test1() {
   if (sizeof (int){ 1});   // sizeof compound literal
index 9adc34af1fc7c3da0bd493e9471621aa0bc66e5e..e27f40506926b676f8e735d121d18e2244ce48c7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -parse-noop %s
+// RUN: %clang_cc1 -parse-noop %s
 
 void test1() {
   @"s";            // expected-warning {{expression result unused}}
index 519dc053c82fa5d713fc9c426b7c64f135df7f79..fd4cf80867487389b874d778e44a6e83420fd9d7 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc %s -fsyntax-only -pedantic -verify -std=c89
+/* RUN: %clang_cc1 %s -fsyntax-only -pedantic -verify -std=c89
  */
 
 /* Top level extension marker. */
index 28bb5c2e18dad6a5111c790b3b1f5340ec498bf6..db9a98b391e602825a6411cc8a5113bbb7068103 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc %s -ast-print
+/* RUN: %clang_cc1 %s -ast-print
  */
 
 void foo() {
index e8d1963e38c2f68bf173040f20dec8d1837d7ec7..32051dc677eca7ef85bbe12e1ee4b57894f04f8a 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -fsyntax-only -verify %s
+/* RUN: %clang_cc1 -fsyntax-only -verify %s
 */
 
 void foo() { 
index c372f0fc4f4d3fdbe20191e414ac97b955fc294f..c368fabb80ed5141ec08e27ca0c77747d4c7be7e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c90 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c90 %s
 
 int f (int z)
 { 
index 0cb2495efce214ce98cc878fd4d643585066ec71..63f82e0f7aa76c68f945717f7da955fb87ce8d9a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c99 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c99 %s
 
 int f (int z)
 { 
index 3e8f599047c451d898658aae6129c3daaf18735c..900b4ece8bab2f6f5678ecf08b3806548eb77380 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 _Complex double X;
 void test1(int c) {
   X = 5;
index 86a912f46eb771e076cb1df9ef16d3061f211b03..d2d9563a2ec430dfb200a9340c0bbd5340a4ab74 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -parse-noop
+// RUN: %clang_cc1 %s -parse-noop
 @interface MyObject 
 - (void) bycopy  : (int) woodo, ... ;
 - (void) break  : (int) woodo, ... ;
index 3c8b85a2d61a0670261151296e6385f7bb471e3e..8667a71657ccf931e0f9d58e8592d919fb39ec75 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 
 typedef int Object;
 
index 42298c39c46fb9962fc68523cb2eda88905c1371..84850ffafb175b34694fd1ead12fd6104fbf5be0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 
 typedef int Object;
 
index 9e4072cde22527adc56e6dc147eeba3bdc8fd38c..ba809229a6469f6f975ec85c3f1d543f14511043 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 
 namespace A
 {
index afb522cfa3d9e9a7def86f0bb0776141f0a9c24b..8b9cc6e1392448ab16bcb92885bc7b6722e64c1e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -ast-print %s
+// RUN: %clang_cc1 -ast-print %s
 
 @protocol P1 @end
 @protocol P2 @end
index 957dbde2d7fa5e02742eca552ac200e7343d3b9e..5799db0bd2e7fcad17407faea8bb1679bf286779 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void __assert_rtn(const char *, const char *, int, const char *) __attribute__((__noreturn__));
 static __inline__ int __inline_isfinitef (float ) __attribute__ ((always_inline));
index 6075332dcd5bcf1ec80f987e8a37a049e9a6bc97..4850deb1fa9a44e2f306f5826a1a085586b5d1e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 typedef struct objc_class *Class;
 typedef struct objc_object {
index 9019d441a60abe0751b5243ade986455662fe2a7..e02c51c1ba35cffc67c82740ada47f1cf3ee9a29 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef struct objc_class *Class;
 typedef struct objc_object {
index 464759e0d17503864884369a047b48d58839f6d7..0ba093efa08a300bc3c5913d06682f8d9a50a3ec 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef struct objc_class *Class;
 typedef struct objc_object {
index 294a6029378cd4b3ad10b6f044d445bb39f3162e..943540ef1f23d88af7fa0d7bed14954dcd84c74a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 
 
index b3f033ea25f1d7c2f2f780ee1d7a9ad49cf64113..0c23aebc878c918a5e8b018e80367262049c7991 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s -pedantic
+// RUN: %clang_cc1 -fsyntax-only -verify %s -pedantic
 // rdar://5707001
 
 @interface NSNumber;
index fdb52e763f2c6cf66746f1b532c4373bdfcfe2ad..aac3faa4350a66d19d808a2e394f5a378a57177c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 // Test features and error recovery for objc interfaces.
 
index 2ee3639b06cbe98219e48a75a09192ec294d5039..511290eabfc0bfdbe63cfa0f6f1c4a5a72e5bd8c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -parse-noop
+// RUN: %clang_cc1 %s -parse-noop
 int main ()
 {
        int i,j;
index 4dcbb79a996ad8638b630153ec9eacc91e608bfa..0d0cb9d8d6fea6957576812c24ef7c4e251dec42 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int main() {
   id a;
index 392b26f63838cc4653f1e64e5a7b07936b770fcc..05d9d6c0b2326c6e74380192f0fdbb05faa4c80d 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 @end // expected-warning {{@end must appear in an @implementation context}}
index 294fb541e47481402d7cc562d1ba6ddd16d38884..b5f57f305f395180cf9a1813823b15c2768c8599 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface MyClass {
 
index 233739bc38d0d403b94b208a358b2928c4c54b9d..62984a458f364a6e0c6614418f793cf90b94e4f8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // FIXME: This is a horrible error message here. Fix.
 int @"s" = 5;  // expected-error {{prefix attribute must be}}
index dbe9b1d93b615578accbf5bedc1fd953f828a632..3f04a8c21d39236ea493a0767d9a0a9d39b2c19c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface I1 
 {
index 25b52794a77d13c905d9f1e40691dbe2a3b16afe..1934cbd3b83d040bdd5539c89c70b617dc5b0d7b 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
-// RUN: clang -cc1 -fsyntax-only -verify -x objective-c++ %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify -x objective-c++ %s
 void * proc();
 
 @interface NSConstantString
index e619b72ab6b198da1be8b5c3a78dc04011949bf2..9bbdac98bcbddf05e3b417b2559bc645320aa8a5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -ast-print %s
+// RUN: %clang_cc1 -ast-print %s
 
 @protocol P1 @end
 @protocol P2 @end
index 6c4e3feaa69432335de542b324a02d01c5bc795a..3a5b9f36c7f23ed19e122cbe76992065a1c2635a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct a { struct { int b; } x[2]; };
 
index f35487ee95c621898b45bb2bd838af67d4d3db04..9fa8a6880a21d2f42ea522d17ae75a096efb0c3d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f (int p[]) { p++; }
 
index d252b42c9b15ef958c33deb7aff73930aa492436..87eb1a27049421fc368c5c592d73f7071b254ee2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int *test1(int *a)         { return a + 1; }
 int *test2(int *a)         { return 1 + a; }
index 3226eabbf53d5eb4b2d1ed3091f85d2d797d0a92..30589d01326faae9f1bff2fc2f968ae7c478d446 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void test() {
   void *vp;
index d42bbe5c40d2c874abd6b3ed13146ae6185adbfb..84778cd501d05c12629e5599086078a96df687a3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Note that this puts the expected lines before the directives to work around
 // limitations in the -verify mode.
index dca0f8dd4c15a4cc73a20c4be0604141c127e89c..7e5740b483085db42cbbf94ada524a606675086a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Note that this puts the expected lines before the directives to work around
 // limitations in the -verify mode.
index 31be34076fe3412d00dc17faf209618bf02d9bff..399421fd728fd92c1ed094fb7f3dfd4923248b0e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only %s
 
 __attribute__((deprecated)) @class B; // expected-error {{prefix attribute must be followed by an interface or protocol}}
 
index faff3e35d5a3d78894002b4882a9e03ea61c20a7..969ba28120f239868336b1a3eac83ad1ac500088 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s
+// RUN: %clang_cc1 %s
 void functionPromotion(void f(char *const []));
 void arrayPromotion(char * const argv[]);
 
index 43d3e2d8a69da4fb48f7ad9b82529822e300823f..8e7181e0ba05f76cae97b2799237ac1db88111b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic -fblocks %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -fblocks %s
 
 // PR2241
 float test2241[2] = { 
index fdc74ff4b424c42b8ce990abaccd948815ae0749..1f9cad62aee361fafe836ba01796a2105de8cec9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -parse-noop %s 
+// RUN: %clang_cc1 -parse-noop %s 
 
 int main() {
  SEL s = @selector(retain);
index 25e06a27bd139591eb0455a9dd8448841998942f..8fec0f1b262f2201db5fc8fa9a4f3c61bdc4db0f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void test1() {
   { ; {  ;;}} ;;
index 11e5f7e97ab1eaa3528b3fa84502d6c75add739d..834c5d0f771ff64dd2eaf3275cc44a2d941316c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only
+// RUN: %clang_cc1 %s -fsyntax-only
 
 // C99 6.7.2.3p11
 
index e83fd9e8dbd7c07d273cbd0c9c12958a04698391..592483c86bb63990d3939733da017192dc54c733 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++0x -verify %s
 
 void foo();
 
index 2a21ec3708d4937847965fca232e1b6322fca796..3811d0d88cdeae30d8ce1e48126834e1d7e61d54 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify
+// RUN: %clang_cc1 -fsyntax-only %s -verify
 
 int x(a) int a; {return a;}
 int y(b) int b; {return a;} // expected-error {{use of undeclared identifier}}
index a7c488023ae2e718f1e5f6dc481e0659cdfd15a9..cf0e47a6b1244a23102adaa808fef54d7eda25e0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef int TInt;
 
index 2131ab0346f4f4c32b177885e150ce2f3a956398..0e8a63d81fc0a3c1e876a69d5337cc3ae324d52a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -parse-noop
+// RUN: %clang_cc1 %s -parse-noop
 
 // Test the X can be overloaded inside the struct.
 typedef int X; 
index 17c5355302c2898488e9a7115c3f108458e38eea..a2861c97cb85c561bb24cfc113d4c4896405110b 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -E 2>&1 | grep 'DO_PRAGMA (STR'
-// RUN: clang-cc %s -E 2>&1 | grep '7:3'
+// RUN: %clang_cc1 %s -E 2>&1 | grep 'DO_PRAGMA (STR'
+// RUN: %clang_cc1 %s -E 2>&1 | grep '7:3'
 
 #define DO_PRAGMA _Pragma 
 #define STR "GCC dependency \"parse.y\"")
index c21c7c85d48581d2b964b982abdf8aaa40a36a27..c178764e5e2ef7f7c17a129b937e64354447e5c9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s -verify
+// RUN: %clang_cc1 -E %s -verify
 
 #define DO_PRAGMA _Pragma 
 DO_PRAGMA ("GCC dependency \"blahblabh\"")  // expected-error {{file not found}}
index 61cadfbb8a189d9f0a0d92404d819916a1c9020b..8b68d6ca1f76eac6c83f72d489345daa0e04b8d1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E | not grep 'scratch space'
+// RUN: %clang_cc1 %s -E | not grep 'scratch space'
 
 #define push _Pragma ("pack(push)")
 push
index 016c97b82fd839ce57e7332fff118ab973630fbc..a093af21417906feedb0ba47c750001a9a217762 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -E | grep '#pragma x y z'
-// RUN: clang-cc %s -E | grep '#pragma a b c'
+// RUN: %clang_cc1 %s -E | grep '#pragma x y z'
+// RUN: %clang_cc1 %s -E | grep '#pragma a b c'
 
 _Pragma("x y z")
 _Pragma("a b c")
index 9c0c97d1f011c0670e6d6ac490f84d18ca85c987..0a83b149ff75d28b7f2a72b4ed169b4f69826b79 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -Wall
+// RUN: %clang_cc1 %s -verify -Wall
 
 _Pragma ("GCC system_header")  // expected-warning {{system_header ignored in main file}}
 
index 17880c8da7e3cc0a3e80ec0b0a7c412ae80c8d47..0543077c01c7e9d48772058cffe7020639ad2667 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -x assembler-with-cpp -E %s -o - | FileCheck -strict-whitespace -check-prefix=CHECK-Identifiers-False %s
+// RUN: %clang_cc1 -x assembler-with-cpp -E %s -o - | FileCheck -strict-whitespace -check-prefix=CHECK-Identifiers-False %s
 
 #ifndef __ASSEMBLER__
 #error "__ASSEMBLER__ not defined"
@@ -49,7 +49,7 @@
 6: FOO(blarg)
 // CHECK-Identifiers-False: 6: blarg $foo
 
-// RUN: clang-cc -x assembler-with-cpp -fdollars-in-identifiers -E %s -o - | FileCheck -check-prefix=CHECK-Identifiers-True -strict-whitespace %s
+// RUN: %clang_cc1 -x assembler-with-cpp -fdollars-in-identifiers -E %s -o - | FileCheck -check-prefix=CHECK-Identifiers-True -strict-whitespace %s
 #define FOO(name)  name ## $foo
 7: FOO(blarg)
 // CHECK-Identifiers-True: 7: blarg$foo
index 06a2ac20d04cfa40254d38a39769de404d1cc759..52228b5fdbf592e1d88c415bc1be2c72b7b54048 100644 (file)
@@ -1,10 +1,10 @@
-// RUN: clang-cc %s -E | grep "^  4"
+// RUN: %clang_cc1 %s -E | grep "^  4"
 #define FOO __LINE__
 
   FOO
 
 // PR3579 - This should expand to the __LINE__ of the ')' not of the X.
-// RUN: clang-cc %s -E | grep "^A 13"
+// RUN: %clang_cc1 %s -E | grep "^A 13"
 
 #define X() __LINE__
 
index ed63d1b3d7cc739a8970e5fce57d61757ddf5fd1..1d5010d75e34e1e579ce135f83cc344c94676829 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc %s -std=c89 -Eonly -verify -pedantic-errors 
+/* RUN: %clang_cc1 %s -std=c89 -Eonly -verify -pedantic-errors 
  */
 
 /* PR3919 */
index 99ad6e88a3f9e05baf2b091d8eb1605b6144c5d2..320e6cf3e2a2fbece9f36a3df64af6265ae5a047 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
 
 #define hash_hash # ## # 
 #define mkstr(a) # a 
index 08b2c423601fce399954fbbacd4f108800434f6c..6dea09d1130a4bf7552cd3cb9234f9cf216ee2a6 100644 (file)
@@ -1,5 +1,5 @@
 // Example from C99 6.10.3.4p5
-// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
 
 #define x 3 
 #define f(a) f(x * (a)) 
index 8072d7b87bf286ea30776e24095f51ced5697913..98bacb24e1d39007909b309526be9d6404220ea9 100644 (file)
@@ -1,6 +1,6 @@
 // Example from C99 6.10.3.4p6
 
-// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
 
 #define str(s) # s 
 #define xstr(s) str(s) 
index 6a7eb48173b8989c3c1d1888905aa9378d6afd00..b63209b26891f516c66a7ef36ce463a4c8873275 100644 (file)
@@ -1,6 +1,6 @@
 // Example from C99 6.10.3.4p7
 
-// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
 
 #define t(x,y,z) x ## y ## z 
 int j[] = { t(1,2,3), t(,4,5), t(6,,7), t(8,9,), 
index 704241e46e3fff3b03ab3b6a4723cc6181384862..04c4b79700db1f0cc09179a358436b53a2cc2795 100644 (file)
@@ -1,6 +1,6 @@
 // Example from C99 6.10.3.4p9
 
-// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
 
 #define debug(...) fprintf(stderr, __VA_ARGS__) 
 #define showlist(...) puts(#__VA_ARGS__) 
index 1cb331998f43b40c66a0b12dabaa32767efc2ba6..f2dec4fbe565ef97e10fd69927aab92585a7c974 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -E %s
+// RUN: %clang_cc1 -E %s
 
 #include <limits.h>
index ae609b117e7e9c53ab153635bc2ead0c057033e4..b86004272b2025303cb572b72976170b8ebaecf3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -C %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E -C %s | FileCheck -strict-whitespace %s
 
 // foo
 // CHECK: // foo
index c08b2d7c78b7b41f9cb33ba720c1d5bbd4e457a6..2f35bcb9e8c6eb23f9f4aa1526e47ea92e9b7762 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E -CC -pedantic 2>&1 | grep -v '^/' | not grep warning
+// RUN: %clang_cc1 %s -E -CC -pedantic 2>&1 | grep -v '^/' | not grep warning
 
 #if 1 /*bar */
 
index 76a21bfbdea8f49e6e443857801bc9c3f7b25e2c..6ad759f5c31a2349c4de094025b4930e5dce8775 100644 (file)
@@ -1,10 +1,10 @@
-// RUN: clang-cc -E -C %s | FileCheck -check-prefix=CHECK-C -strict-whitespace %s
+// RUN: %clang_cc1 -E -C %s | FileCheck -check-prefix=CHECK-C -strict-whitespace %s
 // CHECK-C: boo bork bar // zot
 
-// RUN: clang-cc -E -CC %s | FileCheck -check-prefix=CHECK-CC -strict-whitespace %s
+// RUN: %clang_cc1 -E -CC %s | FileCheck -check-prefix=CHECK-CC -strict-whitespace %s
 // CHECK-CC: boo bork /* blah*/ bar // zot
 
-// RUN: clang-cc -E %s | FileCheck -check-prefix=CHECK -strict-whitespace %s
+// RUN: %clang_cc1 -E %s | FileCheck -check-prefix=CHECK -strict-whitespace %s
 // CHECK: boo bork bar
 
 
index 747091387fdedc04ba440c670c6077ac58a85084..a84ffe7f266568d89280508832b70f9e83a7177b 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang-cc -DA -DB -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -DA -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -DB -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DA -DB -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DB -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
 #if defined(A) and defined(B)
 #define X 37
 #else
index e6b7c2c6370a031f646f435df1df230be0493d37..01b4ff1909d0af4f6ba99e2d23f2723aaddefcaf 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -DA=1 -DB=2 -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -DA=1 -DB=1 -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DA=1 -DB=2 -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DA=1 -DB=1 -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
 #if A bitand B
 #define X 37
 #else
index e72fcb44a9507480c082f3a916238012edebc793..c92596e5e1755a97d0be0da0c2ca508f045b0b97 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc -DA=1 -DB=1 -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -DA=0 -DB=1 -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -DA=1 -DB=0 -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -DA=0 -DB=0 -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DA=1 -DB=1 -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA=0 -DB=1 -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA=1 -DB=0 -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA=0 -DB=0 -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
 #if A bitor B
 #define X 37
 #else
index b319c51f29fb0ba23cec1abd224fa7169e6ce2e4..824092c16f5044b0d397db4b4464c14eedc5cda2 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -DA=1 -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -DA=0 -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DA=1 -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA=0 -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
 #if compl 0 bitand A
 #define X 37
 #else
index 2272941b68da0916c53d3fbcb9113c1fed0eb4bf..67e8775295ad70235bdb66c729a2e47823ceba28 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -DA=1 -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA=1 -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -E %s | grep 'int a = 37 == 37'
 #if not defined(A)
 #define X 37
 #else
index 92418b287a504a3a5fcbec77f65fd7cd7be66097..f7670fabf853048abacfa37ee2842492872c6175 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -DA=1 -DB=1 -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -DA=1 -DB=2 -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA=1 -DB=1 -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DA=1 -DB=2 -E %s | grep 'int a = 37 == 37'
 #if A not_eq B
 #define X 37
 #else
index 0464e97eb903a95923ce6869f4d27ebc3076aab5..3fc246dd6c2a0b3b4571af1f1eb194ca9cb6c206 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: not clang-cc %s -E
-// RUN: clang-cc %s -E -fno-operator-names
+// RUN: not %clang_cc1 %s -E
+// RUN: %clang_cc1 %s -E -fno-operator-names
 
 // Not valid in C++ unless -fno-operator-names is passed.
 #define and foo
index 85f0426ca3a9b7bae8ed875f396b9a874c0ea3d6..0ae9afd7eea5e549f3ed5baefe545de3232bc7fe 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep 'a: "and"'
+// RUN: %clang_cc1 -E %s | grep 'a: "and"'
 
 #define X(A) #A
 
index 2f7c0a5d65db5829ce998e6c09126f6dced3e657..e8ed92fd062bc0442d59f3a2a935befb3439056b 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang-cc -DA -DB -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -DA -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -DB -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DA -DB -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DB -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
 #if defined(A) or defined(B)
 #define X 37
 #else
index bca70c5949e630f7f9b0e8c3318f199a5d98f74f..b123e0cb681affc65af44faa50b463804d622773 100644 (file)
@@ -1,6 +1,6 @@
-/* RUN: clang-cc -E %s -x c++ | grep block_1
-   RUN: clang-cc -E %s -x c++ | not grep block_2
-   RUN: clang-cc -E %s -x c | not grep block
+/* RUN: %clang_cc1 -E %s -x c++ | grep block_1
+   RUN: %clang_cc1 -E %s -x c++ | not grep block_2
+   RUN: %clang_cc1 -E %s -x c | not grep block
 */
 
 #if true
index e6df9bb819e1ff05fd3679ad2b49c7efadd0f827..24a6ce43559cad4a200018ab0354935dd9dd0df0 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc -DA=1 -DB=1 -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -DA=0 -DB=1 -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -DA=1 -DB=0 -E %s | grep 'int a = 37 == 37'
-// RUN: clang-cc -DA=0 -DB=0 -E %s | grep 'int a = 927 == 927'
-// RUN: clang-cc -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DA=1 -DB=1 -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -DA=0 -DB=1 -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA=1 -DB=0 -E %s | grep 'int a = 37 == 37'
+// RUN: %clang_cc1 -DA=0 -DB=0 -E %s | grep 'int a = 927 == 927'
+// RUN: %clang_cc1 -E %s | grep 'int a = 927 == 927'
 #if A xor B
 #define X 37
 #else
index eb7632f29b3fd80c5be069a5273aadbe4db3b79b..531842a73158c80269d8762aa48a04d2bb737be1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s 2>&1 | not grep "warning\|error"
+// RUN: %clang_cc1 -E %s 2>&1 | not grep "warning\|error"
 
 #if 0
 
index 335e37c97e0e6ba906686eab35837b4c30cb39ab..13924422d6948221a6eed9b8981e622c885bf140 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -dD < %s | grep stdin | grep -v define
+// RUN: %clang_cc1 -E -dD < %s | grep stdin | grep -v define
 #define A A
 /* 1
  * 2
index 5908fec4b68158c304a19ab9deba438adcdc7a4a..d420eb4066de80133933ad4dc065144bc4723b66 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -dM %s -o - | FileCheck %s -strict-whitespace
+// RUN: %clang_cc1 -E -dM %s -o - | FileCheck %s -strict-whitespace
 
 // Space at end even without expansion tokens
 // CHECK: #define A(x) 
index c0e78c9b155dcc13ad615fc4c2ff621d0d605397..7321c0eeef7fa64526da99b7173efeee97e5844f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -dump-tokens %s 2>&1 | grep "Spelling=.*dumptokens_phyloc.c:3:20"
+// RUN: %clang_cc1 -dump-tokens %s 2>&1 | grep "Spelling=.*dumptokens_phyloc.c:3:20"
 
 #define TESTPHYLOC 10
 
index 88ceabf8e4809621d85c529d13ed0f6a8b54f720..538727d12bf34d721ee71e5fc886c2213adb2928 100644 (file)
@@ -1,8 +1,8 @@
 // Comma is not allowed in C89
-// RUN: not clang-cc -E %s -std=c89 -pedantic-errors
+// RUN: not %clang_cc1 -E %s -std=c89 -pedantic-errors
 
 // Comma is allowed if unevaluated in C99
-// RUN: clang-cc -E %s -std=c99 -pedantic-errors 
+// RUN: %clang_cc1 -E %s -std=c99 -pedantic-errors 
 
 // PR2279
 
index 8bc2b8eb75c970b829554639c39e21995be37d7e..5defcc5bfbbd765b4f1408cbe6c18da4085e0410 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: not clang-cc -E %s 2>&1 | grep 'invalid token at start of a preprocessor expression'
-// RUN: not clang-cc -E %s 2>&1 | grep 'token is not a valid binary operator in a preprocessor subexpression'
-// RUN: not clang-cc -E %s 2>&1 | grep ':14: error: expected end of line in preprocessor expression'
+// RUN: not %clang_cc1 -E %s 2>&1 | grep 'invalid token at start of a preprocessor expression'
+// RUN: not %clang_cc1 -E %s 2>&1 | grep 'token is not a valid binary operator in a preprocessor subexpression'
+// RUN: not %clang_cc1 -E %s 2>&1 | grep ':14: error: expected end of line in preprocessor expression'
 // PR2220
 
 #if 1 * * 2
index d44b196afa831d3ab189aacbf6aa83255825c3be..c3b64210bb498913a6d9861a4a626acce5b3f271 100644 (file)
@@ -1,5 +1,5 @@
-/* RUN: clang-cc -E %s -DNO_ERRORS -Werror -Wundef
-   RUN: not clang-cc -E %s
+/* RUN: %clang_cc1 -E %s -DNO_ERRORS -Werror -Wundef
+   RUN: not %clang_cc1 -E %s
  */
 
 #ifdef NO_ERRORS
index 4df8f3d4f9eace124d2a727cd618d60b0c4f8fa5..8ab12d9ab8aa91a86657dc603b245e90ea645944 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc < %s -E -verify -triple i686-pc-linux-gnu
+// RUN: %clang_cc1 < %s -E -verify -triple i686-pc-linux-gnu
 
 #if (('1234' >> 24) != '1')
 #error Bad multichar constant calculation!
index 47aca7beca6f652b27da934a530ca5077fe44522..b1bddd34546cf665ff63081e214e2fe05c47f5a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E  2>&1 | grep warning | wc -l | grep 2
+// RUN: %clang_cc1 %s -E  2>&1 | grep warning | wc -l | grep 2
 
 #define INTMAX_MIN (-9223372036854775807LL -1)
 
index 7b5095f6e92374f531acbe87322796c49c4b47dc..4ba57f78f77d39e3dadb57e8739efe0df2f9e5c1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 // The preprocessor shouldn't warn about extensions within macro bodies that
 // aren't expanded.
index 9ccff0e12025e19babd1371d3ca0eecfb1466a0c..35592bd8e1c3ea21847c4a84f7f249cc19c7dace 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -triple=i686-apple-darwin9
-// RUN: clang-cc %s -E -triple=i686-apple-darwin9
+// RUN: %clang_cc1 %s -triple=i686-apple-darwin9
+// RUN: %clang_cc1 %s -E -triple=i686-apple-darwin9
 #ifndef __has_feature
 #error Should have __has_feature
 #endif
index 6a266dd0790a7845ad2cd4b604fef387f5ea9307..c97bb75d8a33be614070639fce262e0f3c323143 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -E -P %s | grep f
+/* RUN: %clang_cc1 -E -P %s | grep f
  */
 
 #include "function_macro_file.h"
index 40697c099f4fca63dabb518e70ab9aa4126955d9..c34c3488036a3cf260b9473435b756427f9caed0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Eonly -verify %s
+// RUN: %clang_cc1 -Eonly -verify %s
 
 // Try different path permutations of __has_include with existing file.
 #if __has_include("stdio.h")
index 31f708ce73ad382f42888f689c3a60402c6656da..4f724dfbba916eef2acc4912c7c9cb3523b8f871 100644 (file)
@@ -1,7 +1,7 @@
 // The 1 and # should not go on the same line.
-// RUN: clang-cc %s -E | not grep "1 #"
-// RUN: clang-cc %s -E | grep '^1$'
-// RUN: clang-cc %s -E | grep '^      #$'
+// RUN: %clang_cc1 %s -E | not grep "1 #"
+// RUN: %clang_cc1 %s -E | grep '^1$'
+// RUN: %clang_cc1 %s -E | grep '^      #$'
 1
 #define EMPTY
 EMPTY #
index e7dbd3bc617b7beca1eb7b88fba95fee658fe882..ac97556cda0dd243ba7228320ccd959201d84eef 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E | grep " #"
+// RUN: %clang_cc1 %s -E | grep " #"
 
 // Should put a space before the # so that -fpreprocessed mode doesn't
 // macro expand this again.
index 2ce7b31599821d4ed7b41baf495071d631025930..98653a8feef6dc018da3bf651272da669b1834be 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -Eonly -Werror=undef -verify
-// RUN: clang-cc %s -Eonly -Werror-undef -verify
+// RUN: %clang_cc1 %s -Eonly -Werror=undef -verify
+// RUN: %clang_cc1 %s -Eonly -Werror-undef -verify
 
 extern int x;
 
index 3fffcc0290dec43ad306b91501d966852c6195c1..51d06d1f1b6ebbc749b22574ff894fc18e73c23f 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -E %s 2>&1 >/dev/null | grep error: | count 3
+/* RUN: %clang_cc1 -E %s 2>&1 >/dev/null | grep error: | count 3
  */
 
 #ifdef
index 2cabe3d71ca643822130fec3de5beffdeb459397..8ba0b19c94ae84b1840193c1ad1506327590abcc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -I. %s | grep BODY_OF_FILE | wc -l | grep 1
+// RUN: %clang_cc1 -E -I. %s | grep BODY_OF_FILE | wc -l | grep 1
 
 // This #import should have no effect, as we're importing the current file.
 #import <import_self.c>
index 66f70fb3a9e593280a40c4048d876558df3fbd76..20f45829eebb7a08bc6eb305becfc840ed4592e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 3
+// RUN: %clang_cc1 -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 3
 
 // XX expands to nothing.
 #define XX
index 123998246bff5d697b2495349bb6d6c9d41f92a5..b205325f601ed4c45cf2aea431e5bd129d68b7d8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Eonly -verify %s 
+// RUN: %clang_cc1 -Eonly -verify %s 
 #  define HEADER <float.h>
 
 #  include HEADER
index e5b7a940c6cb4ea5de9b1f5f63721a0a7b61857b..c0e2ae124cd704f930ad6b36d22750cd4a9935bd 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -include %S/file_to_include.h -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 1
+// RUN: %clang_cc1 -include %S/file_to_include.h -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 1
 // PR3464
 
index d64ee5e3e6d9c50453f6b0358db1bac18b6c8d35..b86cd0df26119300d6fb1df0eb5f7bcc415f7901 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -Dtest=FOO -imacros %S/pr2086.h %s | grep 'HERE: test'
+// RUN: %clang_cc1 -E -Dtest=FOO -imacros %S/pr2086.h %s | grep 'HERE: test'
 
 // This should not be expanded into FOO because pr2086.h undefs 'test'.
 HERE: test
index 5634d719f5677f92455e1d04700d7bdf29094137..e1d6685d1fa5fb91fdccf8e237d3fa5eb54f803c 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -emit-pth %s -o %t
-// RUN: clang-cc -include-pth %t %s -E | grep 'file_to_include' | count 2
+// RUN: %clang_cc1 -emit-pth %s -o %t
+// RUN: %clang_cc1 -include-pth %t %s -E | grep 'file_to_include' | count 2
 #include "file_to_include.h"
index f6b411e93ff0e7f4c571220ef2dc988e49b7b5b8..e69500750f51a39b3f4d587f0766d89c9e7028d8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep '^   zzap$'
+// RUN: %clang_cc1 -E %s | grep '^   zzap$'
 
 // zzap is on a new line, should be indented.
 #define BLAH  zzap
index 163734e185e39767b013ec90ca30ca094b29efe5..ac0f63a9a38cd0b1fff2bcbe3c8d5fed2d193730 100644 (file)
@@ -1,15 +1,15 @@
-// RUN: clang-cc -E -dM -x assembler-with-cpp < /dev/null | FileCheck -check-prefix ASM %s
+// RUN: %clang_cc1 -E -dM -x assembler-with-cpp < /dev/null | FileCheck -check-prefix ASM %s
 //
 // ASM:#define __ASSEMBLER__ 1
 //
 // 
-// RUN: clang-cc -fblocks -E -dM < /dev/null | FileCheck -check-prefix BLOCKS %s
+// RUN: %clang_cc1 -fblocks -E -dM < /dev/null | FileCheck -check-prefix BLOCKS %s
 //
 // BLOCKS:#define __BLOCKS__ 1
 // BLOCKS:#define __block __attribute__((__blocks__(byref)))
 //
 // 
-// RUN: clang-cc -x c++ -std=c++0x -E -dM < /dev/null | FileCheck -check-prefix CXX0X %s
+// RUN: %clang_cc1 -x c++ -std=c++0x -E -dM < /dev/null | FileCheck -check-prefix CXX0X %s
 //
 // CXX0X:#define _GNU_SOURCE 1
 // CXX0X:#define __DEPRECATED 1
@@ -20,7 +20,7 @@
 // CXX0X:#define __private_extern__ extern
 //
 // 
-// RUN: clang-cc -x c++ -std=c++98 -E -dM < /dev/null | FileCheck -check-prefix CXX98 %s
+// RUN: %clang_cc1 -x c++ -std=c++98 -E -dM < /dev/null | FileCheck -check-prefix CXX98 %s
 // 
 // CXX98:#define _GNU_SOURCE 1
 // CXX98:#define __DEPRECATED 1
 // CXX98:#define __private_extern__ extern
 //
 // 
-// RUN: clang-cc -std=c99 -E -dM < /dev/null | FileCheck -check-prefix C99 %s
+// RUN: %clang_cc1 -std=c99 -E -dM < /dev/null | FileCheck -check-prefix C99 %s
 //
 // C99:#define __STDC_VERSION__ 199901L
 // C99:#define __STRICT_ANSI__ 1
 //
 // 
-// RUN: clang-cc -E -dM < /dev/null | FileCheck -check-prefix COMMON %s
+// RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -check-prefix COMMON %s
 //
 // COMMON:#define __CONSTANT_CFSTRINGS__ 1
 // COMMON:#define __FINITE_MATH_ONLY__ 0
 // COMMON:#define __llvm__ 1
 //
 // 
-// RUN: clang-cc -ffreestanding -E -dM < /dev/null | FileCheck -check-prefix FREESTANDING %s
+// RUN: %clang_cc1 -ffreestanding -E -dM < /dev/null | FileCheck -check-prefix FREESTANDING %s
 // FREESTANDING:#define __STDC_HOSTED__ 0
 // 
-// RUN: clang-cc -x c++ -std=gnu++98 -E -dM < /dev/null | FileCheck -check-prefix GXX98 %s
+// RUN: %clang_cc1 -x c++ -std=gnu++98 -E -dM < /dev/null | FileCheck -check-prefix GXX98 %s
 //
 // GXX98:#define _GNU_SOURCE 1
 // GXX98:#define __DEPRECATED 1
 // GXX98:#define __private_extern__ extern
 //
 // 
-// RUN: clang-cc -std=iso9899:199409 -E -dM < /dev/null | FileCheck -check-prefix C94 %s
+// RUN: %clang_cc1 -std=iso9899:199409 -E -dM < /dev/null | FileCheck -check-prefix C94 %s
 //
 // C94:#define __STDC_VERSION__ 199409L
 //
 // 
-// RUN: clang-cc -fms-extensions -E -dM < /dev/null | FileCheck -check-prefix MSEXT %s
+// RUN: %clang_cc1 -fms-extensions -E -dM < /dev/null | FileCheck -check-prefix MSEXT %s
 //
 // MSEXT-NOT:#define __STDC__
 // MSEXT:#define __int16 __INT16_TYPE__
 // MSEXT:#define __int8 __INT8_TYPE__
 //
 // 
-// RUN: clang-cc -x objective-c -E -dM < /dev/null | FileCheck -check-prefix OBJC %s
+// RUN: %clang_cc1 -x objective-c -E -dM < /dev/null | FileCheck -check-prefix OBJC %s
 //
 // OBJC:#define OBJC_NEW_PROPERTIES 1
 // OBJC:#define __NEXT_RUNTIME__ 1
 // OBJC:#define __OBJC__ 1
 //
 //
-// RUN: clang-cc -x objective-c -fobjc-gc -E -dM < /dev/null | FileCheck -check-prefix OBJCGC %s
+// RUN: %clang_cc1 -x objective-c -fobjc-gc -E -dM < /dev/null | FileCheck -check-prefix OBJCGC %s
 //
 // OBJCGC:#define __OBJC_GC__ 1
 //
 // 
-// RUN: clang-cc -x objective-c -fobjc-nonfragile-abi -E -dM < /dev/null | FileCheck -check-prefix NONFRAGILE %s
+// RUN: %clang_cc1 -x objective-c -fobjc-nonfragile-abi -E -dM < /dev/null | FileCheck -check-prefix NONFRAGILE %s
 //
 // NONFRAGILE:#define OBJC_ZEROCOST_EXCEPTIONS 1
 // NONFRAGILE:#define __OBJC2__ 1
 //
 // 
-// RUN: clang-cc -O1 -E -dM < /dev/null | FileCheck -check-prefix O1 %s
+// RUN: %clang_cc1 -O1 -E -dM < /dev/null | FileCheck -check-prefix O1 %s
 //
 // O1:#define __OPTIMIZE__ 1
 //
 // 
-// RUN: clang-cc -fpascal-strings -E -dM < /dev/null | FileCheck -check-prefix PASCAL %s
+// RUN: %clang_cc1 -fpascal-strings -E -dM < /dev/null | FileCheck -check-prefix PASCAL %s
 //
 // PASCAL:#define __PASCAL_STRINGS__ 1
 //
 // 
-// RUN: clang-cc -E -dM < /dev/null | FileCheck -check-prefix SCHAR %s
+// RUN: %clang_cc1 -E -dM < /dev/null | FileCheck -check-prefix SCHAR %s
 // 
 // SCHAR:#define __STDC__ 1
 // SCHAR-NOT:#define __UNSIGNED_CHAR__
 // SCHAR:#define __clang__ 1
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -check-prefix ARM %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-none < /dev/null | FileCheck -check-prefix ARM %s
 //
 // ARM:#define __APCS_32__ 1
 // ARM:#define __ARMEL__ 1
 // ARM:#define __arm 1
 // ARM:#define __arm__ 1
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=bfin-none-none < /dev/null | FileCheck -check-prefix BFIN %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=bfin-none-none < /dev/null | FileCheck -check-prefix BFIN %s
 //
 // BFIN:#define BFIN 1
 // BFIN:#define __ADSPBLACKFIN__ 1
 // BFIN:#define __bfin__ 1
 // BFIN:#define bfin 1
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=i386-none-none < /dev/null | FileCheck -check-prefix I386 %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=i386-none-none < /dev/null | FileCheck -check-prefix I386 %s
 //
 // I386:#define __CHAR_BIT__ 8
 // I386:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
 // I386:#define __tune_nocona__ 1
 // I386:#define i386 1
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=msp430-none-none < /dev/null | FileCheck -check-prefix MSP430 %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=msp430-none-none < /dev/null | FileCheck -check-prefix MSP430 %s
 //
 // MSP430:#define MSP430 1
 // MSP430:#define __CHAR_BIT__ 8
 // MSP430:#define __WINT_WIDTH__ 16
 // MSP430:#define __clang__ 1
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=pic16-none-none < /dev/null | FileCheck -check-prefix PIC16 %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=pic16-none-none < /dev/null | FileCheck -check-prefix PIC16 %s
 //
 // PIC16:#define _CONFIG(conf) asm("CONFIG "#conf)
 // PIC16:#define __CHAR_BIT__ 8
 // PIC16:#define ram __attribute__((address_space(0)))
 // PIC16:#define rom __attribute__((address_space(1)))
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=powerpc64-none-none -fno-signed-char < /dev/null | FileCheck -check-prefix PPC64 %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -fno-signed-char < /dev/null | FileCheck -check-prefix PPC64 %s
 //
 // PPC64:#define _ARCH_PPC 1
 // PPC64:#define _ARCH_PPC64 1
 // PPC64:#define __ppc64__ 1
 // PPC64:#define __ppc__ 1
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=powerpc-none-none -fno-signed-char < /dev/null | FileCheck -check-prefix PPC %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc-none-none -fno-signed-char < /dev/null | FileCheck -check-prefix PPC %s
 //
 // PPC:#define _ARCH_PPC 1
 // PPC:#define _BIG_ENDIAN 1
 // PPC:#define __WINT_WIDTH__ 32
 // PPC:#define __ppc__ 1
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=s390x-none-none -fno-signed-char < /dev/null | FileCheck -check-prefix S390X %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=s390x-none-none -fno-signed-char < /dev/null | FileCheck -check-prefix S390X %s
 //
 // S390X:#define __CHAR_BIT__ 8
 // S390X:#define __CHAR_UNSIGNED__ 1
 // S390X:#define __s390__ 1
 // S390X:#define __s390x__ 1
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=sparc-none-none < /dev/null | FileCheck -check-prefix SPARC %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=sparc-none-none < /dev/null | FileCheck -check-prefix SPARC %s
 //
 // SPARC:#define __CHAR_BIT__ 8
 // SPARC:#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
 // SPARC:#define __sparcv8 1
 // SPARC:#define sparc 1
 // 
-// RUN: clang-cc -E -dM -ffreestanding -triple=tce-none-none < /dev/null | FileCheck -check-prefix TCE %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=tce-none-none < /dev/null | FileCheck -check-prefix TCE %s
 //
 // TCE:#define __CHAR_BIT__ 8
 // TCE:#define __DBL_DENORM_MIN__ 1.40129846e-45F
 // TCE:#define __tce__ 1
 // TCE:#define tce 1
 //
-// RUN: clang-cc -E -dM -ffreestanding -triple=x86_64-none-none < /dev/null | FileCheck -check-prefix X86_64 %s
+// RUN: %clang_cc1 -E -dM -ffreestanding -triple=x86_64-none-none < /dev/null | FileCheck -check-prefix X86_64 %s
 //
 // X86_64:#define _LP64 1
 // X86_64:#define __CHAR_BIT__ 8
index 33dd9bb3fe166e98f0e5250b84b1010571bd5d85..878d067a30ddfd890c507bbbd1615ee94eaaa315 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
-// RUN: clang-cc -E %s 2>&1 | grep 'blonk.c:92:2: error: #error ABC'
-// RUN: clang-cc -E %s 2>&1 | grep 'blonk.c:93:2: error: #error DEF'
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -E %s 2>&1 | grep 'blonk.c:92:2: error: #error ABC'
+// RUN: %clang_cc1 -E %s 2>&1 | grep 'blonk.c:93:2: error: #error DEF'
 
 #line 'a'            // expected-error {{#line directive requires a positive integer argument}}
 #line 0              // expected-error {{#line directive requires a positive integer argument}}
index 92b1ae53571336d86a702547b8c48eb85a9f252a..b9bbbf3ee2d81120b18654a88de7d98ba932f6db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep xxx-xxx
+// RUN: %clang_cc1 -E %s | grep xxx-xxx
 
 #define foo(return) return-return
 
index f102ddddafc745e4a8fce1a94884012ebd935cf8..d6509c35bf2cc6c4568987e0f9fee993a03d5612 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -E %s | grep 'a: 2 + M_0(3)(4)(5);'
-// RUN: clang-cc -E %s | grep 'b: 4 + 4 + 3 + 2 + 1 + M_0(3)(2)(1);'
+// RUN: %clang_cc1 -E %s | grep 'a: 2 + M_0(3)(4)(5);'
+// RUN: %clang_cc1 -E %s | grep 'b: 4 + 4 + 3 + 2 + 1 + M_0(3)(2)(1);'
 
 #define M_0(x) M_ ## x 
 #define M_1(x) x + M_0(0) 
index 286539e96f43dd3bf747707fd327a4e6d3d74e1b..229cf3264bfe0f9ea878b324653aff7160296a4e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep 'A B C A B A C A B C A'
+// RUN: %clang_cc1 -E %s | grep 'A B C A B A C A B C A'
 
 #define A A B C 
 #define B B C A 
index d4a5664ae9998f1d0c1e578ef4115205ca4cf24c..eab0a5e0463118482ad6890322541e8a96f1c84a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 %s -E | FileCheck -strict-whitespace %s
 // Check for C99 6.10.3.4p2.
 
 #define f(a) f(x * (a)) 
index b652b988d0201e8b955197b007303e0086f02063..820858c37f6403f31fde2f92eedf950429d4253c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -P -E %s | grep 'int f(void)'
+// RUN: %clang_cc1 -P -E %s | grep 'int f(void)'
 // PR1820
 
 #define f(x) h(x
index a93c04e373c667a2c6ff0e05307ef52a98031dc3..4dc03576cf53770911f0209555600c76bc30a9d3 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -E %s | grep '^A: Y$'
-// RUN: clang-cc -E %s | grep '^B: f()$'
-// RUN: clang-cc -E %s | grep '^C: for()$'
+// RUN: %clang_cc1 -E %s | grep '^A: Y$'
+// RUN: %clang_cc1 -E %s | grep '^B: f()$'
+// RUN: %clang_cc1 -E %s | grep '^C: for()$'
 
 #define X() Y
 #define Y() X
index ce1efd20a277f0b98e35c14670bf1d4d797438d4..f4660132f5426f4f0e7f9f63c741de49bc4104c1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E 2>&1 | grep '#include'
+// RUN: %clang_cc1 %s -E 2>&1 | grep '#include'
 #define FOO 1
 
 // The error message should be on the #include line, not the 1.
index 9adf3fd911f93d1d45c878955e2398fd1503d1b8..4aa7dfe94426c904e61da3ae5554c729ef70315a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E 2>&1 | grep '#include'
+// RUN: %clang_cc1 %s -E 2>&1 | grep '#include'
 #define FOO BAR
 
 // The error message should be on the #include line, not the 1.
index 5c55c0ceed5f1e2198c1e4fb2ba2322120166267..85733b4af0689fee3a41ee3a56207bd95545240b 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc %s -Eonly -std=c89 -pedantic -verify
+/* RUN: %clang_cc1 %s -Eonly -std=c89 -pedantic -verify
 */
 /* PR3937 */
 #define zero() 0
index c98e37823453f6a766f6f639d22bc5745eb322a6..57425910b8a9eff8fd8208c6e807bab16adc8793 100644 (file)
@@ -1,7 +1,7 @@
 // Test the GNU comma swallowing extension.
-// RUN: clang-cc %s -E | grep 'foo{A, }'
-// RUN: clang-cc %s -E | grep 'fo2{A,}'
-// RUN: clang-cc %s -E | grep '{foo}'
+// RUN: %clang_cc1 %s -E | grep 'foo{A, }'
+// RUN: %clang_cc1 %s -E | grep 'fo2{A,}'
+// RUN: %clang_cc1 %s -E | grep '{foo}'
 
 #define X(Y) foo{A, Y}
 X()
@@ -15,7 +15,7 @@ X3(foo)
 
 
 
-// RUN: clang-cc %s -E | grep 'AA BB'
+// RUN: %clang_cc1 %s -E | grep 'AA BB'
 // PR3880
 #define X4(...)  AA , ## __VA_ARGS__ BB
 X4()
index d40ee2aa6ec7fd6d87a7df07372d1c5e6fb0f01e..16948dc61c347a92c3e1ce597781844d0ca11232 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E | FileCheck %s
+// RUN: %clang_cc1 %s -E | FileCheck %s
 
 #define foo(x) bar x
 foo(foo) (2)
index 77e1fb9a3d4bd46b34d3193f05a2c65efb90f680..02184695c3fd61b2c491110bae1a684383dd1ec0 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang-cc -E %s | grep 'noexp: foo y'
-// RUN: clang-cc -E %s | grep 'expand: abc'
-// RUN: clang-cc -E %s | grep 'noexp2: foo nonexp'
-// RUN: clang-cc -E %s | grep 'expand2: abc'
+// RUN: %clang_cc1 -E %s | grep 'noexp: foo y'
+// RUN: %clang_cc1 -E %s | grep 'expand: abc'
+// RUN: %clang_cc1 -E %s | grep 'noexp2: foo nonexp'
+// RUN: %clang_cc1 -E %s | grep 'expand2: abc'
 
 #define A foo
 #define foo() abc
index fb64befaf1e9ab461eec0652c6483fb2f1479ad6..c23e7412b8505b3d2df19edfed3b2b6b3b88a5d3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep 'FUNC (3 +1);'
+// RUN: %clang_cc1 -E %s | grep 'FUNC (3 +1);'
 
 #define F(a) a 
 #define FUNC(a) (a+1) 
index ff688ce2d7ae5f415041350b3d7c5e64ef86d490..17910544b8993e14354a880155c1502941549ca0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E | grep 'foo(A, )'
+// RUN: %clang_cc1 %s -E | grep 'foo(A, )'
 
 #define X(Y) foo(A, Y)
 X()
index ac3b3530dc82a8111064dd5b09556e4e546ad69c..1b94c82a2163059560f2d01d5bf2ae842d8732eb 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -E | grep 'pre: 1 1 X'
-// RUN: clang-cc %s -E | grep 'nopre: 1A(X)'
+// RUN: %clang_cc1 %s -E | grep 'pre: 1 1 X'
+// RUN: %clang_cc1 %s -E | grep 'nopre: 1A(X)'
 
 /* Preexpansion of argument. */
 #define A(X) 1 X
index b1e5c52823325f9721b9e440fbe6d35044cae8a2..a1aab26bae3966545daa3aa09d252be21be268ab 100644 (file)
@@ -1,7 +1,7 @@
 
-// RUN: clang-cc -E %s | grep 'foo{a, b, c, d, e}'
-// RUN: clang-cc -E %s | grep 'foo2{d, C, B}'
-// RUN: clang-cc -E %s | grep 'foo2{d,e, C, B}'
+// RUN: %clang_cc1 -E %s | grep 'foo{a, b, c, d, e}'
+// RUN: %clang_cc1 -E %s | grep 'foo2{d, C, B}'
+// RUN: %clang_cc1 -E %s | grep 'foo2{d,e, C, B}'
 
 #define va1(...) foo{a, __VA_ARGS__, e}
 va1(b, c, d)
index 94770a241d2f7bfbe0d5bfc4a841788764206480..b50d53d46d0155608cad9af6ecc5ec1d072056ba 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -E %s | grep '^a: x$'
-// RUN: clang-cc -E %s | grep '^b: x y, z,h$'
-// RUN: clang-cc -E %s | grep '^c: foo(x)$'
+// RUN: %clang_cc1 -E %s | grep '^a: x$'
+// RUN: %clang_cc1 -E %s | grep '^b: x y, z,h$'
+// RUN: %clang_cc1 -E %s | grep '^c: foo(x)$'
 
 #define A(b, c...) b c
 a: A(x)
index 169c5ec772a299be3fdc8907567a6163216a1bf2..53d99821ccd49eed6f63461f2371169a630d6dc4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -Eonly -verify
+// RUN: %clang_cc1 %s -Eonly -verify
 
 // This should not be rejected.
 #ifdef defined
index a42240bab6078bc7c2f8d394e68a228df91df431..82648d47d447bfe53402ccdc433ca2ddd4ea835e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep '^ # define X 3$'
+// RUN: %clang_cc1 -E %s | grep '^ # define X 3$'
 
 #define H # 
  #define D define 
index 1212c44c1aa73ed16406b92a1e2775ec4901d040..2af0173040dc4da5fb7e487ae76753205e618549 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Eonly -verify -pedantic %s
+// RUN: %clang_cc1 -Eonly -verify -pedantic %s
 // pasting ""x"" and ""+"" does not give a valid preprocessing token
 #define XYZ  x ## + 
 XYZ   // expected-error {{pasting formed 'x+', an invalid preprocessing token}}
index 8bbee5dc2dd959f470de5d38ef3a33e81425646c..fd07b1f7f2fc8470f8de676f4672ddc7f81b0295 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -Eonly 2>&1 | grep error
+// RUN: %clang_cc1 %s -Eonly 2>&1 | grep error
 
 #define COMM1 / ## /
 COMM1
index 2e5a2141698e626b26cf51bfce4c199b1874b82d..3441f273d4607fbe3a1c7bcba8467eadde63da03 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc %s -Eonly 2>&1 | grep error
-// RUN: clang-cc %s -Eonly 2>&1 | not grep unterminated
-// RUN: clang-cc %s -Eonly 2>&1 | not grep scratch
+// RUN: %clang_cc1 %s -Eonly 2>&1 | grep error
+// RUN: %clang_cc1 %s -Eonly 2>&1 | not grep unterminated
+// RUN: %clang_cc1 %s -Eonly 2>&1 | not grep scratch
 
 #define COMM / ## *
 COMM
index fe9c92ab883850e809d0dcb62d95f264642e451e..7cfe43d077bef4549e716708b0aeac3675c73949 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang-cc %s -E | grep 'V);'
-// RUN: clang-cc %s -E | grep 'W, 1, 2);'
-// RUN: clang-cc %s -E | grep 'X, 1, 2);'
-// RUN: clang-cc %s -E | grep 'Y, );'
-// RUN: clang-cc %s -E | grep 'Z, );'
+// RUN: %clang_cc1 %s -E | grep 'V);'
+// RUN: %clang_cc1 %s -E | grep 'W, 1, 2);'
+// RUN: %clang_cc1 %s -E | grep 'X, 1, 2);'
+// RUN: %clang_cc1 %s -E | grep 'Y, );'
+// RUN: %clang_cc1 %s -E | grep 'Z, );'
 
 #define debug(format, ...) format, ## __VA_ARGS__)
 debug(V);
index 41843cd24c765fb8e7dff568c366d8d8255d8477..2e26f14195734ae9b0273152153115c1495f7e46 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -E %s | grep 'a:Y'
-// RUN: clang-cc -E %s | grep 'b:Y'
-// RUN: clang-cc -E %s | grep 'c:YY'
+// RUN: %clang_cc1 -E %s | grep 'a:Y'
+// RUN: %clang_cc1 -E %s | grep 'b:Y'
+// RUN: %clang_cc1 -E %s | grep 'c:YY'
 
 #define FOO(X) X ## Y
 a:FOO()
index adc447c39f67b0e5610f23f63b03d769e4fb3eec..fad84264d7f1147d990721657b01dc65f0a16995 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang-cc -E %s | grep '1: aaab 2'
-// RUN: clang-cc -E %s | grep '2: 2 baaa'
-// RUN: clang-cc -E %s | grep '3: 2 xx'
+// RUN: %clang_cc1 -E %s | grep '1: aaab 2'
+// RUN: %clang_cc1 -E %s | grep '2: 2 baaa'
+// RUN: %clang_cc1 -E %s | grep '3: 2 xx'
 
 #define a(n) aaa ## n
 #define b 2
index 42654fd1b18b038d02e43c2418ec5f6e4856b3e8..e7993cc0a3517ad9b54e2b0bbd25ca2da962f0d4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep '^"x ## y";$'
+// RUN: %clang_cc1 -E %s | grep '^"x ## y";$'
 #define hash_hash # ## # 
 #define mkstr(a) # a 
 #define in_between(a) mkstr(a) 
index ecd0b9d6a850444d0a89afb411074eaab28532a7..71324064f7cd8e78ae88c8412165af77218edd9d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -P -E -fms-extensions %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -P -E -fms-extensions %s | FileCheck -strict-whitespace %s
 // This horrible stuff should preprocess into (other than whitespace):
 //   int foo;
 //   int bar;
index e978fca225081c310a927e95e253645e8bdd53aa..97ccd7c5cb0211ba19ad22578aea336c60fc0097 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep '!!'
+// RUN: %clang_cc1 -E %s | grep '!!'
 
 #define A(B,C) B ## C
 
index 2affbac0dec37b30cfd5c69aa4adcb480d04452d..563d7f44958d50bf0f627088f3cbef4dadae9249 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E | grep "barbaz123"
+// RUN: %clang_cc1 %s -E | grep "barbaz123"
 
 #define FOO bar ## baz ## 123
 
index 130548dbf99ee525f02630f99e0de70b48bfe10b..6498ffc9814dab9fe4dceeaeaa6de3ab54769fc7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E | grep "^xy$"
+// RUN: %clang_cc1 %s -E | grep "^xy$"
 
 #define A  x ## y
 blah
index 0db721aa7b41c486494f5b08b5798353167be831..02cc12f5b0231c8baa922daf45c42a496e99ceeb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E | grep "movl %eax"
+// RUN: %clang_cc1 %s -E | grep "movl %eax"
 // PR4132
 #define R1E %eax
 #define epilogue(r1) movl r1 ## E;
index c6a807ae4e02b0c35626e708d00f3e8c1d772041..3a3854841cd9f2bfc443d8e30f903a8d0aef5ec6 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -E %s | grep 'ei_1 = (17 +1);'
-// RUN: clang-cc -E %s | grep 'ei_2 = (M1)(17);'
+// RUN: %clang_cc1 -E %s | grep 'ei_1 = (17 +1);'
+// RUN: %clang_cc1 -E %s | grep 'ei_2 = (M1)(17);'
 
 #define M1(a) (a+1) 
 #define M2(b) b 
index 9c198c995a5431fbfc2385563bfab5b5d221d8ef..826f4eefbebc4561a0b367ac800338db3d453243 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc %s -E | grep 'a: 2\*f(9)'
-// RUN: clang-cc %s -E | grep 'b: 2\*9\*g'
+// RUN: %clang_cc1 %s -E | grep 'a: 2\*f(9)'
+// RUN: %clang_cc1 %s -E | grep 'b: 2\*9\*g'
 
 #define f(a) a*g 
 #define g f 
index 8a3ad151141fcd2fe1606b57596b90e0ecca2630..6c6415a8ee5301e5db9a71bab6c542fa09039e11 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
 
 #define LPAREN ( 
 #define RPAREN ) 
index 927509883845ca715956c24420cf2defc468fc64..e4de5dbcef0c95f92c3aa2d2a0767143b0067a66 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep '^3 ;$'
+// RUN: %clang_cc1 -E %s | grep '^3 ;$'
 
 /* Right paren scanning, hard case.  Should expand to 3. */
 #define i(x) 3 
index c7fb9e3b08c9407619217b490bc0f2de84b874b9..42aa5445e90510f3f449b074df60e54d87caf78e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
 
 #define R_PAREN ) 
 
index 4fdbb0a0ceef4755e4688b8579797216617ecfb7..49a9a0fac2cf9582e011a7638e7a10494742294b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -E | grep '! ,'
+// RUN: %clang_cc1 %s -E | grep '! ,'
 
 #define XX
 ! XX,
index 4507cddcb796444a803e246bd91645894880ff30..c842c850f3df488f018496ad61e41ae0636ef6d0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -dM -undef -Dfoo=1 -E %s | FileCheck %s
+// RUN: %clang_cc1 -dM -undef -Dfoo=1 -E %s | FileCheck %s
 
 // CHECK-NOT: #define __clang__
 // CHECK: #define foo 1
index aa69e2b4aeac314dace5da53f47e295165c17b54..597ac072b871bae95598089a464ac510d2b7c03d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: not clang-cc -fsyntax-only %s
+// RUN: not %clang_cc1 -fsyntax-only %s
 // PR1900
 // This test should get a redefinition error from m_iopt.h: the MI opt 
 // shouldn't apply.
index dbf1f9a797e2661336ddd8b0e04232e96ad3a6d6..552209d4955e1ba549ac8acdbe54a1c02b79f14a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi %s
 #ifndef __has_feature
 #error Should have __has_feature
 #endif
index 5943e01b517eefaf5dc794dc4a3a5d2177ec762e..89b52ed53bf582c4abbdcdcf6ba7799e85408ee3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-unknown-unknown %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s
 #ifndef __has_feature
 #error Should have __has_feature
 #endif
index 9f375efec2c0236e6289094ff10ca7d5e612f711..3e093252c644e40bea5d3c7d6c8a1c761613b9e2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify -pedantic
+// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
 
 #import <stdint.h>  // no warning on #import in objc mode.
 
index 973d27f8c8b5a5e8e45dcdf178536fdc64d74db7..c820ded909f763802e1b8c68759baa30503ea3e8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Eonly %s -DOPT_O2 -O2 -verify
+// RUN: %clang_cc1 -Eonly %s -DOPT_O2 -O2 -verify
 #ifdef OPT_O2
   #ifndef __OPTIMIZE__
     #error "__OPTIMIZE__ not defined"
@@ -8,7 +8,7 @@
   #endif
 #endif
 
-// RUN: clang-cc -Eonly %s -DOPT_O0 -O0 -verify
+// RUN: %clang_cc1 -Eonly %s -DOPT_O0 -O0 -verify
 #ifdef OPT_O0
   #ifdef __OPTIMIZE__
     #error "__OPTIMIZE__ defined"
@@ -18,7 +18,7 @@
   #endif
 #endif
 
-// RUN: clang-cc -Eonly %s -DOPT_OS -Os -verify
+// RUN: %clang_cc1 -Eonly %s -DOPT_OS -Os -verify
 #ifdef OPT_OS
   #ifndef __OPTIMIZE__
     #error "__OPTIMIZE__ not defined"
index 200ced9fba7a2e8bb1ab58862496788b0900a7f4..835a921fb7d627f882688b2d1b7724113c81229c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s -o - | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E %s -o - | FileCheck -strict-whitespace %s
 
 
 #define y(a) ..a
index 297a35e658fd8c77b468e5fce1fd268117689638..a921441b006d687ff12a792eb116dfac13b46369 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Eonly %s -verify -triple i686-pc-linux-gnu
+// RUN: %clang_cc1 -Eonly %s -verify -triple i686-pc-linux-gnu
 
 // Multiply signed overflow
 #if 0x7FFFFFFFFFFFFFFF*2 // expected-warning {{overflow}}
index 4df65a4f7c67e14e21b14041da34d22e02237215..d438e879c51c05c7465b87538f936105ee9414c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s
+// RUN: %clang_cc1 -E %s
 
 #define test
 #include "pr2086.h"
index 81e90e3de69fa4cd7d75ebd34e9623f2412c73db..0201c451deaa0023a50135eb26e354b68646dfde 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -fms-extensions
+// RUN: %clang_cc1 %s -fsyntax-only -verify -fms-extensions
 
 // rdar://6495941
 
index d91feb7ff2deeaec947063e706ac8afa85d3342c..5b39183b60d36b8132196ded11209b78f0fa7fe1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -Eonly -verify
+// RUN: %clang_cc1 %s -Eonly -verify
 
 #pragma GCC poison rindex
 rindex(some_string, 'h');   // expected-error {{attempt to use a poisoned identifier}}
index c0355e7a96140d4c68937f94dbc980a436446389..c1851534cc3342676f8d3ccaefcb241e8584ab92 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -E %s | grep '#pragma foo bar'
-// RUN: clang-cc -fsyntax-only -Wunknown-pragmas -verify %s
+// RUN: %clang_cc1 -E %s | grep '#pragma foo bar'
+// RUN: %clang_cc1 -fsyntax-only -Wunknown-pragmas -verify %s
 
 // GCC doesn't expand macro args for unrecognized pragmas.
 #define bar xX
index 553c1861023a7971f1e00683f5e0b8494284210f..c87fe00f407e002b57a9822509c469b409d1e6ea 100644 (file)
@@ -1,8 +1,8 @@
-/* RUN: clang-cc -E %s | grep 'a 3'
- * RUN: clang-cc -E %s | grep 'b 16'
- * RUN: clang-cc -E -P %s | grep 'a 3'
- * RUN: clang-cc -E -P %s | grep 'b 16'
- * RUN: clang-cc -E %s | not grep '# 0 '
+/* RUN: %clang_cc1 -E %s | grep 'a 3'
+ * RUN: %clang_cc1 -E %s | grep 'b 16'
+ * RUN: %clang_cc1 -E -P %s | grep 'a 3'
+ * RUN: %clang_cc1 -E -P %s | grep 'b 16'
+ * RUN: %clang_cc1 -E %s | not grep '# 0 '
  * PR1848
  * PR3437
 */
index fe55122d66cd14e9763e7433947c3a7a54d9b75f..6c861a1b3b6bec8abcd314cfaee901af7462edda 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 #pragma clang diagnostic pop // expected-warning{{pragma diagnostic pop could not pop, no matching push}}
 
index 31ce9b460def9ab625baf04972a9514cc04e4c38..52d1785030b6855764bda861e02f00fa54c30ee3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep bark
+// RUN: %clang_cc1 -E %s | grep bark
 
 #if 0
 blah
index 930474645f17438b54d44ccff78771654800a8c4..5f0842a616b0636fe3a7c50488180f360ddd266e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -ffreestanding -triple=arm-none-none %s | FileCheck -check-prefix ARM %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=arm-none-none %s | FileCheck -check-prefix ARM %s
 //
 // ARM:typedef signed long long int int64_t;
 // ARM:typedef unsigned long long int uint64_t;
 // ARM:UINTMAX_C_(0) 0ULL
 //
 //
-// RUN: clang-cc -E -ffreestanding -triple=bfin-none-none %s | FileCheck -check-prefix BFIN %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=bfin-none-none %s | FileCheck -check-prefix BFIN %s
 //
 // BFIN:typedef signed long long int int64_t;
 // BFIN:typedef unsigned long long int uint64_t;
 // BFIN:UINTMAX_C_(0) 0ULL
 //
 //
-// RUN: clang-cc -E -ffreestanding -triple=i386-none-none %s | FileCheck -check-prefix I386 %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=i386-none-none %s | FileCheck -check-prefix I386 %s
 //
 // I386:typedef signed long long int int64_t;
 // I386:typedef unsigned long long int uint64_t;
 // I386:INTMAX_C_(0) 0LL
 // I386:UINTMAX_C_(0) 0ULL
 //
-// RUN: clang-cc -E -ffreestanding -triple=msp430-none-none %s | FileCheck -check-prefix MSP430 %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=msp430-none-none %s | FileCheck -check-prefix MSP430 %s
 //
 // MSP430:typedef signed long int int32_t;
 // MSP430:typedef unsigned long int uint32_t;
 // MSP430:INTMAX_C_(0) 0L
 // MSP430:UINTMAX_C_(0) 0UL
 //
-// RUN: clang-cc -E -ffreestanding -triple=pic16-none-none %s | FileCheck -check-prefix PIC16 %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=pic16-none-none %s | FileCheck -check-prefix PIC16 %s
 // 
 // PIC16:typedef signed long int int32_t;
 // PIC16:typedef unsigned long int uint32_t;
 // PIC16:INTMAX_C_(0) 0L
 // PIC16:UINTMAX_C_(0) 0UL
 //
-// RUN: clang-cc -E -ffreestanding -triple=powerpc64-none-none %s | FileCheck -check-prefix PPC64 %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=powerpc64-none-none %s | FileCheck -check-prefix PPC64 %s
 //
 // PPC64:typedef signed long int int64_t;
 // PPC64:typedef unsigned long int uint64_t;
 // PPC64:INTMAX_C_(0) 0L
 // PPC64:UINTMAX_C_(0) 0UL
 //
-// RUN: clang-cc -E -ffreestanding -triple=powerpc-none-none %s | FileCheck -check-prefix PPC %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=powerpc-none-none %s | FileCheck -check-prefix PPC %s
 //
 //
 // PPC:typedef signed long long int int64_t;
 // PPC:INTMAX_C_(0) 0LL
 // PPC:UINTMAX_C_(0) 0ULL
 //
-// RUN: clang-cc -E -ffreestanding -triple=s390x-none-none %s | FileCheck -check-prefix S390X %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=s390x-none-none %s | FileCheck -check-prefix S390X %s
 //
 // S390X:typedef signed long int int64_t;
 // S390X:typedef unsigned long int uint64_t;
 // S390X:INTMAX_C_(0) 0L
 // S390X:UINTMAX_C_(0) 0UL
 //
-// RUN: clang-cc -E -ffreestanding -triple=sparc-none-none %s | FileCheck -check-prefix SPARC %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=sparc-none-none %s | FileCheck -check-prefix SPARC %s
 //
 // SPARC:typedef signed long long int int64_t;
 // SPARC:typedef unsigned long long int uint64_t;
 // SPARC:INTMAX_C_(0) 0LL
 // SPARC:UINTMAX_C_(0) 0ULL
 //
-// RUN: clang-cc -E -ffreestanding -triple=tce-none-none %s | FileCheck -check-prefix TCE %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=tce-none-none %s | FileCheck -check-prefix TCE %s
 //
 // TCE:typedef signed int int32_t;
 // TCE:typedef unsigned int uint32_t;
 // TCE:INTMAX_C_(0) 0
 // TCE:UINTMAX_C_(0) 0U
 //
-// RUN: clang-cc -E -ffreestanding -triple=x86_64-none-none %s | FileCheck -check-prefix X86_64 %s
+// RUN: %clang_cc1 -E -ffreestanding -triple=x86_64-none-none %s | FileCheck -check-prefix X86_64 %s
 //
 //
 // X86_64:typedef signed long int int64_t;
 // the identifiers used in the operations (int, uint, _t, INT, UINT, _MIN,
 // _MAX, and _C(v)) are themselves macros.
 //
-// RUN: clang-cc -E -ffreestanding -Dint=a -Duint=b -D_t=c -DINT=d -DUINT=e -D_MIN=f -D_MAX=g '-D_C(v)=h' -triple=i386-none-none %s | FileCheck -check-prefix JOIN %s
+// RUN: %clang_cc1 -E -ffreestanding -Dint=a -Duint=b -D_t=c -DINT=d -DUINT=e -D_MIN=f -D_MAX=g '-D_C(v)=h' -triple=i386-none-none %s | FileCheck -check-prefix JOIN %s
 // JOIN:typedef int32_t intptr_t;
 // JOIN:typedef uint32_t uintptr_t;
 // JOIN:typedef int64_t intmax_t;
index 60d66a0061f670ea6281b95d06c66d410e23b633..6c2c78d17ac3ad35d25f1dbdb3ae4a610bc6a6c2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
+// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
 
 #define M(x, y) #x #y
 
index e41736c816834d0b4b3d33b234c77dc5513ac1a9..263cff831b3f8de539fdb9ee3e728be9be633620 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep -- '-"" , - "" , -"" , - ""'
+// RUN: %clang_cc1 -E %s | grep -- '-"" , - "" , -"" , - ""'
 
 #define A(b) -#b  ,  - #b  ,  -# b  ,  - # b
 A()
index 6a96894de6ee2724fd036b535203a30fe2ca6449..a87d78e4043761e6b92d2c1f2e4978a12e80010d 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -E %s | grep 'a c'
+/* RUN: %clang_cc1 -E %s | grep 'a c'
  */
 #define t(x) #x
 t(a
index f818e59a6d1fb531b0da217b44e5af4732d0decf..ad611decedda2072a5d122784af62f961a69f843 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -pedantic-errors -verify 
+// RUN: %clang_cc1 %s -pedantic-errors -verify 
 // PR2045
 
 #define b
index 2040aac17de2b5a42ae3096da92a7762535adac4..918065315dc6350943d15f7241db5d42f945cb55 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E -verify %s
+// RUN: %clang_cc1 -E -verify %s
 // PR3096
 #ifdef FOO // expected-error {{unterminated conditional directive}}
 /* /* */
index 5057056eb3d04e5ec661c16b6f22e8db9558b424..2ea5b8540c2a2d14bb40a91b9f104320b9fd572e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-blocks %s -fblocks -o -
+// RUN: %clang_cc1 -rewrite-blocks %s -fblocks -o -
 
 static int (^block)(const void *, const void *) = (int (^)(const void *, const void *))0;
 static int (*func)(int (^block)(void *, void *)) = (int (*)(int (^block)(void *, void *)))0;
index 60d6d1534cdc4431a609422646ab61143e89a3b6..107b7a54843d133627fcafb4764b4795a5bf9866 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc -o - %s
+// RUN: %clang_cc1 -rewrite-objc -o - %s
 // rdar://5950938
 @interface NSArray {}
 + (id)arrayWithObjects:(id)firstObj, ...;
index ae650568abf12e7027f77b338f3e03910c6fcb81..67774b5d9cda200e52801d6e56cb0f8d906f4233 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc -verify %s -o -
+// RUN: %clang_cc1 -rewrite-objc -verify %s -o -
 
 int main() {
   @try {
index 0edd041197abe921f06161ed979e203b5e7e8d1f..8557f2baa667979abe864192c993ac0c0e2c63b2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @protocol P
 - (id<P>) Meth: (id<P>) Arg;
index 667c7270e8350bee8291214e7405916947933fe2..af11ce24693990178e03fd65d42e31ed5035c6d8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface Intf
 {
index 6a4966bb2760c60e88ae51dc34e84824027ecc20..4650bdefcc6fd0a4d4cd3cf798306ea0685b2f96 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @implementation Intf
 {
index bfbe486ea487ab0abede7dc6f1665d16b0c3b5ab..5dc1a33301e2cb422575321d1c41614a7a6b3ed6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface Intf 
 @end
index c9f937f187980732cb36053dbdfc5de05764fc53..0fd0429b0b3135331282ac55b7aa36be5d924a23 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 typedef struct _NSPoint {
     float x;
index 77bbd8c25cb22ffc05aa364d64216e56b218aca0..08ee24b135c7123fdbbb51e5823df8492881e34e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @protocol P1
 - (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
index 797b5bbc03a4cd08fdd760746923433d7da7810c..5605b6627fac80dae517552e6c630c8eb0d36520 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 typedef struct NSMethodFrameArgInfo {
     struct NSMethodFrameArgInfo *subInfo;
index 7bf3544a36eaa6239c2151ffd2d4bbc36b166cc1..5fb028e808e9498021f04103e2e6e1fad4d37390 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
-// RUN: clang -cc1 -rewrite-objc %s -o - | grep 'newInv->_container'
+// RUN: %clang_cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o - | grep 'newInv->_container'
 
 @interface NSMutableArray 
 - (void)addObject:(id)addObject;
index bf189beef251c92d5bf6000794af1fa83e0c3d3d..32b25261465fbf468ee49dd7eb41a4ec4dbdc1a4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @class NSString;
 
index 7a3b3af656ae90464589df459ec7ea652f4b085f..38f68b98535a90981da793abf7744504ec27434c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod
+// RUN: %clang_cc1 -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod
 
 typedef struct objc_selector    *SEL;
 typedef struct objc_object *id;
index 3359660e112de1b86da9f94230c8631b9c3fc0b9..27f2a0af8bdf958d48bf6250063dec095d0194da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 id SYNCH_EXPR();
 void SYNCH_BODY();
index 3b49c22f8e26a7f3a0d73c1b95e0b5d1d5e7aec6..44c55b1b69c4ac40b0ed04afdd31e6b1ca11569a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface Foo {
     int i;
index 66280ca1b0f201f365a83d7d94aab9b50c091bd9..440527b6737caddc77d6abbd7786f41e671da54f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 typedef struct MyWidget {
   int a;
index 745efec5bd9e2eed007f6b520635de46248d9250..03fc89f34aadbcfb4c943cf902a62f760dcfea1b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface MyDerived
 - (void) instanceMethod;
index c491f2dee4f32b9d4dc8139312ad1fa7f1efe6a1..be9c06f7db2595da11b5a379a1487ff15c9d6d42 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -fblocks -o -
+// RUN: %clang_cc1 -rewrite-objc %s -fblocks -o -
 
 void I( void (^)(void));
 void (^noop)(void);
index 9cf084c502ae3ca37a2cafed03c316d0f35d597f..e68b45d1df2da5332225c1bd187118ef1d944748 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
             
 @protocol P @end
 
index 5567d0169b938d7d6e4d04afdd82d56fc48250f2..5ed15a34ac07cfa47b91a580fdbda8d8254f2d01 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @protocol P @end
 
index 804f0204f5e9b62c0f402a73bbbac7639e6e8261..ffe8295954e4f20f5042fb69b176ea603baebfef 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @protocol P @end
 
index 9870690325b2bef8d290de0fd4d9f647985ccba7..5b66e978bebf67e6c1f0d34e37a596e9c74d92f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface MyList
 - (id) allKeys;
index 141cb6a2c0aac75fbb935ebaf2675b9062f2b60b..adfd7f837841628efcdf4162e9029beeb0ee1eb3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface MyList
 - (id) allKeys;
index bbc9a94a13f92f77b4493f91663054c22bd4c002..2aa19aecb82c5be25c6ad4c40a489422ebe48ee4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -rewrite-objc -o -
+// RUN: %clang_cc1 %s -rewrite-objc -o -
 // rdar://5716356
 // FIXME: Should be able to pipe into clang, but code is not
 // yet correct for other reasons: rdar://5716940
index 594e1b1629a917559e96bb3cd6ef31a1572f5fde..ebbcded414e93a75364c3d7f8f2ef0f938608afd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface NSMapTable @end
 @interface NSEnumerator @end
index e46a3badfeef6c5e5804ed4577f8f2a38036a85f..902559dca600929f889ce2db5abfbb62add09446 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @protocol MyProto1 
 @end
index e9b002b2be396420fdcbb1e910b81b370cd495e5..d0c6d2acf67d1bc5692db8e7f3b5bb7f6fa77cd1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface Foo @end
 @interface GARF @end
index 735c94278dc5684476ddbf98d39b57fcf236dbc7..a072c9f3ca3f15ee509711b2d332afbf51786af3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @protocol Proto
 - (void) ProtoDidget;
index b68c6b17570561b2aa801fd3002197e13bfe8519..a60d81024ce20a8fc9b1e0ca91cde1402bac2df6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 typedef struct S {
        int * pint;
index 6c1460d02ec8111564aa32c8eed5f01734730548..89d33ce4518a83ab569a01445f90d9c413e91f59 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface Derived @end
 
index ef80c26d7c505107fd1521f18cb9c6b40611a1e5..039c500a2486ffd45d9c6bc248de74d3c644d912 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 @interface MyDerived 
 {
index f808b8f59641985399ba60f82c56d6d4f537d595..366552fd56ab2a9c523bd53f8b17778caf4929f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: %clang_cc1 -rewrite-objc %s -o -
 
 #include <stdarg.h>
 
index a068d81e498190a42cea5730b85cb2b6e296680d..fe83d97ca4fc56275c7ff8b75a43103d5f13da8c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-apple-darwin9 %s
 typedef int i128 __attribute__((__mode__(TI)));
 typedef unsigned u128 __attribute__((__mode__(TI)));
 
index 0829dc239df8ca166eb8ef3e30a90dbe5538789b..332b0df72835017e58f7a3ca3dab64f4c101fcef 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -verify -fsyntax-only -std=c90 %s
-// RUN: clang-cc -verify -fsyntax-only -std=c99 %s
+// RUN: %clang_cc1 -verify -fsyntax-only -std=c90 %s
+// RUN: %clang_cc1 -verify -fsyntax-only -std=c99 %s
 
 int f (int x)
 {
index e8c2e268b5d72202414d5eec444b622701979b83..e9f1deaf7cd61987190d4647cabae9dfc29155a9 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -verify -fsyntax-only -std=c90 %s
-// RUN: clang-cc -verify -fsyntax-only -std=c99 %s
+// RUN: %clang_cc1 -verify -fsyntax-only -std=c90 %s
+// RUN: %clang_cc1 -verify -fsyntax-only -std=c99 %s
 
 struct s
 {
index 160ec4a38058d788023460b1761d151c710b0c9c..9c1335786a50067cca39a222e2c6631fc1fb3d8a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 typedef struct foo T0;
 typedef const struct foo T1;
index c75e7baed1a1115d470cfb62b8de0c2a555ac107..f22e70dd8d3d55a881dde3587f05b30dee6e39c7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Test for absence of crash reported in PR 2923:
 //
index 78f2326dae1bb44f03d1d0c9b0a0697df4936305..1900eefc7c624d7213799d2de8747d2c6addadd5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -pedantic -fsyntax-only
+// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
 
 typedef short short_fixed;
 
index 69f2f79f6857c5b3a959a231e7ff800d48c268b1..e842a7396b8d8860be7bfc5ee417264d175a926b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int i;
 int a[] = {0};
index d9d23edb3cf48f27c55d000c373d63b0db3a6ac4..badd2383abc2c9eb8d036f8fadbe048dbb3eafa3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 #define _AS1 __attribute__((address_space(1)))
 #define _AS2 __attribute__((address_space(2)))
index 9689906488b16172ade1c549ff7ef0ffe404ec2f..0a5d3fe921518cbe46af54d14ec256c471361ed7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple arm-unknown-unknown -target-abi apcs-gnu -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple arm-unknown-unknown -target-abi apcs-gnu -fsyntax-only -verify %s
 
 struct s0 { double f0; int f1; };
 char chk0[__alignof__(struct s0) == 4 ? 1 : -1]; 
index 2bc1cc848554fcb5d11ec598b4449cdbb8e22268..f67adecbf5172fdf7d5a8a452edfbfef2e3a2024 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 // PR3433
 double g1;
index 2a33e1e56f5542379ff44a587160db5cb4278fb3..f22c1fc4db8a6eb5f2daed1562675250df0df301 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -faltivec -verify -pedantic -fsyntax-only
+// RUN: %clang_cc1 %s -faltivec -verify -pedantic -fsyntax-only
 
 typedef int v4 __attribute((vector_size(16)));
 typedef short v8 __attribute((vector_size(16)));
index aec2af8b022f4271e8a9e0b7cfb7d64a833ad9d9..4d550759a25fb8409c26ff0caabff6618e32877e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 void __attribute__((annotate("foo"))) foo(float *a) { 
   __attribute__((annotate("bar"))) int x;
index ca1133bd8aceda9439717f0ddb2f4f01ca2b76f2..47fb2b6fba0927d3202d9db870eac6a0e23cea43 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct X {
   union {
     float f3;
index e40a964234d9b9bf592fef7460652ad4cf7dde2e..ca091eb309e4e2a60a38dbd8e5f3bdaf19451d6e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int f3(y, x, 
        x)          // expected-error {{redefinition of parameter}}
index 1d81410b8d01666c05b0822f619361be90c608a4..912776ab8ff6d2cac343d8ef9805a86728821ef6 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang-cc -fsyntax-only -std=c99 -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c99 -verify %s
 void bb(int sz, int ar[sz][sz]) { }
index d5e59603cfbf7115392c3f79815b62cb76ad09f0..ed9261941b583196b5b0d2cc2f06a8a2294cd4a1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 void aa(int b, int x[sizeof b]) {}
 
 void foo(int i, int A[i]) {}
index 6407b5daf56a3bf2a60d9d56471156b4a389bff1..66f15c3a3ccccc07c95e453ae28adbb0d15ad82a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 struct s;  // expected-note 2 {{forward declaration of 'struct s'}}
 struct s* t (struct s z[]) {   // expected-error {{array has incomplete element type}}
index 3f6fa33a3bd244168595240ce657c5835e64584f..b93fa9a0edf73fc3c36598028dfd3f18486bf1dd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 extern int a1[];
 int a1[1];
index c78fd29a89c18ab602787a31549cdfcd702f5a99..fbcf06bd162eb33ee0f22e216ddd86127ec996e1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 extern int foof() = 1; // expected-error{{illegal initializer (only variables can be initialized)}}
 
index 0a62545a1e084a41ae38cf3956791479d81785c5..18d900c80dd48c6ac4904dc9cfb585da19d7e953 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -triple i386-pc-linux-gnu -verify -fsyntax-only
+// RUN: %clang_cc1 %s -triple i386-pc-linux-gnu -verify -fsyntax-only
 
 void f() {
   int i;
index a343c8069fdce3ed92660fcc18ea7759b1e9f1ac..7f172b19535522cbb205b777bd85204ce878a975 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #include <stddef.h>
 
index b25262c624388662d7f986adc95b4f4ab3371a01..2d57029fc05f882a618f46d83f8229b450d6a748 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void *test1(void) { return 0; }
 
index a8988b029f4929254ded287a312100f614443cc3..ff66d35a1ba6d9c6914022159936dd4233550700 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -ast-print
+// RUN: %clang_cc1 %s -ast-print
 
 typedef void func_typedef();
 func_typedef xxx;
index 6e641cb371f94b5b65aa7ac02e6d863519e9f86f..bcb12ee40de7f7ac5c52fa93a0da5cebf458bec7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 int x __attribute__((aligned(3))); // expected-error {{requested alignment is not a power of 2}}
 
index 0434981c6c4aff314d896c6d1bed609d61c347ef..9057c27a56fe54c10dcab8b0a171e5df955b0a12 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 void c1(int *a);
 
index c1d1b536fc6960040e8e6a8b5f961150f0a91e28..4d32e0028b542c36cc380f43e287bb0b7951729d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void foo();
 void foo() __attribute__((unused));
index 4b889fc8aa4f76e9bbe09e8ee5b63668bbf10020..e723255c0cfa60887888cd6d523ff5c8237296a3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 int f() __attribute__((deprecated));
 void g() __attribute__((deprecated));
index 5f06f4ba3fc9d510e07b2b6462d2b6616f191a3f..64a23878317c6285b7e4a34285b3ebdab4027431 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int printf(const char *, ...);
 
index ac411d7c42dddbae994aa57ac3934e32643dc424..9acd2c6f65d38569db30ba42b0dba1585341474b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef int i16_1 __attribute((mode(HI)));
 int i16_1_test[sizeof(i16_1) == 2 ? 1 : -1];
index 512ecfdcafc689df181facabfc1470be978084ae..203c2a7300ab440e56a505a41ed07b5c0ec621f4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 int a __attribute__((nodebug)); // expected-warning {{'nodebug' attribute only applies to function types}}
 
index cf695f0d21f5545539107368140901517654cfe3..92dc9007eb1932cd5dcb375b059f1d60c439e475 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 int a __attribute__((noinline)); // expected-warning {{'noinline' attribute only applies to function types}}
 
index 047cdad6b5a0a915e7139eb645d421b87c473c2a..0966989bf9a3c7a442c6edd0b247421857437dce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only %s
 
 static void (*fp0)(void) __attribute__((noreturn));
 
index 944f01489c8b9daf4acfdd15d5793d39ae192705..045a41396e3f2ab0501caaf9894528392bba6479 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 __attribute((regparm(2))) int x(void);
 __attribute((regparm(1.0))) int x(void); // expected-error{{'regparm' attribute requires integer constant}}
index c61ed80cbf7a9dc065c4aa7494c5fbcc34c6de1c..20ae2e3547b941fe3d63a3c3bae4d45a8d71d540 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -fsyntax-only -triple x86_64-apple-darwin9 %s
+// RUN: %clang_cc1 -verify -fsyntax-only -triple x86_64-apple-darwin9 %s
 
 int x __attribute__((section(
    42)));  // expected-error {{argument to section attribute was not a string literal}}
index dbb5e630d7a10316ad7e51f80a99ebe9a6e92a0c..e45ec434f5338a91ab6207d1555befd168036f92 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only %s
 
 static void (*fp0)(void) __attribute__((unused));
 
index fdabf7ff2ad53763bdd5a092137b00a8dab73df7..d50f4c09ac850cca87000c9e94e82afbbf0d53db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only %s
 
 extern int l0 __attribute__((used)); // expected-warning {{used attribute ignored}}
 __private_extern__ int l1 __attribute__((used)); // expected-warning {{used attribute ignored}}
index 4532cccf98d9023a453dfdaca12b72991ee6e274..8e3e626c5d34b136cb8a011623f4312584b8a9a3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only %s
 
 extern int g0 __attribute__((weak));
 extern int g1 __attribute__((weak_import));
index 4405c80fee6b94031a65adea1badff1ce5e78083..edc44bdefa08e2871d68b400d60655ecebe6eb0e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -triple=i686-apple-darwin9
+// RUN: %clang_cc1 %s -fsyntax-only -verify -triple=i686-apple-darwin9
 
 #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 12d47205e87de2c983eee7b4ad5fae0c9a02644b..cd9adcffc07120b261383ccd091a0a4278826bb5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -triple pic16-unknown-unknown
+// RUN: %clang_cc1 -fsyntax-only -verify %s -triple pic16-unknown-unknown
 
 // Check that int-sized unsigned bit-fields promote to unsigned int
 // on targets where sizeof(unsigned short) == sizeof(unsigned int)
index 066f5d78e715914840b029a57cda0bf50d31d061..4d14ad191e1ed2c8ad04baab767b22805fbaa9fb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct {unsigned x : 2;} x;
 __typeof__((x.x+=1)+1) y;
 __typeof__(x.x<<1) y;
index 581af6d0c5ea5fd02ea7c1b757f0d96dacc882d3..6f129daceba58e5fe4e206cd570789fd46bb2c37 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify 
+// RUN: %clang_cc1 %s -fsyntax-only -verify 
 enum e0; // expected-note{{forward declaration of 'enum e0'}}
 
 struct a {
index 3a58735f23a3ba3c288f39c52e48bb6bd973489e..08af9b377361ff0669dce7a5f3ba1d22ce5993ac 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -fblocks
+// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks
 
 void take(void*);
 
index 1197a1972feca10f41cf9a68d6c4d5f8d0df925b..a85b6067571eee6039fcc7d8b2692ef609b67f3c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify -fblocks
+// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks
 
 @interface Whatever
 - copy;
index 06bab121f9177c6d5f73ce4fb19562432a7ab14a..7b7cc3d2c49b48153c70d768b047c2c6c36c5332 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -fblocks
+// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks
 
 int printf(const char *, ...);
 
index 893a8f61da8d04edf10300859a303970de6ccaa1..0aba75e14a9a4b1881c92d55029ffc202d46c3ff 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -fblocks
+// RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
 
 int (*FP)();
 int (^IFP) ();
index f0f8c4856d81179a449fde2ca043119521d375d2..af364b4f863a9b1f9cd2bd4a319ca31e2d17cc0a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fblocks -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fblocks -fsyntax-only
 
 int a() { 
   A:if (1) xx();
index 9f5022dc63876e4082bf5c80724057b6f7289f4e..e9c2341a99c756b93ee23739b46f45c32f0639b8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -fblocks
+// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
 
 void I( void (^)(void));
 void (^noop)(void);
index 8661fd8a5227e52fe8d7258829aa8e3e72938bc8..9f1bc4025fac689da7d20f7c7372e5a3126aa8a2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -fblocks
+// RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
 void donotwarn();
 
 int (^IFP) ();
index 4941ae7bc67940ad1e6d9c93b20b5673ca691c63..8ea77ece12d8913102a43d6f03857044af1032e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -fblocks
+// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks
 
 int main() {
   void (^b) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 1, 3))) =   // expected-error {{format argument not a string type}}
index 2da87351e4f5bc249041c62fd281303dcdfebe9f..631a2d443e1f267c2d0c68d6567016c492eb906a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -fblocks
+// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
 
 int j;
 void foo() {
index d389f4e4ffcc72e5dc9ae3ee4942a33709d3c4ba..d5fbc6f70c5dda288ff42a66933c842dcb0173d8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -fblocks
+// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
 
 void foo() {
   ^ (void) __attribute__((noreturn)) { }(); // expected-error {{block declared 'noreturn' should not return}}
index e7e9342e02f4c98d485bec45f89ffb1e51425d7e..cd942a7f3047395ce8a4f1f4286dd0735f8fa1ae 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -fblocks
+// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
 
 void foo() {
   ^ int (void) { }(); // expected-error {{control reaches end of non-void block}}
index 98a72731d672de69318a1fdbd2fbb53cdeaf5fb7..4240b0985625a5ac6cd997b33b43ff4931faaecf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -fblocks
+// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
 
 typedef void (^CL)(void);
 
index 5628a2c7801fe064d29be842eebafad50f917897..b5ce0da15c60d9f88ab41d9fb03a9924dbba25bd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fblocks -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fblocks -fsyntax-only -verify %s
 
 void (^e) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (1,1)));
 
index aacf8be2c06dda1c74fc7df549982d9c94d5811f..9bfbfbd614e5992246dace4d2189994ebf78033f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -fblocks
+// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks
 
 int printf(const char *, ...);
 void _Block_byref_release(void*src){}
index 0c6d288d8c18f5380ea68377fc6ab924ead4d4c9..0abc27ba187a66c43381a67adf0042ff2f619401 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -fsyntax-only -verify %s
-// RUN: clang-cc -fsyntax-only -triple x86_64-apple-darwin9 -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-darwin9 -verify %s
 
 int a[10];
 
index 4ee9f8947bbb50986a48c1bac6ed51a8e754b1e4..4f09da6c28cfcf570575ff295fc9f82d1f29324f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void foo() {
   int a;
index 67582a549f5f20561fbf29ed62691fc11769c93a..1feb57ea52670aea3cf37b873f8e2dbece7c0946 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 void* a(unsigned x) {
 return __builtin_return_address(0);
 }
index 70c7a297fbe39508c47c8dd5692406080f57a708..8f48d7ffc56c9ced37741660ed7948ff00185b84 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -pedantic
+// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
 void check(int);
 void a() {
   check(__builtin_isfinite(1.0f));
index e133d626ee52d5ddbee8c6769a68419513a8b38c..a23273740c789a520623e6e0b4b0616b5b522f60 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -pedantic -triple=i686-apple-darwin9
+// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic -triple=i686-apple-darwin9
 // This test needs to set the target because it uses __builtin_ia32_vec_ext_v4si
 
 int test1(float a, int b) {
index 50c5f4e5a8400e9772e6512f6d48e4483de308a4..f6f6bd972090ce81b6f0e802873363a1056bd00d 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc %s -std=c89 -pedantic-errors -verify
+/* RUN: %clang_cc1 %s -std=c89 -pedantic-errors -verify
  */
 
 #if 1LL        /* expected-error {{long long}} */
index fc50ebed66312c41c40571f7c21f49c575d5c3b5..8a9e622d87498f8e996d6393e777c0291e1c5c56 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc %s -std=c89 -pedantic -fsyntax-only -verify
+/* RUN: %clang_cc1 %s -std=c89 -pedantic -fsyntax-only -verify
  */
 void test1() {
   {
index f65aab463f5729e430cc4ff41c2f417931f9491f..a32a4953084d0d1716c82791cd9af59e2020f90d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 void __attribute__((fastcall)) foo(float *a) { 
 }
index 8292ba8a506b2060e10e9528173168952a0a12cc..c21dc58f2c1c463040480371df64fa83859dc933 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -mcpu pentium4 %s -print-stats
+// RUN: %clang_cc1 -mcpu pentium4 %s -print-stats
 #ifdef __APPLE__
 #include <Carbon/Carbon.h>
 #endif
index 24f913b9ea33ff062a8f96a5807ea37763507a4b..6856c17c721a97820cb0afd53125c1d1bda18932 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 union u { int i; };
 void f(union u);
index d2e3e0c7e3a1bfafcf792a92495c31b45fbcf161..e52dcaebbddb63529fa21c12d72b59e6ae0ac43e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify
+// RUN: %clang_cc1 -fsyntax-only %s -verify
 
 typedef struct { unsigned long bits[(((1) + (64) - 1) / (64))]; } cpumask_t;
 cpumask_t x;
index 72eae06bfa1be485e26fb9d8d3a5006039192f0e..070ea74f680012f5f43797c30c38f3c94cc39d0c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int printf(const char *, ...);
 typedef int *pint;
index fa2d3a062ed15624b7f941f1a6fbe365cea674d2..75a3cf1f62b847bfd5f90f33a0df80dbc1dd6d42 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-apple-darwin -fsyntax-only -pedantic -verify -Wsign-compare %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -pedantic -verify -Wsign-compare %s
 
 int test(char *C) { // nothing here should warn.
   return C != ((void*)0);
index 6c660899e8a1df64eadb5b427bf4b440d43aef1b..2bd03744d7a0414721d6293bbc021f0bfb9a8512 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 void a() {
 __complex__ int arr;
index 3d86c20eb2482432d69e852b477cdfefbee4fcc5..23c3b6895314b07f74e4a7b908aa50fbb12c5b07 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 float a;
 
index b51bcfe2a233a5529f02f0e77ceb8b0b3a0b1793..a650d12de97385a0beea0f89e12c67aaa051322b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 struct foo { int a, b; };
 
index 8cac32c82f45bb5305445ef61c8026412a674855..5f01374be3669e24bf6b5e4d7be6e66099cfd00a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic -Wsign-compare %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -Wsign-compare %s
 void foo() {
   *(0 ? (double *)0 : (void *)0) = 0;
   // FIXME: GCC doesn't consider the the following two statements to be errors.
index 9f48c349c964e8786e4b4177b5151d11d7106e5c..e67580ace6006fe7aa8e1bba545123d634651db1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 const char* test1 = 1 ? "i" : 1 == 1 ? "v" : "r";
 
index 39a24b3269912cc3900165675bacf80f8300f734..fee8d97f9bb41cedc88d9446fcbd1023890bdb20 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];});
 int x;
index 4e08bfff2cbbd0276925d2889a17ec5d5825d5ff..c6e70b8b2455c9da3894ad010c3d5415c71f4d6c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #include <stdint.h>
 
index 18dbb1e7c54aac6887ffdbf639d3a03136448e87..23aa314e0c32e751196c72427fdba7ce01428886 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 // Math stuff
 
index f8cea33d6762637c7342e8e327a0c1bb4943fc96..5d67fc7cb7177ecc73dd510c54c576e62b3bb420 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -pedantic
+// RUN: %clang_cc1 -fsyntax-only %s -verify -pedantic
 
 // Math stuff
 
index bf876f344a8f5b38418cdc30240d4a9c842883f3..3dfbbcbe281cb42311a4c2b07023ad6a99542464 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int x __attribute__((constructor)); // expected-warning {{'constructor' attribute only applies to function types}}
 int f() __attribute__((constructor));
index 53830fd061c450210b00e14825b321cb33e2667d..104399641d2805e0f0e1cc7ab2beaa01c7a02540 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -Wshorten-64-to-32 -triple x86_64-apple-darwin %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wshorten-64-to-32 -triple x86_64-apple-darwin %s
 
 int test0(long v) {
   return v; // expected-warning {{implicit cast loses integer precision}}
index bca23f8f8df88d9948892995d46e8f94290b01af..264e0430dacdcc401e1845ca1057fd3d8b630f92 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -Wconversion -triple x86_64-apple-darwin %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wconversion -triple x86_64-apple-darwin %s
 
 #define BIG 0x7f7f7f7f7f7f7f7fL
 
index fed8983191575df6f573009c0d5780ea6859b038..208097481cdc824f3cdc5d3726adf13e4f1fb1e3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef long unsigned int __darwin_size_t;
 typedef long __darwin_ssize_t;
 typedef __darwin_size_t size_t;
index 823551f02e6fe22aede70c3be8f7c89657a2b3c9..815e6dd9ca508abbd5c533f5c8247a2e83b1cb06 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 // See Sema::ParsedFreeStandingDeclSpec about the double diagnostic
 typedef union <anonymous> __mbstate_t;  // expected-error {{declaration of anonymous union must be a definition}} expected-error {{declaration does not declare anything}}
index 1a8601298e9ab12a8f4bf85b31a7348cb0c463e5..259b0ddf1545dbee0b808de3fcabc620d891519c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c99 -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -std=c99 -verify -pedantic %s
 
 int x[10];
 int x[] = {1,2,3};
index e325cc83521ab410065c402fa830103aeee36712..5f3ce40516368afecd3405a37f4c258c006e5f40 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 typedef char T[4];
 
 T foo(int n, int m) {  }  // expected-error {{cannot return array or function}}
index 5dac99131b6b5191d60417aaf481e5cf54fe0f00..13186018450161610237e9d0f1695a7c00ab1175 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f5 (int z) { 
   if (z) 
index 6e8a27bf5733744ab8de519ade4ee4a5eb7a80c1..631e848df16cb7bbaacabcb62bf6bd0f5f0fbf8a 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 void f(int i = 0); // expected-error {{C does not support default arguments}}
index 965940e26d5ec58c67fd96253ea0aed0f25bbb79..845b28645a483fd5ffb5e305982f00e0ffa48b05 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -fsyntax-only -verify -std=c90 -pedantic %s
+/* RUN: %clang_cc1 -fsyntax-only -verify -std=c90 -pedantic %s
  */
 void
 foo (void)
index ae951d42a1a60cefd1ecf6b64eea6cd2e6673c08..9e2dc88b9a9aa3fa0be117aa1a5559f2117fcb03 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -triple x86_64-unknown-unknown %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-unknown-unknown %s
 
 int complete_array_from_init[] = { 1, 2, [10] = 5, 1, 2, [5] = 2, 6 };
 
index 90ed1456d24de07c0ed9a606c0af988dd258403b..a1e7a18166c503abd3116edfcc4aa75c5204b381 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 inline void __attribute__((dllexport)) foo1(){} // expected-warning{{dllexport attribute ignored}}
 inline void __attribute__((dllimport)) foo2(){} // expected-warning{{dllimport attribute ignored}}
index 31649e0ae9edc8738ab4e9afa336aedfc72c8369..262cab50a55f095b080cd544e74a910e4e2e71bc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -pedantic
+// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
 enum e {A, 
         B = 42LL << 32,        // expected-warning {{ISO C restricts enumerator values to range of 'int'}}
       C = -4, D = 12456 };
index 909acfb266625f7a199e150cb9575608598a23aa..8f9f795d00ddff4f99066b2a1b3c577fe557fcc1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 struct xx { int bitf:1; };
 
 struct entry { struct xx *whatever; 
index ffe8b696f60897d91e22715c47d8bacacff21645..d0883ba202f9b4309cdf8f177ee392bd2d0db6f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -std=c99
+// RUN: %clang_cc1 %s -fsyntax-only -verify -std=c99
 // rdar://6095180
 
 struct s { char c[17]; };
index 3a05130eae3255d2fb27e55d249cb45c8f4af301..d3e4020af637f850a5c9032f4138ef9caf064cfd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -std=c89
+// RUN: %clang_cc1 %s -fsyntax-only -verify -std=c89
 // rdar://6095180
 
 struct s { char c[17]; };
index 10fcde6e757697d697d82142877673d2585ea4e9..e6cfa5fbe3e4f22ea079e61eb4bd77a33ebd5060 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -pedantic -fsyntax-only
+// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
 
 // PR1966
 _Complex double test1() {
index dbcd1c9b3ac0553f7346b935c107382a7d41f845..cbda021cd282f9078cc88b4c81d41b8999ad37b9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef __attribute__(( ext_vector_type(2) )) float float2;
 typedef __attribute__(( ext_vector_type(4) )) int int4;
index 8e42582cc724f8f2ba50c91e0fd7a6b986073e25..7d3d52aa954683a3d8f71067f581e3362545976d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef __attribute__(( ext_vector_type(2) )) float float2;
 typedef __attribute__(( ext_vector_type(3) )) float float3;
index afe31fb8294fa61bddf8d8c33288acc9fa6e859f..e03881cdbcbe357e644d6a3f038ac41c0025df44 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 struct one {
   int a;
   int values[]; // expected-note 3{{initialized flexible array member 'values' is here}}
index 9888105518d910a3879ebc6561ce816cd1d54e62..60f971c6df97fe8893f4974df158a93f144c2b1f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wfloat-equal -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wfloat-equal -verify %s
 
 int f1(float x, float y) {
   return x == y; // expected-warning {{comparing floating point with ==}}
index 183a95d0ab44f4ecd1d1209420737ceae9ff37c2..b998f4b07cf0bbdafc7148f203c6179837a24bce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Check C99 6.8.5p3
 void b1 (void) { for (void (*f) (void);;); }
index 24eece8878e22872816c9f49f7ee3d17a4410931..374d8b3af03f6aee703f62976c1bf809bebcfb83 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -Wformat=2 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wformat=2 %s
 
 #include <stdarg.h>
 int vprintf(const char *, va_list);
index fa7eafd52fb8cd5bb52bb261100782f6ee00234c..33e8d40076dc0b1a3fd83bfca3d152b495c6d0f4 100644 (file)
@@ -1,4 +1,4 @@
-//RUN: clang-cc -fsyntax-only -verify %s
+//RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #include <stdarg.h>
 
index cb823318592eb4a62be3c8289bb90595478787ce..6e1bd0f1ab655c5aab7b56f553977a562d297574 100644 (file)
@@ -1,4 +1,4 @@
-//RUN: clang-cc -fsyntax-only -verify %s
+//RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #include <stdarg.h>
 
index f531372fd4512bf1179495c6b0e52fd246fa5ed8..f2e9dd81bab34701ad8febc93d6602e42ce17b58 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -triple i686-pc-linux-gnu
+// RUN: %clang_cc1 -fsyntax-only -verify %s -triple i686-pc-linux-gnu
 
 int printf(char const*,...);
 void percentm(void) {
index 0a9fccebd7fdff909ddca795ff4c5019adb1059b..1ad4bda10a4e6aa587786108784a5aaeb167a3bb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -Wformat-nonliteral %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wformat-nonliteral %s
 
 #include <stdarg.h>
 typedef __typeof(sizeof(int)) size_t;
index a2364df259bfacd0b28f63868e191df3c9944c1d..eed644d483acb6cb80505a96d1eaa763835a308e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -ffreestanding %s
+// RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
 
 // Tests that -ffreestanding disables all special treatment of main().
 
index 6d3fb17180764e207a427c6d7398c4c229225bbb..5f17a260b26f39ee81ed4ee3dbe35b099948606a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void (*e) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (1,1)));
 
index 6b410018f4b724867559a987aeb0cbe5749be4e6..c1ff8e1d7b1f328bfff6781fdf8fa7168cd29d80 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -pedantic
+// RUN: %clang_cc1 %s -verify -pedantic
 typedef int unary_int_func(int arg);
 unary_int_func *func;
 
index 28593b0678d132667de15145d87a7b93c491ef4f..9544dc9baef698569ff42b30ffb7cef340381a46 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR3588
 void g0(int, int);
index b33b4a063ce23c9464937960155a036798af6b8d..9bcbec4c0c3688dc69a51ae962795e0d0ec884bc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 #define NULL (void*)0
 
index e7a37f1a2fc125e280bce2750f8b896e366c8dd3..9a83519a90b52690470fab46c868e6f18fae702a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -pedantic
+// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
 // PR1892
 void f(double a[restrict][5]);  // should promote to restrict ptr.
 void f(double (* restrict a)[5]);
index 4601cbe93f6e2b989e4321aba0e76b1433cdef05..fc21dcd5cd45ec8d24955aea0cc031c284635b87 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc %s -std=gnu89 -pedantic -fsyntax-only -verify
+// RUN: %clang_cc1 %s -std=gnu89 -pedantic -fsyntax-only -verify
 
 int f(int restrict);
index 3a9880ce7f7583eb274fe9ea35fc6b1967321bf2..9b80d3496de901a6192e8a7ad1394e556e1cddd8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify
+// RUN: %clang_cc1 %s -verify
 
 int foo() {
         int a;
index a56f1f6f625cf195aa2f8226a3fe005251f96719..176f4727ef2b169edbfd6f3ba9f0a1a0ac1939da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fheinous-gnu-extensions
+// RUN: %clang_cc1 %s -verify -fheinous-gnu-extensions
 
 void foo() {
   int a;
index 1d1df40bd6a34ce16db53e2999826ec6b4e3174e..af1e62f6b1b61c2696c207e71aa92f8378f75de8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f1(int a) {
     if (a); // expected-warning {{if statement has empty body}}
index c932bb28dccaab1b8458fb116a63df10e2196d49..3c59df8298c0a234d862ce33cc9e3c3483449e36 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++98 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
 
 void a (void []()); // expected-error{{'type name' declared as array of functions}}
 void b (void p[]()); // expected-error{{'p' declared as array of functions}}
index 696a2b926c9b6108312fce4ff6a103b5855c6a1a..09ecd23ca1bab8138052a4aad174d370951bb773 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 void f() {
   int *ptr = malloc(sizeof(int) * 10); // expected-warning{{implicitly declaring C library function 'malloc' with type}} \
   // expected-note{{please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'}} \
index 9bd5c05892ecea9b5bf52626d1431c9c52708d2d..505e5221eff84d4c0ba24bdd06aec430501ff5d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -ffreestanding %s
+// RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
 
 int malloc(int a) { return a; }
 
index fc51312f1770fb7e4d0221bfe86772cd0e99aee0..1e520d2ae90236efee2b8fd814df858a383549af 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR3592
 static void* malloc(int);
index ce34ad6d1c651b0fe4efc709af4b529eef2bdd0b..088b1958d9b85c43482a38f3e4852fb340f08c9f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 static char *test1(int cf) {
   return cf ? "abc" : 0;
index 8873e76098cac6bb2aadb356d406349240f9c21e..fc48895f4eb1feb09c073d8c7cee5b33c35bfa1c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 typedef int int32_t;
 typedef unsigned char Boolean;
index 3b31b999667cec95a84c39f7d0e843e8725f4077..6caa090631e69e5964ef838b9380a8d4114b3112 100644 (file)
@@ -1,5 +1,5 @@
-/* RUN: clang-cc -fsyntax-only %s -std=c89
- * RUN: not clang-cc -fsyntax-only %s -std=c99 -pedantic-errors
+/* RUN: %clang_cc1 -fsyntax-only %s -std=c89
+ * RUN: not %clang_cc1 -fsyntax-only %s -std=c99 -pedantic-errors
  */
 
 int A() {
index 5190bdbf934b1bcea02175a29822415eebe26f7f..1bb9a838530660bf1ea9638be2dab295ba245786 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -pedantic
+// RUN: %clang_cc1 -fsyntax-only %s -verify -pedantic
 
 foo() { // expected-warning {{type specifier missing, defaults to 'int'}}
   return 0;
index a62f9a8ba70990fae302e199f8753e4c889dfd00..a1592efc4c47d6ccabf9df3d9acf28ca4fbc89cb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 int a(int* x);
 int b(unsigned* y) { return a(y); } // expected-warning {{pointer types point to integer types with different sign}}
index 15d97683c5a0ba1bceb607ce9d725734648b8c02..3ef578d59f6f21ff8342e8e5518b40a06c7f83d7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct foo; // expected-note 3 {{forward declaration of 'struct foo'}}
 
index 6a6ba753f3fe358137612d7482199df4f84262b8..753d9c0a3c1a0590736501c5888e5c1922eb4f54 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct foo; // expected-note 5 {{forward declaration of 'struct foo'}}
 
index 35fb5e6315e2b688d100196e10d5066b51dc6376..134ccd8a707600a7d2da32b8e081b591ff23fe79 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct c {int x;};
 int a(struct c x, long long y) {
index 539820ae418c04c1cc6f1d79bfc5568f445b8c2a..49ec7cc5e060cd70a8207ef66beba4ff2111c018 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify < %s
+// RUN: %clang_cc1 -fsyntax-only -verify < %s
 typedef float CGFloat;
 typedef struct _NSPoint { CGFloat x; CGFloat y; } NSPoint;
 typedef struct _NSSize { CGFloat width; CGFloat height; } NSSize;
index 691ea97268fd4d9a788fecd1dfc40f7a5477ed0b..f0cf32bd3f9c8a29faba4757eeb1e8a110e16296 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef float __attribute__((vector_size (16))) v4f_t;
 
index 4ba6867d0b0f22891dbbb57e95484a65063b516b..9ebbce97584e61ada69a5c0d0b9c9e0e2e20fe28 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 #include <stddef.h>
 #include <stdint.h>
index adcde51363eb31764eccf9937ccb55249dcb8902..3c99f24337830a66828a6a4da6deadc8d256fa9c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Check that we don't allow illegal uses of inline
 inline int a; // expected-error{{'inline' can only appear on functions}}
index 5bbab7d9af96161a0b54548e2332438b2c755f5f..c56ab3b763026cc050247cdadfe2ce99c8f02c9b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple=i686-linux-gnu -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple=i686-linux-gnu -fsyntax-only -verify %s
 
 // Check types are the same through redeclaration
 unsigned long x;
index 8c458008cb5c5cf01a5a27524934fa19eb0a0812..7f471a1526812606205fd992f01860ee88383f1c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 void test() {
     char = 4;  // expected-error {{expected identifier}}
index 724d0ea368ba16a8ba36e5120b1f61d2de7d2617..a215fa7c254ba83410a6a778dc0f1123fcb0e61e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 int a;
 struct {int x;} x = a; // expected-error {{incompatible type initializing 'int', expected 'struct <anonymous>'}}
index 73e2e446f1311329448a3c2f22372a3f61b238b2..a598d577f006da1742b0e4f73429121a63e69ae7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 typedef struct _zend_module_entry zend_module_entry;
 struct _zend_module_entry {
index 6b033fc3a21f8c6e3a0c905705b821a3508b3368..8ae0550dc8b1d8ef34ec7a7dc41814c657b1091b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // C DR #316, PR 3626.
 void f0(a, b, c, d) int a,b,c,d; {}
index 070ba071ca6797032c6bc5a5d1d15446082dd095..6d5d63208bf059b969d8dc7374ead27d41650743 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 // PR4287
 
 #include <stdarg.h>
index b810ccf15b72d0a969bcdf013835b8086b3e4ec5..7bda14303a2d6bcf538bba3725e7c58f525880bf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 struct simple { int i; };
 
index f4c25f511429ea9ed2316f71c8e39de1b71f6ff8..1a84d33b7943c8ae8653f642c75c4f38daea57e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 void foo(void);
 void foo(void) {} 
index 2113949f237bec117e09f9b47fd71098a9c6e0bd..250e3222564d8f6c9f8c57fb596a625d52b73dc8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fms-extensions
+// RUN: %clang_cc1 %s -verify -fms-extensions
 
 #define M __asm int 0x2c
 #define M2 int
index 54a970f044212df6fd4f361be27db03e09561e07..6a19921f47fa532e259033e1fa8af2404b8b52d5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct X { // expected-note{{previous definition is here}}
   struct X { } x; // expected-error{{nested redefinition of 'X'}} \
                   // expected-error{{field has incomplete type}}
index dfae99216f8a19bfa13f12050911c64354906e95..49d4eb43e42363fb52fccbe04a4481eef1ed1679 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER)
 
index 62b38821334768bf00775eb8be0be482f53d3664..e8dbf3a6094ab664444e2667dfe051515351f9f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 char *foo(float) __attribute__((__overloadable__)); // expected-note 3 {{candidate function}}
 
 void test_foo_1(float fv, double dv, float _Complex fc, double _Complex dc) {
index 0d5db3a98454833ebf683ae0e7b8b8dc7427edd5..72d3673c825e63814eaf21382f9d0b4e0bc893d4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute can only be applied to a function}}
 
index f9f647c9cff7343127c8b4e433ebc8b5a0c5addd..f7a7fbd37db34cf42d06a28a4bdfc1fc02cd8947 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -Wparentheses -fsyntax-only -verify %s
-// RUN: clang-cc -Wparentheses -fixit %s -o - | clang-cc -Wparentheses -Werror -
+// RUN: %clang_cc1 -Wparentheses -fsyntax-only -verify %s
+// RUN: %clang_cc1 -Wparentheses -fixit %s -o - | %clang_cc1 -Wparentheses -Werror -
 
 // Test the various warnings under -Wparentheses
 void if_assign(void) {
index 87d5eaf39c9912fab10d77c1d1a4de17a1411a44..34f8bbbfcd6d68947b8805c6a2e606b58f575913 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -pedantic
+// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
 
 typedef struct S S; // expected-note 3 {{forward declaration of 'struct S'}}
 void a(S* b, void* c) {
index 5f41ff67411b941a0bb129a148347fffa7f25d03..7191bf7c63f467abd404a07958eb2b9cebb8cd0e 100644 (file)
@@ -1,4 +1,4 @@
-//RUN: clang-cc -fsyntax-only -verify %s
+//RUN: %clang_cc1 -fsyntax-only -verify %s
 
 char * c;
 char const ** c2 = &c; // expected-warning {{initializing, 'char const **' and 'char **' have different qualifiers in nested pointer types}}
index b3be37e7f185fcab032ca1a5d9038cb34340aa08..70340c6a4cd33d53665a1e5076e623c24790e9bd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -pedantic
+// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
 
 typedef const char rchar;
 int a(char* a, rchar* b) {
index 25be5539783e6ef193937d3c7ea05700dbc4b4eb..3e6234c57f0eea46e0af19e5e78b5aef3dbcec8b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i686-apple-darwin9 %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple i686-apple-darwin9 %s -fsyntax-only -verify
 
 #include <stddef.h>
 
index a2d665ea74179915e05c65ebca9271e8c5ad469c..d97359e45b71ef94579984fa8f26b12fb67ba578 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i686-apple-darwin9 %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple i686-apple-darwin9 %s -fsyntax-only -verify
 
 // Stack: [], Alignment: 8
 
index 3ccaf7e96ce672390ab8fdd75005a0cd24fc8db2..b06fc0eaf15fdd6e8203bc9ddd01a5aac42c0258 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple i686-apple-darwin9 %s -fsyntax-only -verify
-// RUN: clang-cc -triple x86_64-apple-darwin9 %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple i686-apple-darwin9 %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -fsyntax-only -verify
 
 // rdar://problem/7095436
 #pragma pack(4)
index 51398fa0a55471609e0bf9d7f953d8a2b3d9a42e..e93ce42148caf0aea7ffbcebd4420cd9915237dd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i686-apple-darwin9 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i686-apple-darwin9 -fsyntax-only -verify %s
 
 /* expected-warning {{value of #pragma pack(show) == 8}} */ #pragma pack(show)
 /* expected-warning {{expected #pragma pack parameter to be}} */ #pragma pack(3)
index 8b94989626469f9bc5a7ccf9e00628b12d446970..8a051a3ec9ef795262bb81bf8220b7d7d0b6ab88 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f1(void) {
   int x, y, z;
index 7b3fe5038f9674ea8c15fc57bce25867f25b14cb..9c1994699da765e6fc9e6ddea60daa0874b3c7c9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void abcdefghi12(void) {
  const char (*ss)[12] = &__func__;
index c8d17f0078e66eec7c8df274703bf30c5133bba7..665d0fa1a8b78b76b5ff9a74cafc4620d7d0277e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 char *funk(int format);
 enum Test {A=-1};
index 5dd37f430efa49fa9c5fb29caf20160de3974e54..d3c12651098a02e2bce2789dcfb4a8d1e4453340 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only %s
 
 static int g0; // expected-note{{previous definition}}
 int g0; // expected-error{{non-static declaration of 'g0' follows static declaration}}
index fbd1215d90d2368a02800863011bae301265093f..6446720a815e75fe411fd50cab7c4ec7fb4250aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -triple pic16-unknown-unknown
+// RUN: %clang_cc1 -fsyntax-only -verify %s -triple pic16-unknown-unknown
 
 // Check that unsigned short promotes to unsigned int on targets where
 // sizeof(unsigned short) == sizeof(unsigned int)
index d4ee305c2912a6ea6dd535e2a5848cb1d5322e83..6b120b28475618545f8e06304b266e47b5059d9e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only %s -verify
+// RUN: %clang_cc1 -fsyntax-only %s -verify
 // Test case for: 
 //   <rdar://problem/6248119> @finally doesn't introduce a new scope
 
index 636f770e3ee0fb63253ce8677722e6ee99304e63..9991982a20b27fcc7385c56a1b5a68f08d1a596e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ast-dump %s 2>&1 | grep ImplicitCastExpr | count 2
+// RUN: %clang_cc1 -ast-dump %s 2>&1 | grep ImplicitCastExpr | count 2
 
 int foo (double x, long double y) {
   // There needs to be an implicit cast on x here.
index e7b9f3c8eafc5ac8fd334a90f62ce0fbffd0b1ed..0d665f9a60f5ad1b0361f39911df7bc331699e0c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify
+// RUN: %clang_cc1 -fsyntax-only %s -verify
 
 void a() {goto A; // expected-error {{use of undeclared label}}
 // expected-error {{expected '}'}}
index 9339bb935f6c6237de84312ca51e92b8c919bfef..1092b33ca35d55f1f9c2b6379a175111fc31254b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 int f(int a) { return 0; } // expected-note {{previous definition is here}}
 int f(int);
 int f(int a) { return 0; } // expected-error {{redefinition of 'f'}}
index 8868c9ee0aeb37f27633ac11f9b27c9f9495c037..198ab11c6760e2e127c9bbbb650e8f2886c27f10 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify -fblocks -Wmissing-noreturn
+// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks -Wmissing-noreturn
 
 int j;
 void test1() { // expected-warning {{function could be attribute 'noreturn'}}
index b3b2a562181923199ffd41566af5c09246118972..eb9641b7f3bec92a9056e093edd80346fab6702a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -Wno-return-type -fsyntax-only -verify
+// RUN: %clang_cc1 %s -Wno-return-type -fsyntax-only -verify
 
 int t14() {
   return;
index 76041c4916536ede0bbe6459f7902dad5d713e12..4d3f6cbcf2b846e10d493fc385c51cf882cea15c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -fblocks -std=gnu99 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=gnu99 %s
 
 int test1(int x) {
   goto L;    // expected-error{{illegal goto into protected scope}}
index db56e8bf17d80efae9f9aafd30698af7391616b0..b2b06c209a61341a697b11e8de46398e6e632252 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int foo(int x) {
   return x == x; // expected-warning {{self-comparison always results}}
index c40f8df29c3327c01fc1fff52a64a6002f015e14..4c092739676398c0ab8a3eb3e1dc03ea87076ee0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to function, method or block types}}
 
 void f1(int a, ...) __attribute__ ((sentinel));
index 8eac052a25c7b5fe4b673faa6a6fb59b50240e29..3cd2460e79d9227433cadb9cb0a72fcbe0ede6f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 typedef unsigned __uint32_t;
 
index 510f3ab099afdd92ceb055c2db29e14bcd901b02..8011943755c0205cb4717b6ab55b57ad14b5b097 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i386-pc-linux-gnu -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-pc-linux-gnu -fsyntax-only -verify %s
 
 #include <stdint.h>
 
index e0db63822fb3a5b9585c411d85533a052ab11bb4..c45f93e07c05595b3d55ef6c58cee0bbd74ba6ee 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // CC qualifier can be applied only to functions
 int __attribute__((stdcall)) var1; // expected-warning{{'stdcall' attribute only applies to function types}}
index 063e8e32c02d007de75971eec0561f08b761e2d8..dc7db130dc19a4d62d21e4024cfff8958d815cd0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify
+// RUN: %clang_cc1 -fsyntax-only %s -verify
 
 struct S {
  int one;
index 35d8fb1aa0c27432c1beb46193f938c475c5f3f2..2e112e17dade7792e158e24dffb9dc48af18535b 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc %s -fsyntax-only -pedantic -verify
+/* RUN: %clang_cc1 %s -fsyntax-only -pedantic -verify
  */
 
 extern struct {int a;} x; // expected-note {{previous definition is here}}
index a5a299bf09b2444230b88866e067e3dd95d05113..f8880530f9502877a94686b6babb87c1b04d9c04 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // PR3459
 struct bar {
   char n[1];
index 8250c14d442099eba062cda118b68760280b4b6f..60a9febafbad1eac4af4167657708c10424340f9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 // Packed structs.
 struct s {
index 3ee371202f91d87624776d4e6aff7dce1d1c51a4..f815ba4627f9c659ee8aac91e365429d44a63e73 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 void f (int z) { 
   while (z) { 
     default: z--;            // expected-error {{statement not in switch}}
index c94af1160b898e0fb7684cee2c3a08359bafeb3a..b15537bfa0cdcd9cae817535ff26d613ed22f7ef 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 // PR3310
 struct a x1; // expected-note 2{{forward declaration of 'struct a'}}
index 19847c6d1e918a91743454d4481750bd437471aa..6dcaaa87a9a609b507825ef403b2666511b9da14 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 unsigned char *foo = "texto\
 que continua\
 e continua";
index 8d66e539c875d90a06db0ec315bfd09599a7cead..ed27c7063df70d5509f038782145b230da609fff 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple i686-pc-linux-gnu -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -verify %s
 
 __thread int t1;
 __thread extern int t2;
index a58bd42f821fca3d6d42470b02b956a8b55f99f4..31c93914b819da5085daca00d6549449e2cdee34 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 typedef union   {
   union wait *__uptr;
index 003efb14620bb04a47a440dfa74a52c5f02193ef..ce65095873ef66d7ec9fdcc2f81179219db43fce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 /* This test checks the introduction of struct and union types based
    on a type specifier of the form "struct-or-union identifier" when they
index f5bdcbb70e83510695b0ac27b1ec7f1788b5e941..712dad279db5278952926c83cd5b3dca736b3213 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc %s -fsyntax-only -pedantic -verify
+/* RUN: %clang_cc1 %s -fsyntax-only -pedantic -verify
  */
 struct incomplete; // expected-note{{forward declaration of 'struct incomplete'}}
 
index fc0e05ead2922a4e7a6f632d9527511dce5ad4de..8372154ce0efd63785c206486898c8d811667a5a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef int unary_int_func(int arg);
 unary_int_func add_one;
index 9a1c4887324201ded408108d78e36cf3acde7fac..025f65cb35a5498d73a32cf303f01e36de374d7b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef const int x; // expected-note {{previous definition is here}}
 extern x a;
index ef9ec76f467b99387a6cc2453870706b1cd1af6b..0ef15fdec6cd71024d987bbef57d6b5d182c95b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -fno-lax-vector-conversions
+// RUN: %clang_cc1 -fsyntax-only -verify %s -fno-lax-vector-conversions
 
 typedef float float4 __attribute__((vector_size(16)));
 typedef int int4 __attribute__((vector_size(16)));
index 7a9bb4879bc2bf96b40edc5c6705440ff560b046..f29896850b1b270e5e956f5096a9da50cca52d3f 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc %s -verify -fsyntax-only -pedantic
+// RUN: %clang_cc1 %s -verify -fsyntax-only -pedantic
 
 typedef int (*a)[!.0]; // expected-warning{{size of static array must be an integer constant expression}}
index e7d4b00a4d2af3b98cea9c6f0afa83e7b7ccb073..1770bf5bd03e3d4f60525a030bc049ef992f43fa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -pedantic -verify -triple=x86_64-apple-darwin9
+// RUN: %clang_cc1 %s -pedantic -verify -triple=x86_64-apple-darwin9
 
 // rdar://6097662
 typedef int (*T)[2];
index fb9a3b604eb743bc9f25b29880ee18e90913ce2d..f5bf457ed144e59bbb5b51a5de611a77f047220d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only -pedantic
+// RUN: %clang_cc1 %s -verify -fsyntax-only -pedantic
 
 int printf(const char *, ...);
 
index 249f06e07d9494c9132cf327348adffc5e691126..f3cc49c34bf2703da0c8e2af54e2ca3adbb43d6d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef struct {
         int a; int : 24; char b;
 } S;
index 522fda42a169ac9a60f45573f5e2744cf01bfc09..70f3446e5397dc9a634c0c38e7f27e631c874b3e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -fno-math-errno %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fno-math-errno %s
 
 int foo(int X, int Y);
 
index 40c0bde4e0cfaf2e35eaf8d3f123d930dc1948ac..5a9ab344ce3604c01724c5c344a3139797ccea38 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only
+// RUN: %clang_cc1 %s -fsyntax-only
 
 typedef float CGFloat;
 
index 850d324dbfc99a2de76560be7686ace37043d224..e49f0a42ccf94ec4a1aef572facd954b9ee29eb4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -triple=i686-pc-linux-gnu %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple=i686-pc-linux-gnu %s
 
 int a() {
   __builtin_va_arg((char*)0, int); // expected-error {{expression is not assignable}}
index 61ac97b7d45183ad4644351974abb3770648753c..9f514c1f59e4055197ca7880d784d49c1ef9ed0e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -triple=x86_64-unknown-freebsd7.0 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple=x86_64-unknown-freebsd7.0 %s
 
 // PR2631
 char* foo(char *fmt, __builtin_va_list ap)
index 129fd17cd5338e9f2471c6aeae3b3e68b91ee73c..d4d900d302876db0e6876f2d2dd881078856971b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int outer1; // expected-note{{previous definition is here}}
 extern int outer2; // expected-note{{previous definition is here}}
index 7c71c96738911d006a258bc29706fdadadee979a..2cfedc1b37e7a608e2bdf3f4fd18ec3044b7c0be 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -triple x86_64-apple-darwin9
+// RUN: %clang_cc1 -fsyntax-only -verify %s -triple x86_64-apple-darwin9
 
 // rdar://6726818
 void f1() {
index e928997dd8babba6e2e98ea8e9602ac0eb39eec9..e399f89ae0aa56d1318aace1b9c7909948e23888 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -fsyntax-only -verify %s
-// RUN: clang-cc -fsyntax-only -verify %s -triple x86_64-apple-darwin9
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s -triple x86_64-apple-darwin9
 
 void f1(int a)
 {
index 29f597b006720ee2597f5dfd292ff3ffe4258ea4..ba4bb71c975079f7291ded91f26e3e53694bb3e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only -fblocks
+// RUN: %clang_cc1 %s -verify -fsyntax-only -fblocks
 
 #include <stdarg.h>
 
index bf9c7f37ca6dcb2be6c2c1cc658cc4f64a7e14f4..d074a958fa0f3c1680b531ba5f07a39dcb9138e4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only -Wvector-conversions
+// RUN: %clang_cc1 %s -verify -fsyntax-only -Wvector-conversions
 typedef unsigned int v2u __attribute__ ((vector_size (8)));
 typedef signed int v2s __attribute__ ((vector_size (8)));
 typedef signed int v1s __attribute__ ((vector_size (4)));
index 8c607aad073e70e80d063c9b699b0f86f696fe00..aab0ab4775abb149bff20aad2d6e4e2e791aa23c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify -Wvector-conversions
+// RUN: %clang_cc1 -fsyntax-only %s -verify -Wvector-conversions
 
 typedef long long t1 __attribute__ ((vector_size (8)));
 typedef char t2 __attribute__ ((vector_size (16)));
index 1eec6c57a68c90834aad2f0925e14e718802d727..8f81adc05ba3c8cc8d1754ca5a72625b1a352394 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 //typedef __attribute__(( ext_vector_type(4) ))  float float4;
 typedef float float4 __attribute__((vector_size(16)));
index 02c5061d8cd5b72f333d702f6df28ca3f54badc4..cbf47a69a9a1ce20fda9be209c3812be96802ce1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 // PR4290
 
 // The following declaration is not compatible with vfprintf(), but make
index cc8e2c40d30bf1db8403f7f427bf6f78f7246755..14fbbc47ddbcc1cf018ef3451f30efa8e8438916 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -pedantic -verify
+// RUN: %clang_cc1 %s -fsyntax-only -pedantic -verify
 // PR4290
 
 // The following declaration is compatible with vfprintf, so we shouldn't
index 70ba08b7eb0a8a973bec50a39b4fc068b692a346..7ddd432fbc0f77523704ea12e50334a27d2e3759 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only -pedantic
+// RUN: %clang_cc1 %s -verify -fsyntax-only -pedantic
 
 int test1() {
   typedef int x[test1()];  // vla
index 6799146a5ff98181fec7821a2709ebd9dd4999e2..337972fd149bb97ff40e2f33d4a949bdf5e4386e 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang-cc -fsyntax-only %s -verify
+/* RUN: %clang_cc1 -fsyntax-only %s -verify
  */
 
 typedef void Void;
index c6fd78cc1f74531f569bf3c29085f1e08efcca86..374a609e81f707b80659fcaab19898d38a46c039 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Wchar-subscripts -fsyntax-only -verify %s
+// RUN: %clang_cc1 -Wchar-subscripts -fsyntax-only -verify %s
 
 void t1() {
   int array[1] = { 0 };
index a4d3f5be31897defff2f39ea8aa4f38eaffaeaa8..14e063f83c1b8160473eac86e0d4de25c6d28f61 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -ffreestanding -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -ffreestanding -pedantic -verify %s
 
 void foo(float _Complex c) { // expected-warning{{complex numbers are an extension in a freestanding C99 implementation}}
 }
index fd225436be82bf45326695f51e8d09ea35692079..36615061fe6fd9e68da5171525a3ae2415b25d61 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wunused-variable -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wunused-variable -verify %s
 
 struct s0 {
        unsigned int    i;
index 838bc6f3c716a774716b890d873b83e224ebcf81..720566a69b055c728aff289b7e92f3033280211e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 class C {
 public:
index cf7851444092798c1a657993d16e0e48a24924f3..3583655134a74ccc067fe3140ca9f80205cc3625 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown %s -fsyntax-only -verify
-// RUN: clang-cc -triple i686-unknown-unknown %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple i686-unknown-unknown %s -fsyntax-only -verify
 
 void f() {
   int* i = __null;
index 3db607a365c095ec8643dcdda7846228e81f912a..79e01a5833f177576d8066587290d7ded00bc52c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 #ifndef __GXX_EXPERIMENTAL_CXX0X__
 #define __CONCAT(__X, __Y) __CONCAT1(__X, __Y)
index 4a9ee51dbfb5bfb7b296b98752216d06e6299b3c..6956553f8368787a29c79a6d0c3a3bdcaea9d6c3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -faccess-control -verify %s
+// RUN: %clang_cc1 -fsyntax-only -faccess-control -verify %s
 namespace T1 {
   
 class A { };
index fb124a932a1216fcc44f83b7f8b9dab65dfadad1..e6e261c1a89f80fa216d77da820c25f00870f172 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -faccess-control -verify %s
+// RUN: %clang_cc1 -fsyntax-only -faccess-control -verify %s
 
 class M {
   int iM;
index cfbc9c80692b21cfdd871beaf8dcaae632f3282f..ae2fef11f81fb12db8702cf46ee7ade360819537 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class C {
     struct S; // expected-note {{previously declared 'private' here}}
index 80ea02bafd41223a2b9ea541624f38510987420d..45a65f8199d379827f2487128ff593b37889ddf0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 int f(double);
 int f(int);
 
index 4e436d6e98b2ce1aaea550fdc836e75233625864..a7e712b04c1db24bec7cb4c67181abde0a72bbac 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // PR clang/3175
 
 void bar(int*);
index c96eda4480323d3c3499c9ec80473a155c84635f..cd801d78c2dc33c0c636bf27bce90d9c978dd448 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++98 %s 
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s 
 
 // Verify that we can't initialize non-aggregates with an initializer
 // list.
index 27d98ab6491e33cc668cfaf8c8d263b3a6fa60f4..f02282d72d309a88647d2f3d394d604b1a2f0f34 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -std=c++0x -fsyntax-only -verify %s
+// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
 
 struct s0; // expected-note {{forward declaration}}
 char ar[sizeof(s0&)]; // expected-error {{invalid application of 'sizeof' to an incomplete type}}
index 94598f0e8ef2ff16e185e58731641e23e07e7151..0820bc93c39f96133092b7270504279b647bcd78 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Test1
 struct BASE { 
index 5affd19a2fdf063b64a0dddb1d65a10984950b72..1aa09a6827a0f1c7cc3cfc2f67868831344acb8c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 struct A {
   operator int&();
index f77fa03328f61169394c524c309d6cfcb9d1377a..374241c9e4e6042dea8c9faebbbc1d07cc75bb09 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct X {
   union {
     float f3;
index 579c7933684db6ded64d9866e0545f85df60a5bf..74f58fa1236014db3d60f2a113a7a2e4933a0842 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // PR5515
 
 extern int a[];
index 08b3cd4cc71690b39e9f1bc1bf1e456c2fc5e601..fd1ec0120a71ae6ad280dc25a4256d8898484e88 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct T { 
   void f();
 };
index 2ef5acfbc0f158d8cb18462d11df1016c8d3d117..148a63e4d6c1cc51654fd022973a6c6157dc9ac2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct X { };
 struct Y { };
 
index d68779cc88869b840b81d1636bc38302741863b5..9924d1bc5707bc06724ca785df73e0eb1caa2ff6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 int final_fail [[final]]; //expected-error {{'final' attribute only applies to virtual method or class types}}
 
index 54f8b5b57fcdcfe2dde15b01be527ec302dccd6e..d5662d3f6313c9d9fa9b74fcf168da22073c978f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 class A {
   void f() __attribute__((deprecated));
   void g(A* a);
index 369099a84800273ab873dcac30259c627572ab32..0c1eb53ea07fbaa8166485fbe1d7d36415aeeae5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct S {
   static void f(const char*, ...) __attribute__((format(printf, 1, 2)));
 
index e4fdc08ae9e7becf15528f47242e7e5e9c5f1bc2..ae614ac194d47abb96d7e8ea6cabd17e15054855 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR5620
 void f0() __attribute__((__noreturn__));
index 0293a5dce00c61aaf8e710a8163ce7f6e8cecd50..56c8f881600b90b2160bf55d329447d9a6aed7f8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 void f(int, ...) __attribute__((sentinel));
 
 void g() {
index 8e5f76bcacfa73a2e72284b242689f829c4e911c..bebd4cb18e5da4033f27e2f685c849cde166cf5e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int &foo(int);
 double &foo(double);
index aa92bbe4f1f1784dcebed44d1e8ee093d5b8cad1..654acb5ad20c39049d7a838488bbb38770751fa5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 void f() {
   auto int a; // expected-error{{cannot combine with previous 'auto' declaration specifier}} // expected-error{{declaration of variable 'a' with type 'auto' requires an initializer}}
   int auto b; // expected-error{{cannot combine with previous 'int' declaration specifier}}
index 14670cd699421d5919f1fa1d93bcb884095b39b9..fe028114880a373391ca37ebbc723a7b5f39b334 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++98
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98
 void f() {
   auto int a;
   int auto b;
index 9d789bb3252ad6ce0527322881f56186c2937feb..94295437e16142d4fa43ac65c4783f20949f67c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -fblocks
+// RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
 
 void tovoid(void*);
 
index 259c09c6cb8330ed14e3099f66dcb1e628b4461e..c0367aa3e544cc7f1d1997b4648137edc58be381 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 // Bool literals can be enum values.
 enum {
index 1b52651910d951358354c6b1eee680365db773f2..3e0dfbb48edaaf80c4448b79182a1b109f32002a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 struct A {};
 
index 27ca6dc77897df7eb1cba96bfe9ebeae554a753f..137503b2a4e0cfdc3019466358be2b523f1b0328 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 struct A {};
 struct E {};
index ed52d47f2cda7b0aaa1485c10efb2fc399eba1ea..6c132366199be888c1f39d8ebaa0d496e27da93e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 struct A {};
 
index 9e9d1522f4f6324616a56308a24ad89460265c35..a75b4f2e403a801fda6cdbf5dc332890b3809f32 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 typedef const struct __CFString * CFStringRef;
 #define CFSTR __builtin___CFStringMakeConstantString
 
 void f() {
   (void)CFStringRef(CFSTR("Hello"));
-}
\ No newline at end of file
+}
index b0ee056ef379e0730be8e55666e3d34b68797f0f..f4c3639e16a905d04b88b7ef421a692aa3d83293 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f0(int i) {
   char array[i]; // expected-error{{variable length arrays}}
index 3b6a9d6f8c492125e55700a8d8875381dcf1c569..77f4a528906d623fa456f9625f1365476f00ad4b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 struct R {
   R(int);
index 62134ae658dbfa32c66c2be2411ed76a678ce91d..0052856d2ff928d7601b68a0b3ffaadd6c069113 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct B { explicit B(bool); };
 void f() { 
   (void)(B)true;
index 2092847bc02d5c9c3ed586736ae4a94a9eaf2ae8..67bc43c2e80bee6e560e2dc86d53c57a1f13064f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class S {
 public:
index b5971723a70d78fbc43cdfc8a13fa73f9d201db7..2b8d1d3210b349ece750bf34bdbf171f50ca8a2c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown %s -fsyntax-only -verify 
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify 
 
 #define SA(n, p) int a##n[(p) ? 1 : -1]
 
index da9014574d2c907af12ff35783ac974eb7d8a1b2..2962988bec5b7d0d2b107f0d0ed90ab4296a915d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class C { };
 
 C c;
index 2637f320207f845ba6ca440172a1cd2568b6545c..743983cd346199ae6cfab475f60a3fc10f0b1f3a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 class C {
 public:
   auto int errx; // expected-error {{error: storage class specified for a member declaration}}
index 7188678b74db82fe6db6cf561d0fad422f0f419f..cd243e3d6b23f3908b365d4a1f99dc6589d3339b 100644 (file)
@@ -1,7 +1,7 @@
 // Force x86-64 because some of our heuristics are actually based
 // on integer sizes.
 
-// RUN: clang-cc -triple x86_64-apple-darwin -fsyntax-only -pedantic -verify -Wsign-compare %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -pedantic -verify -Wsign-compare %s
 
 int test0(long a, unsigned long b) {
   enum EnumA {A};
index 55d3c76d06382af7f36c2dadee37f8c45dd2112f..337875507245a1f5a811d88edbd46412c199763a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 char *foo(float); // expected-note 3 {{candidate function}}
 
 void test_foo_1(float fv, double dv, float _Complex fc, double _Complex dc) {
index 1eec525f4834bf8ea2914b93d3a3551adde74a11..829e64f6c72edcf8a133f45b074af5cf9928ff06 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class Base { };
 class Derived1 : public Base { };
index b2645d4fe0fa682e6671fac265fe6995de5dfdb7..7a51f7e0962b50235eada1ddb6caf991d61cd96c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 void test() {
   int x;
index f76472bf2f427d0af9d2f50187ebe3e0361a8c57..0f71b494661fe35448e66ffffa56d99da60acee3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -faccess-control -std=c++0x -Wsign-compare %s
+// RUN: %clang_cc1 -fsyntax-only -verify -faccess-control -std=c++0x -Wsign-compare %s
 
 // C++ rules for ?: are a lot stricter than C rules, and have to take into
 // account more conversion options.
index ee0048bd73bee238c10b7c1d49d405fd658f2793..74a67e564797404b0265cdb543d6d00650fdda63 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct A {};
 
index 02ea802c7265a6533806847799b579bf09eeab0f..0d4d387433001051abf8f9953cf868fdc0666cf7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++98 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
 
 // C++ [expr.const]p1:
 //   In several places, C++ requires expressions that evaluate to an integral
index 43186013aaa67dc602993baf886694045ba328e2..67d4074cbcdc91ab36b2ed11cae93bf473027683 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Wreorder -fsyntax-only -verify %s
+// RUN: %clang_cc1 -Wreorder -fsyntax-only -verify %s
 class A { 
   int m;
    A() : A::m(17) { } // expected-error {{member initializer 'm' does not name a non-static data member or base class}}
index 50fdc9622e4c7ecde2869e0278f4f7c5f2515218..8e00620398076f57961373078028744e3c5b13b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct C {  // expected-note {{candidate function}}
   virtual C() = 0; // expected-error{{constructor cannot be declared 'virtual'}} \
index 58d28b55184c3e838dc58020b1be079300696ac1..9ef5c98e9e2cf8d984b8c8ceb0ae9d0f95cadfcc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 typedef int INT;
 
 class Foo {
index 708289c362dc07a9ed2b5fdbebe96dc9db2808e2..2338778ebaac217b0305608c63825b502b8c3b95 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 // Test1
 struct B {
index c0c318ed336804a5d9e0b9674d04c7440693f653..d74bd2e39167ed32d5e62278b002509aa5691e71 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class X { 
 public:
   operator bool();
index 277bfc6c688848d38733d68f6673c5bd726152ff..543f6b1f0172e8d5ed81986f3dfe95fb1d6124a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 struct ConvToBool {
   operator bool() const;
 };
index 3f347b49022efdca6f896ff95a5d96219520295b..e0e614ebe5bc4fe5685c7756b1ac7abc59d2d81b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 class Z { };
 
 class Y { 
index 413e4d1933676ae7ad7e32da3b9282ddcdf8e54f..315e29a5b5ec031ddeb41e1c1798198811dc9963 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 struct A {
 };
 
index 2e42fcc3b1cd82a849efcde9678a4c23883b8b34..bdf635d02f24d3bd678f1a81951ef958a37b1aa8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 struct S { // expected-note {{candidate function}} 
    S (S);  // expected-error {{copy constructor must pass its first argument by reference}} \\
index 5b1fbaa46052e60d72e9555a2ac2cc3dc7f347f6..8df0c6340f8b2df50bdca53debd2386fde10532e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 class X {
 public:
   explicit X(const X&);
index 9c47df927e7b3a4afd248e0977f11a1b28149f68..dbb1e4a18a2ecd906ce463e3d6222ad07319d213 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -faccess-control %s
+// RUN: %clang_cc1 -fsyntax-only -verify -faccess-control %s
 
 struct A {};
 
index 63b29c723e0724d03a3289e86997c25c70e87d51..f43d438eb46fc72d5233acaf6e800a4dd4c4a70c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 struct C {
   static int (C::* a);
index 495a6e6e42c8522b86ae0bb8e6faac209073923f..859d2045da0991e7509fa7a69f224d73d1a79c38 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 // [dcl.ambig.res]p1:
 struct S { 
index 20b787a2252637ac9e3911d91e664c1ac349d550..a900411b9808753f6eeb6a1819ea9d56e382aeb3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 // C++ [dcl.init.aggr]p2
 struct A { 
   int x;
index 8d34a9ee7df999db55a9f1b451cf235d63983f3b..81f68392d85aa856306f6b106bf27e891ff84300 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -pedantic-errors %s 
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic-errors %s 
 
 void f() {
   int a;
index 20eb91a608caddcd53c7444ebbdd9297be1b5082..ab743694a18d9683e668581d4f71e4321dd92e3f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 struct A {}; // expected-note {{candidate function}}
 
index b56a7f602987f4c5875c760c82f67d506fdabda7..fa98e751ffac6efa4692e24018261afaf5318a96 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int& a();
 
index 4c5349b85868155517b748ea5d2c6239cc7b3d02..6013d0ae8b4e4bba5d61af63b53c33a263d493c5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 void f();
 void f(int);
index 8b2f584d24dd5468c7166122eee8e538327ffb74..456b22c5f7f23b563f69ad18d3c1dcc8c69767a5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 template<typename T, T t>
 struct TestStruct {
index fbf5da1d53eabf710f84860be626ac6eee479ac4..ead24ce0ca8607bb716223ba319a14fb189900fe 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 template< typename T, T t, decltype(t+2) v >
 struct Convoluted {};
index c6bf299f3f3bf65e6be21b0e9ea36dfa3743d59b..f9bf49973b5c744e24726ee20fa8c4b50b3d904b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 template<typename T, typename U> struct is_same {
   static const bool value = false;
index 232351dcff3dbfdd95b869c6fe32502148722827..3ab7bf4eb13d6c6d0bcc9801002e80d0b078311e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct B { B(void* = 0); };
 
 struct A {
index 0377657a82d24e198c884ffc79675211b9a2e5c4..9c99ad594458b7aa6b108a7498c1ea0ccc95e294 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class Base { // expected-error {{cannot define the implicit default assignment operator for 'class Base'}}
   int &ref;  // expected-note {{declared at}}
index 6adcdca3e177b2e9aa9ab65f26cf132138d06510..4269991adecfe892570a40f712a2d6dbdc51ba55 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct X1 { // has no implicit default constructor
    X1(int);
index be264ad62b130790fa25912c0a6583a4443fbc37..497a6b10acd8f4a7a386d4a883bd1f103ace3be5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 void f(int i);
 void f(int i = 0); // expected-note {{previous definition is here}}
 void f(int i = 17); // expected-error {{redefinition of default argument}}
index 183452070da434faa1be0b462457ae19a6c2bb75..58f35dcec313c62558d9dcf9aa11b96eb62231d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f(int i, int j, int k = 3);
 void f(int i, int j, int k);
index 637b2b1b2d5c9556cc404c7436fba9473c920857..c827b6e75e1fdf41ab05f1a2e5fefbd6a7b112d0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 int i = delete; // expected-error {{only functions can have deleted definitions}}
 
index 300312580a8fd46ce3f986486855f08299ed0c3f..d9b53230c99470bb3d7944ea5f9d9e2f02c77fbd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 template<typename T, int Size> void f() {
   T x1;
index e15ddde9d91f05d53ca883dd70b785ed91719677..cfcad7989aa237396b39b66cd1e72028e9cb5bfb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class A { };
 class B : public A { };
 class C : public A { };
index 790a401ae99c4e496131afcc20bb606d8bcd595f..6837cd40157c704dd30247cff3ad9fd159531a00 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 class A {
 public:
   ~A();
index a9e2b2bb6e456a9b209590a64bb534665b2df78f..4809daba958266c556aa4417e99a7022c0156ac8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 int x(1);
 int (x2)(1);
index 4e4a48325c1c6d96443dd4b08c8fc84b89a9ead2..2602ae12f243b728328ab4160dc0945144a39386 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 void test() {
   int x;
index 42c5e0132a82e36132010519075c57fcb9699df2..53d0b9d0189ce345af1dd22f87351a3b25937425 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct A {};
 struct B : A {};
index 70478e0f32c4718e7fce1f9b46a2939ad4834bee..40816d8823e14de06e9ebe0f5a9d19af680cb85f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Test the use of elaborated-type-specifiers to inject the names of
 // structs (or classes or unions) into an outer scope as described in
index 8b54ea1c66f2813c3e529f5a821407827a6c83a7..c3dc7330fe765a224cf79fcba2a6a8880c64dfeb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown %s -fsyntax-only -verify 
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify 
 
 #define SA(n, p) int a##n[(p) ? 1 : -1]
 
index 3315de00ca83e36b1f62c3641087d67c08464915..f1bc2b2b60458c7930c283d25a744e27c519f3e4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 enum E {
   Val1,
index efc983322ae5db192dfcabd6c74444566cc6644a..c46da15bec07cec72ee4eda38ca72e70f6624dc5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -fms-extensions %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
 
 // Straight from the standard:
 // Plain function with spec
index 5882b9cb708339bb6f9ea8dcd5c531341d9fa8c1..924b48aad26fccab59eaadab7dc660104e37e39b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct A; // expected-note 4 {{forward declaration of 'struct A'}}
 
index 6a2f30d33e5eb350b43baaeaf7d5e4c20c9ae517..f3a05c1dbcedc3c5dd5d8643717549b67ae233db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 void choice(int);
 int choice(bool);
index ae85ff45353d7c99181a09ed2f490dba321cb4ec..b8ae625710dbbf43b6e13101652bb6f8552f7567 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR2942
 typedef void fn(int);
index a21ebe1130663a62bddc37208dae15be0028743b..92b7cf517effea230d59cb699edb6f535427a4f6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 // PR5521
 struct A { void a(const char*,...) __attribute((format(printf,2,3))); };
index 13330f815db76f497dca5ebff3b8b394873537fc..41e2da6a554d26c998de2467df8d3056defb38f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ast-print %s -o %t
+// RUN: %clang_cc1 -ast-print %s -o %t
 // RUN: not grep '^ *class B' %t
 
 // Tests that the tag decls in friend declarations aren't added to the
index d1c42eb9fbb53cc1632a3e103c5c25fde241c065..edb0dd53fe4e33b56b48111fce890135d17ebb1c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 friend class A; // expected-error {{'friend' used outside of class}}
 void f() { friend class A; } // expected-error {{'friend' used outside of class}}
index 4d8e57c1b9fe55bbedd10174f8f4ff56bcf0e7c2..00778816920e2cceb64023e7a1a2f7e194232a27 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 typedef const int cInt;
 
index 9f6783731d33ea2161cbcc2c53983825f983a31c..b15d866165850b3b4117ec360530356de35aee55 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 int foo(int);
 
 namespace N {
index f1d5aac7fc990492b1b899ec44907b23239201cc..be61f2ba5639525d0d411fb047c5d2dfe10756f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f() const; // expected-error {{type qualifier is not allowed on this function}}
 
index 142dba7b13f775ddb90e79a5fabc2d8571ae2702..63be77008cb44efbe3291b3263fb1edeb54e482a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -faccess-control %s
+// RUN: %clang_cc1 -fsyntax-only -verify -faccess-control %s
 
 // ------------ not interpreted as C-style cast ------------
 
index b7db907e2216d9369be730c6c775b2b1a8333a0e..8c70bc258701c298a5f038707b108746ebf6de8c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // C++-specific tests for integral constant expressions.
 
index 2d7c73d68a3f82e1c028b3ce1d2ea4b6ae25a2d8..ceefa5d1b78bcb35580b81c6c722318072179fb4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 struct A {
    A() : value(), cvalue() { } // expected-error {{cannot initialize the member to null in default constructor because reference member 'value' cannot be null-initialized}} \
index 6fa8dd3463d306538933f231722e395f5770a175..9711adf34304e3622ca4226f0f65a51fafedbcdf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 x; // expected-error{{C++ requires a type specifier for all declarations}}
 
index 186780833d39d29e690e11461dfd30b3aa881967..40a61e47fd3c3b16a3faf25534f3f84069cf10b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct A { }; // expected-note {{previous implicit declaration is here}}
 A::A() { } // expected-error {{definition of implicitly declared constructor}}
index 30fe2786ba4610f13a7dffa512536ac59331b30a..a6b1f8c537d2bc95925fc3b44f88a2cce42d2b4c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct A {
   virtual ~A();
 };
index 3ce898a76f2ccb87c1c8914e63efa91a717b02fe..5bdaf829e64ee1ae6fe833278e71240d674f4453 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct A; // expected-note 14 {{forward declaration of 'struct A'}}
 
 A f(); // expected-note {{note: 'f' declared here}}
index 069e30d0cdfaac758ebce6e91d3f3957faaa4928..aabed2bff9e7f1860f5e5878c70f4a8564aca23b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class A { };
 
 class B1 : A { };
index 7d0505a435eeff0cc0a225c49909f06d91ed1e32..e569300faf77124dc7ec35bcea74eb6b717b6266 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Check that we don't allow illegal uses of inline
 // (checking C++-only constructs here)
index 730beb32698be031a431bc576f4bc2fc7e7efba9..666595c84f071d5402b7a4c7f2b9c2b8828b8bad 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class X {};
 
index 034ad73b086ada1f555c5398dead0dac8a707735..bcd6da7f32f77a2c0bab66bc184e3a43d4887bb0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 // PR4809
 // This test is primarily checking that this doesn't crash, not the particular
 // diagnostics.
index df064bc6a0faf2ba28010d682f2a0c749a6209c9..7a4bebca864e57b53a47c606e1a497801887d53d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template<typename T>
 struct __is_pod {
index d19727ac0766c461ed4af1315feda028d3f62b82..57730a62aae33b39411908610554e554edf5792a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 extern "C" {
   extern "C" void f(int);
 }
index 0dca9c9a92b31c5695ef473752c514132328802e..142dd756e5a3a55eb99bff36b24a34ea336df22d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 static_assert(__is_literal(int), "fail");
 static_assert(__is_literal(void*), "fail");
index 9566df4a20ff9223a5a316104af5e9c96f4bb20e..0f0359667b3893d4f0b9d6b79f75cfc3b1367f49 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 // PR5543
 
 struct A { int x; union { int* y; float& z; }; }; struct B : A {int a;};
index 2fa7e0781c1e09359a0926e6e7c7d26abe1f1a12..7ed60f7a17b781dad0add1b547d5a8ead9a1a0d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef void (*thread_continue_t)();
 
 extern "C" {
index 9cd6855ccd55300016628b6db0c69a47ba58eaf7..13ff64d8cffc6c37431b1d16fb5f4f412604d8e8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class X{
 public:
index cb53ae15123dd37714fbb4266539f30eb7071e2e..42e7c799a83b2fa451c497798cb01840c2a0dfe8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // PR4103: Make sure we have a location for the error
 class A { float a(int *); int b(); };
 int A::b() { return a(a((int*)0)); } // expected-error {{incompatible type}}
index e95641b4bf9c760d00d60105935e5d329ecaf72d..ff14416089d5488173a076f607cc5a161d660a9d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct A { 
   int a;  // expected-note 4{{member found by ambiguous name lookup}}
   static int b;
index 4d0e00fd60107999d512c3566173ab09cb1c3745..5e3d0c0a1bc85f67a52d0ea164d760666d3b718e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class X {
 public:
index 952027d123951ce5c4210fdae5d2c9d9b910ddb4..3aa1eaf5f256a15b977614a8e90c4400758adc41 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang-cc -triple x86_64-unknown-unknown %s -fsyntax-only -verify
-// RUN: clang-cc -triple i686-unknown-unknown %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple i686-unknown-unknown %s -fsyntax-only -verify
 #include <stddef.h>
 
 struct A;
index d13b16e6d672723d868be6d714d41733cac89dcb..f51ebc51a1d3b82106273ba23f6cd498bd03eef0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct A {};
 enum B { Dummy };
index fea1d74b025551d454c641ec165d0531259dfc25..4b3b82c0297539bd71176607abc85109c411662b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -emit-llvm-only %s
+// RUN: %clang_cc1 -emit-llvm-only %s
 
 // Tests that Sema properly creates member-access expressions for
 // these instead of bare FieldDecls.
index 28ad9a04e79064c9709c02980a2c3a754a6d86dc..9ec17f7b99335e5b2f7d997193d78674c4118902 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 namespace A {
   namespace B {
     class C { };
index b84ea178e1e2252dc2ad9f22e66f6d5a846a8e49..bda56f5468d4aa1e860648a81a17a4acc5255bb0 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc %s -fsyntax-only -verify -fms-extensions
+// RUN: %clang_cc1 %s -fsyntax-only -verify -fms-extensions
 
 void f() throw(...) { }
index d5e423848cb52d266f81631f3fdc62bd1dec0e98..f9836064d131b16a25c7ac53fab5b07502b20904 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace N { };
 
index 5ed6ba50ce1bd28ff64fa70756bb62d2f7e18db0..ab690b7286ec8fb3d710acce4bbbbf17ac9b08bf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 namespace A { // expected-note 2 {{previous definition is here}}
   int A;
   void f() { A = 0; }
index 6a51261e26fcf9cabbf0f3c511804a1e9efa5af7..223e6ff6689c77f8d430ee89176f65e8cd1ce67a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++98 -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -std=c++98 -verify %s 
 namespace A {
   struct C {
     static int cx;
index 8a3ec8b16a2625f713a212b91678edb130aee04c..fcc939d4e843fa114d30269a1f1592321aaa1b35 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #include <stddef.h>
 
index bd11f92f7e6295692324efc49dc6a50d5a812601..18c603a06f1d885434fb4f07a823a268885b24b7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f() {
   void *p = malloc(sizeof(int) * 10); // expected-error{{no matching function for call to 'malloc'}}
index 6cc5a8168313a47cfc912c1910079275b6a8d2df..445f33cdcc6caab8bb588216c94e42e370d17472 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 #include <stdint.h>
 
 // Don't have decltype yet.
index bc7a707ee546b86a14b78139b118bda69b793fb6..f3dc52df49771494483705f871397d96d96f3d73 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -Winvalid-offsetof
+// RUN: %clang_cc1 -fsyntax-only -verify %s -Winvalid-offsetof
 
 struct NonPOD {
   virtual void f();
index 6436236b81e9873e167b6fd449ad385fc2f9145c..472fae26b81ff183dd29b60c5c9240d72b3fc7de 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -Wnon-pod-varargs
+// RUN: %clang_cc1 -fsyntax-only %s -Wnon-pod-varargs
 class X { };
 
 int& copycon(X x);
index 5d2718208f2bce06f7c664d01dcb76530f12c392..299c0a78f926797cb70250bbab6febc080adaf91 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 int* f(int) { return 0; }
 float* f(float) { return 0; }
 void f();
index 2bc832f558f7867bab97a95dcde179187972812a..c610ff7ab0645ea04cdd7f2922e7618c48bb1327 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 void f();
 void f(int);
 void f(int, float); 
index 937b65d633f9d8df9909b9249c5701488ce1050c..4bb3ff3a54cd6b4ad9a5a1c65fe2fe2330f983cd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct X {
   int& f(int) const; // expected-note 2 {{candidate function}}
index 1e94d5a30136508b8e5b3100ca19063a1c9acbaf..c1834a7225773fa0fd7093c62f12615678be4e6d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class C {
   C(void*);
index fd0cbc6c8643602e97dfd292d9380fbfb0b2d0d7..12903cc7facf411dacb6283b03618dcd990fdaec 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 struct yes;
 struct no;
 
index fc17faf6634f41fc673d1fcaf17a4705de1e82f5..c43d7c217cca5b6be9621b4e49826ea397b63309 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 struct X { 
   X();
   X(int); 
index 672b8b4fc2669e4faa58d6e2dbbe085f539cfd25..a20c69b8d5d1df2bcece06f79428b25d67b8fe23 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 class X { };
 
 X operator+(X, X);
index 829321fb0e91d10b65773bf2a2ea9d62377f012e..3c77dae70ff5dd4ae0a17dbdada0f6cf84fad446 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -verify
+// RUN: %clang_cc1 -fsyntax-only %s -verify
 // PR5679
 
 enum X { A = 3 };
index a7e18bd528a16ec860ae9d306a709c7dddfb561b..a6cbbad2427a203ac61ae39aa249cd1d70292ff8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class A { virtual void f(); };
 class B : virtual A { };
 
index 8f69def9fd4f1d752665532c34a4510b106b1798..15e37c5882020d431c366b3972a3ad33f79c2ce8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct A {};
 
 enum Foo { F };
index 42b8e3b6e0c93be0b9beed403c7ac15bf8b7573e..fb774d85e3e4882ed21e2155066d4886787bbdfd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 struct  S {
        int i;
index b3b65ce840cbf6c48c54f70159a6bb89d2eccbb2..4c7908e1137e4f8962c83264df47b9cf4a3573c3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 // 13.3.3.2 Ranking implicit conversion sequences
 // conversion of A::* to B::* is better than conversion of A::* to C::*,
index 02e69996c772664f0bae400037db7bd378a99614..856e42bd434b254ddaef48b51810c9a145c34b45 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 namespace A
 {
     namespace B
index 01e503ddac6c8a318aa472c098fd50dea16a099a..cb9bbbd986efdf3886f77726d8b811dfeddb1f88 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s 
 int* quals1(int const * p);
 int* quals2(int const * const * pp);
 int* quals3(int const * * const * ppp); // expected-note{{candidate function}}
index 5a11a0cd07b83349dee32551687c42573aadf0cc..a187d4908cd4d1c981b28da36c2dd1f7a7838895 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 namespace Ns {
   int f(); // expected-note{{previous declaration is here}}
 
index 3bffd7c05d3bcfac85a938fc64c4f42515c7838a..86c10888b8a22f9d4490f9a81ab902f77682847a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 namespace foo {
   namespace wibble {
     struct x { int y; };
index 1cb19f0312e4be1e72e1e4a383f86fa3d38417a5..2099268a1a927855d7e5cbfe1efaab4db24c79cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ast-print %s 2>&1 | grep "N::M::X<INT>::value"
+// RUN: %clang_cc1 -ast-print %s 2>&1 | grep "N::M::X<INT>::value"
 namespace N {
   namespace M {
     template<typename T>
index 60620993b43c1f6a27b9a94f2f56d81820735b40..c17d613cae985424143aef4e0541a1c4b88aa465 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 enum E2 { };
 
index 45d3923ff0ad5a0829ab7d7ed0af850cf2e13a92..630f53f2839ececc915e97b8afc942d96777a68e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 int g(int);
 
 void f() {
index bfe8887bd3d32f55be37dce57119f10ca157a93a..da675609d1238e43e9a7fd6e1850202a05e89a4a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #include <stdint.h>
 
index 16b8659711e2a2b03b6853b364919b95e2d6dc35..09d08f95ee2803bfd28934daa3d7e71ec10902f3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++98 -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 -pedantic %s
 
 void fnptrs()
 {
index 457de297b0082f698df971fcc12163b97a61de57..ba64765603607e1961c70b197be2a20c3951d725 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 int* ret_local() {
   int x = 1;
index 03b0ddb87965873ccc2404bb7368ffd0330938d8..e682fdfb500921dfec01f8356376f588e9038443 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 int test1() {
   throw;
index 7a71607707c88f6e06884b0df9956f7741a652c2..17e7584a6046b6d3e6975bec5bc09e91d966804f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 typedef int&& irr;
 typedef irr& ilr_c1; // Collapses to int&
index d6925fe032e912abc34e2f6f98980ef5d131741c..36982582fa12088695cd271e39f028b79a2a4ab4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -pedantic
+// RUN: %clang_cc1 %s -fsyntax-only -pedantic
 
 void foo() { 
   return foo();
index dac70cd2eabf71fed5a4450b5478c46b4ac7908f..8f575491b245eba56d2efe3c531babdb85ad92d0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 struct X0 {
   static int array[];
index caf76033af704fe80052e565acb570de63fed81f..62208cd2aeebedc1ba663437a18799e1be87eb14 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 int f();
 
index 83583a5adf8ee286ae5256bc4902eeb426310525..11bf22dfe89992858cc184ffa7ef71bdf2a91065 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T> struct S {
   S(int);
 };
index d3962727b806f83e38b8a7507ac52e1712d34981..cdaa843b81708efbab85cc13939e8c7381734452 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -faccess-control %s
+// RUN: %clang_cc1 -fsyntax-only -verify -faccess-control %s
 struct A {};
 struct B : public A {};             // Single public base.
 struct C1 : public virtual B {};    // Single virtual base.
index a651243df7ef7e3c028b034b12503bfac684f9aa..ca49fce052e367ec89aa8758f7631a1205d91b69 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 int f() {
   return 10;
 }
index 4b6cef6dd2bfade6d03ac94ae34447d3a4543660..d3d6d79ea82ea31af8e3bb0d569b9ab8a93270a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wmismatched-tags -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wmismatched-tags -verify %s
 class X; // expected-note 2{{here}}
 typedef struct X * X_t; // expected-warning{{previously declared}}
 
index c1f6bd9d19a8573ad58fe3209db81b73aa7d3894..adaeb85bce17c3a0b4e97fa5a781b6e3d3b8f373 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 // PR5518
 struct A { 
index 003d5b8b9c082710f1c5dfde29a7aafeb39ea79e..c256960af1da49a860bb67c567d9f819dd7d30d7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void test() {
   bool x = true;
index 0577d3c2b9bf1733f676c4afb84e25c91ee0264e..167755f0a74d0c9a26e2888d204ea4283e345b7f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 int x = this; // expected-error {{error: invalid use of 'this' outside of a nonstatic member function}}
 
 void f() {
index 8fc14d9c82cb9be2e6951bbd39471d490edbb04e..494d1ec0843f7117b50a84e9583df5fe9a506bf6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 struct T1 {
 };
 static_assert(__has_trivial_constructor(T1), "T1 has trivial constructor!");
index 9e7f3a16dd66c465be3e32ccae16e2fa688a3e0e..29358d8bd2280a35ef071228ba92c8d5e357af3d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 struct T1 {
 };
 static_assert(__has_trivial_destructor(T1), "T1 has trivial destructor!");
index 1840456bde8e6746aa7203b2205514bac6a254c6..d786a9a8a6fc50f1b68f3f676251f4c79b9c0c0d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 void f() {
   float v1 = float(1);
index 60c28b0f5e437c5586a4c54607f954b270a19929..a614e6c2812ec11b700924d930ab4db2ceb5088a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct S0;
 struct S1;
index dd31ef020c6ae8cededd52317f160cf48df3c895..ba11581fbb05d87b8811fdc18aaeb37cf1fcee0f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class X { 
 public:
   virtual int f();
index ac8ec452b93f85eea034b8ab386ee0d0b15f2667..0ef6917c5911cd2835448b0ba25bca31a5651237 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 struct S; // expected-note{{forward declaration of 'struct S'}}
 
index dfb4edce67c8e95c1e7ed50c4c501d29da274765..85bd59612688440ffecd12d5b59c9be93b20157d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 #define T(b) (b) ? 1 : -1
 #define F(b) (b) ? -1 : 1
 
@@ -257,4 +257,4 @@ template<typename> struct B : A { };
 void f() {
   int t01[T(!__has_trivial_destructor(A))];
   int t02[T(!__has_trivial_destructor(B<int>))];
-}
\ No newline at end of file
+}
index e38f47436d1c9dc22478f974f352361ad7f5900b..f9b438e88f3d33d48ad3cb54c9479bffb703cc49 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 typedef int INT;
 typedef INT REALLY_INT; // expected-note {{previous definition is here}}
 typedef REALLY_INT REALLY_REALLY_INT;
index f9ad7592187c0d8af21d8fc3ce0d0c69324c5cc1..43403105759896867e6b6bae21d4da205dc003a0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f()
 {
index 30b16006c685bbfc510dee81c581dc67d717e604..4aa9a1cfa939bb943aa6888611f5a26ad97cc025 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 bool f() {
   return __builtin_types_compatible_p(int, const int); // expected-error{{C++}}
index 0542129513384f27b675eab6f2508352de628780..084a81104d5501d52e05d5b6a25230a3a5b2e43b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR3990
 namespace N {
index c8b642e7ab53510732f94e9b3e0bf7c5db099398..9fc4aef44a0400201c040a7bb45d94a8df02f3c5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class BaseEx {};
 class Ex1: public BaseEx {};
index 55f959de0f027d426ff1e1095ac6f05e2c433f8e..6fd108186afaf7c7c5b07b3f6bc37cb3d79ce27e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // PR4103 : Make sure we don't get a bogus unused expression warning
 class APInt {
   char foo;
index 0a4bb773d396e2911a7ec3275c0989a7dcc8cbca..4367f4b8a3534e3fe549572d7cf6bbbabed94f89 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 struct X {
   operator bool();
 };
index 0235624a8ea5eeba1db1bee460ef4b87e724ce5c..fe4d167fe27d9a538c309674c8b8e8c93e38b830 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 extern "C" { void f(bool); }
 
index 6aa2b261e4db82062c756b98d847b705c4a74a99..39a446fed9acd4843ea5969e5b113641fb5b0763 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace A {
     struct B { };
index c3d5b8300624b42e8e58833d773f6d20e623a08c..4f929ad15f5f4aea17c4211d7fd4e75d247b2726 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace A {
   void g();
index a19223d479d008521391c2781076cd5787584e8a..8f2876ce4b32ac8823ccb11ac6de38ae26b6c901 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> struct A {
   void f() { }
index b7583f27cb64ed7074bcfb9a3b939a7d39c8d5cc..0d5c8400ab7eee7758578158074d9c48a92fdf40 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace A {
   short i; // expected-note 2{{candidate found by name lookup is 'A::i'}}
index c70f895d2bf94ab77a9f55a653cb844b3ff0a717..2017ffa67c906a208f0069849caa10dff84f4948 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -verify %s
+// RUN: %clang_cc1 -verify %s
 
 template <unsigned I>
 class C0 {
index 25d708494b1ac0cd66b85afd0ba2fe75d2f87428..d6a86c4c8cb5b88d049128b2bfd1454a3683d41b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 struct A { // expected-error {{implicit default constructor for 'struct A' must explicitly initialize the const member 'i'}}
      const int i;      // expected-note {{declared at}}
index 5ba032027742ba29a4b9a1fde7e602cc8324ebd5..3c8e41cb3e3596e1b4939030b64ad5138ecb0d69 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 // PR5462
 
 void f1(void);
index f913531a27d06328f37c2f1428fd41e8da46bf7c..5f95446d41f2510a3ef2e39ffecb52d0cce670e4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -fblocks %s -Wnon-pod-varargs
+// RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s -Wnon-pod-varargs
 
 extern char version[];
 
index 5b08043545fa64b43c57772e255cc4edf3569fd9..6ee619ef064788bd9d6917cbb31a6033acd26d98 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef int __v2si __attribute__((__vector_size__(8)));
 typedef short __v4hi __attribute__((__vector_size__(8)));
 typedef short __v8hi __attribute__((__vector_size__(16)));
index 4e7ff69b2edfc7ff78780e66de439eae4f2bfbcf..3d048595e94e0f2e446bb209231a190e1a0ee133 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct A {
   virtual ~A();
 };
index c18a77f036bb65b487eadd983475671838d65ad0..503245dcfd8c47699ef0c2cd22d285bf9a0985ae 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -faccess-control -verify %s
+// RUN: %clang_cc1 -fsyntax-only -faccess-control -verify %s
 namespace T1 {
 
 class A {
index c2ac77b30479b58e10830a73f1d2f2475e21dd60..792467e5f86bfa52f7b59b7dec1a0c9dc753584a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 class A {
   virtual void f();
index 3b9f3066a16be7bfea05703d00b98fa609746bff..1df906dd7ec6c4c5ee96b322dd68ab5ad7e7cf6e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wparentheses -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wparentheses -verify %s
 
 struct A {
   int foo();
index 1c06db91c3f75d6f873ae2bc20a6853c2fe5a173..84ea536b979e71dad528582015e67f46295878c2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Wchar-subscripts -fsyntax-only -verify %s
+// RUN: %clang_cc1 -Wchar-subscripts -fsyntax-only -verify %s
 
 template<typename T>
 void t1() {
index c46b30640fb2b9e4972749e5705f4cc82b4dce7a..1307c43bc20a8d618cfde3f2898f7ab713e9c867 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // rdar://6425550
 int bar();
 void do_something(int);
index 079a83725223f924c84f23af154f81c965d5bf8b..b6ebe820f39cd76c687109dbda5394241a052dfe 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -Wmissing-prototypes %s
+// RUN: %clang_cc1 -fsyntax-only -verify -Wmissing-prototypes %s
 
 void f() { } // expected-warning {{no previous prototype for function 'f'}}
 
index bfce588b570a80303a4d7760965a623dfd335df3..35b32b26a066907f2e8b2c42b58e471652052848 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc  -fsyntax-only -Wreorder -verify %s
+// RUN: %clang_cc1  -fsyntax-only -Wreorder -verify %s
 
 struct BB {};
 
index cb85bc3ae729a09f7f699a3d06ec29f6fff9cdde..7b3ba880ea301e8dbb4e0e9225e9f7904e161e89 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s 
 wchar_t x;
 
 void f(wchar_t p) {
index 46bcc5365fdd86573548a02fc8a09f4d79c89809..b3459c13e41337c2ade3429082368bf1ac68d5e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface MyObject {
     int _foo;
index e92a017f29304015c632b8bcebde5faad5a3ef09..98aa699a0fce429bb09d20a276e5026dda2006be 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Subclass
 {
index 1bd5c33f510617796616b4408ac2fb369ea890c6..331bb30dd53992bbdff085744bb695727b75e70e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s
+// RUN: %clang_cc1 -verify %s
 
 @protocol NSObject
 - (oneway void)release;
index e946c3eb1ecb6138b75db275f424023f2380a974..2cea115b429ed32d1312f74506cb489f7b379bbb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @compatibility_alias alias4 foo; // expected-warning {{cannot find interface declaration for 'foo'}}
 
index 976e2a3758c750ae36df388fd845c36ac29d89ca..1f12b76055e883c41f7aa9b8e46bb0bb06ffd55b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Note: GCC doesn't produce any of the following errors.
 @interface Super @end // expected-note {{previous definition is here}}
index c4ada44c5122a2fe8b59883293e9b92cc757e7ca..3806a4c9653089ea34ee774985cfd89e6a4845c8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 struct S { int a; };
 
index 03c9c76e3b2c1af0dd8bd943cdeeb443ec03add6..bfa21237505011ee4048c97dd2dbf276d8900e08 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-unknown-unknown %s -fsyntax-only
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -fsyntax-only
 
 @interface Test {
        double a;
index 42b173b7870413a26d1f5eba103462569d55ebb5..af790e3159ada6fa39db3739c9765259105b29ed 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 /*
   Conditions for warning:
index 821da000a3c1d6332ef2348ee6967042415fe598..8415c698f3485de4bd8c374b38c46e505d30e66e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 @class NSString;
 
index 675f969632803a55c6fd41131958e2e79ab8e7dc..a58068bf8324f0ec0339a1cfab04d0bce3673c29 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 @interface A {
   int X __attribute__((deprecated));
index 4d2093fa3d4f6f70a50a5a5664ceeb3f159fff0a..a504b333b51fa8b10d3840869e8d3ff0ca296b0f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify -fsyntax-only -fblocks %s
+// RUN: %clang_cc1 -verify -fsyntax-only -fblocks %s
 
 @interface TestAttrMallocOnMethods {}
 - (id) test1 __attribute((malloc)); //  expected-warning {{functions returning a pointer type}}
index 3e012c748230a78e93a01aec917ac90365dd25ba..b497271521e2addb5ab81b42e18afbae0a674cc9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 __attribute__((__objc_exception__))
 @interface NSException {
index 90ca4e3280c20af23079a2046f858ac29fbc913d..47da653afe6e00d832073803fbe491cc385d6fdb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 static id __attribute((objc_gc(weak))) a;
 static id __attribute((objc_gc(strong))) b;
 
index 52509753d8a2d2c4de2da7f2e5c4cb6c5c0c3110..094c12f7d81b9511d0a9fdab59ce00ccf004835b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface I
 - (id) retain;
index 885a94649393f573123c4e15e6dbf9e5df03195a..c89aed4bb60ddc4aaca117ecc8d6aa348e872e53 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -fobjc-gc-only %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify -fblocks -fobjc-gc-only %s
 
 @interface Thing  {}
 
index 6e9728613a8e13f73f1a67ee0bb6b6c455a376a1..22e5b6f751066fa0b50e39d8dde22c5ad3db3c53 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only %s -verify -fblocks
+// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
 // FIXME: should compile
 // Test for blocks with explicit return type specified.
 
index 5dbefdcbaad928f877ded1a05d10ab7fa016edce..c7ea1d96a05b00293641202a8b3bb197901ee3f3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s -fblocks
+// RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
 
 @interface NSObject {
   struct objc_object *isa;
index c16372bcc421e01de1dcb1bb32c7ddf368844dac..36292309732b7e9b562acb705174acbee1a0f972 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -fblocks %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s
 @protocol NSObject;
 
 void bar(id(^)(void));
index f3d0a9676039aa5963c4b49cc41a106ba6e2a201..9be853b81f8aefb5c03db132bb45c13ba92ce40a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #include <stddef.h>
 
index eb570c02edfc7118d49207f63cdc3bdcc875848a..80c986ff54478285c1b815f29f6fd163a3555da4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s
+// RUN: %clang_cc1 -verify %s
 
 @protocol P;
 
index 588261891131c6a71e6c930d2f5193c56f8206a4..17c6b4620274adc275c594fa0f717d5faf6954b9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface MyClass1 @end
 
index ea828d9a3bcb965a89243e7d10c76c26590d95e6..a31d824d1d4539dbd8fbf84e20aa0f5d72c46ae7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef struct objc_class *Class;
 @interface NSObject
index 9b880c4ac7071d4191f7364437dfe94c9cc742ee..27a10e556c28277d751d59de4cb40874225a125a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Foo
 @end
index edcd3be518a3a2a7b55c8d348de93d235695f4ff..1dd6446e84ca0d51e01578f187084f5ec7dfda3b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface SUPER
 - (int) meth;
index 434f8ddae51e6c546ae6218f85482f8111a6ce76..1f80293588a64699d34e9e12606b7308c44139e2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Foo // expected-note {{previous definition is here}}
 @end
index d6d9855b2952fed09e97a5b3fe170101f78ef331..d1525622429e43da3afb176b65aca05faa8b85f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify 
+// RUN: %clang_cc1 %s -fsyntax-only -verify 
 
 @interface X 
 {
index e2889c3f9d3b107f59f188ddd7dd24540fec4972..43ea6d34d1bbb21f9963511cf67987be91b5ba12 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol P1 @end
 @protocol P2 @end
index 550bafd60f71a97696695486bb4e01fe46628f13..fcf9146a110fad8ba35e02bebf5f4259d1bdb952 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @protocol NSWindowDelegate @end
 
index 0cf49ddd1b9aeac47483628a77e92343f03e5d67..95a259bd527bc22eea9b2313d6c7578560fd04a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol SUPER;
 
index 929ad0665a892c07388b25c3f697cb1e3a3539bb..452d242888af595bfe1b1b6c2b3a30f6aae8f2cd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Foo
 - (int)  garf; // expected-note {{ previous declaration is here}}
index 049c6ce62737d9312a074301d4517e8ca45e8d43..6454bc013c1a2b7bfa3770a6ed52908bbbbeed8e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef struct objc_class *Class;
 
index 80d6915d7557007e9aae75eb6a3cfb89198e5fa4..90a4112c712241579b4412f91bde216165304d20 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef int INTF3; // expected-note {{previous definition is here}}
 
index ef9df5a1461b1b5cdcde22d5eaa3906e665db945..f1269f2f4610e6993b4575f79775a2e035ee2121 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface MyBase 
 - (void) rootInstanceMethod;
index ea4de84dae9198d1c5ba6b101a7a490e5b2b3852..71509baf9012e253ed0f9fb0640c7dbe32695b43 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s 
+// RUN: %clang_cc1 -verify %s 
 
 typedef struct objc_class *Class;
 @interface XX
index ce34a233f7b4f050778d7cfb166d344a6f5ddbed..c46d3fb397cea4147923768ecfe4a44043a83e37 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Test {}
 + (Test*)one;
index 5e9ee6063e74e946c8c42019bfc1840844df2ecd..246b5002f67f4a0214c8231cc4518b2293ed9335 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface INTF1 @end
 
index c2eded75f97a791a4c2902da0ee0e44553c0cbb0..91cd1389f1e656b7653f03479019cf1634affe44 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 // pr5552
 
 @interface Protocol 
index a0715453dffff9fc238a9b810f6e1ecf86a3e3ea..7e99252c035101e84e96c92ce92d791b44be5275 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -mcpu pentium4 %s -print-stats
+// RUN: %clang_cc1 -mcpu pentium4 %s -print-stats
 #ifdef __APPLE__
 #include <Cocoa/Cocoa.h>
 #endif
index c9776d0f41c39b3c8694ba6be87a7e5160647569..497a1b6afdca840c64be1893f438d28758e2fab7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index 54d6a04085d9ae7f7ff8c7e398173007fcdd219f..0df905c9ca15028f5d45315e90f5355b1c81a0a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -pedantic -fsyntax-only -verify %s
+// RUN: %clang_cc1 -pedantic -fsyntax-only -verify %s
 typedef signed char BOOL;
 
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
index bffbd763ad98574a854a373bb4ef7b2e4a088137..24f704113d7c8ac4892c0b5e93c56f16af18c9d7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 #define nil (void *)0;
 #define Nil (void *)0;
index a53b942930e5ad6abe166746c82281ac96c982ca..74e42c96137df2ee6e6429383f51684d398b695f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #define nil (void *)0;
 #define Nil (void *)0;
index 2d1b6236e3d7386cfd1a7364cdbcf3d56b463bf0..94171d11d568ed8d9cbe70e2901112410f3a1fdf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #define nil (void *)0;
 
index 794ede25962f4d5692d9d03aec91e5b5bb48ab35..56b23b22458fe2f8bec353ccd197e3d415a242ba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 extern void foo();
 
index 4b8f48968514182cca77061095414a6a8c88213d..aaf64462b186717e827cf3bac0cf5cd7ee3ba232 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 #define nil (void *)0;
 
index ad3da26185a75222eb3605d817fa035155936a6f..2911a390ef84668e79a6877cf2afbd4fc1ef71f4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 @interface Derived
 @end
index ea1aa06292de5da5657e2e51e610656f80d3b470..fedad1bd81f9bf84a9937745e17ad8873be3925e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 #define nil (void *)0;
 #define Nil (void *)0;
index b19bc302b223f8a8283289c26c0c683a74f50ca5..750b0a6a5a97dd6d8e3063bc7a20e72e307f18e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol MyProtocol
 @end
index 89647b5b98260885f38aa39c771bd3d96062426e..cc6932dcdbf394743e450ab0d6308bdf6ba340ea 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 // FIXME: This test case tests the patch applied in: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080602/006017.html
 //   Eventually that logic should be treated as an extension.
 
index 4c7967d89c0a2eebf941fee3d518423edec7737f..d48dfe4074fc7d3e02251845cf06e6adf5605edd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 typedef signed char BOOL;
 typedef int NSInteger;
 
index 6a837b6aa8fa9f87b97f65ed77d696922febc387..8caf18563b077eb97d690ef540efccd136ec5463 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 
 @protocol NSObject
 @end
index 9835f3ea31c2d495ea86cbbaeb422e23ef6b4405..e97b693dfc578ca01c851216357ddd39205241f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface A
 @end
index b7dae6bc48e7c2dee8bdd0c9b0598e45697dfdb5..312f77a15ff41e695828b8f1189827fae2ccb889 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol P0
 @end
index 19215e3c36cc67eff8631ec659457a008ad758d3..84652e4513df7148c94c2e82020a340d69f385ba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // <rdar://problem/6212771>
 
 #define nil ((void*) 0)
index 74f866be0034e5de2cece7095a8b4f84740852fa..63afca18fdd6fffd7fb972ff34ed548b5b971a05 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface PBXBuildSettingsDictionary
 {
index dcd2f958f23a23ec58d52e4762213ace057b7cda..098688a8a90a3414c4a544e76160926ead67a006 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol MyProtocol @end
 
index 8fdb2810eddf8902f0674cadca12ac41bd7f2c29..914e3cabbf01f1afa5ac4103384fe232e9ec00c8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
 @protocol NSObject
 @end
 
index acba8e431ab872c29c957cb8b43bba57c640758d..1c68a23d7e28e9da478d7d6abea290e46c55d3b8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface INTF 
 {
index c251d460cdf23b5a0ef9d801696870e5572ab65a..214c4e5b30b5e323f89886acf53802873eb8d2c5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface ReadOnly 
 {
index 477c9a12c142fc92ca201aaa4cd2be6c937fc006..d0a5ae40c7f5c9f43a8ea98c2730989b20a7fae5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
   - (NSDictionary*) _executeScript:(NSString *)source { // expected-error 2 {{expected a type}} \
                                                        // expected-error {{missing context for method declaration}} 
index 2308677ab825b7fa63ee57d4412f97414f4729a8..c7096bd59a041c7e9c90d9922130a8ffcaef7002 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi -verify -fsyntax-only %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -verify -fsyntax-only %s
 
 @interface NSView 
   - (id)initWithView:(id)realView;
index b4a9df282d44d07a8916837bff04b1bc679f3f62..260c215c2154a4f9c82ba491c69ab2601a360f19 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface B1 {
 @public
index a83ef23afd5addeb94c42f2e61156bb28f05bd40..da7875cfa7c72fbf759be8bc304cb9f538734c9e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s
+// RUN: %clang_cc1 -verify %s
 
 @protocol MyProto1 
 @optional
index da742e7f7331229f898fff4ba6d2d5f66fb69ec6..a36170475bc2268df9d8c12ed87490ef7dba0fba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
 
 @interface INTF
 {
index 52bd6187708009c4c1d02e3c907831df5018efea..f4424f57a91dbedcb67f6d495733025e82cb6475 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 // rdar://6597252
 Class test1(Class X) {
index 315202f5eba677e7c05f66ea81061902ee646a86..0f7fd9eea9922c4e94adebbb27f389a1f5df7eb7 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -cc1 -Wall -fsyntax-only -verify -std=c89 -pedantic %s
+/* RUN: %clang_cc1 -Wall -fsyntax-only -verify -std=c89 -pedantic %s
  */
 
 @class NSArray;
index 7de9e9f139c20181a7e29a41bf980b300cab0c05..264e7a8179dab1f782e823881f426ef468170704 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only %s
 
 @class NSString;
 
index b0d5b513dc7a9168f03338ec5a73e5004cfdc43f..e7550a758bdfaf738854bbedba1b841fc7224e88 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index e3d2c157d6adebcfcfb03cecee6280a63da409af..ab213fb4ce723c6a8060dc5966b47bc31fbf3c9e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @class FOO, BAR;
 @class FOO, BAR;
index 7f8aec9a39e2bad725cff6620eab4831886a765d..55b29c15c5c31df5b558340cd5de1537e0cd978f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface I
 + new; // expected-note {{method 'new' is used for the forward class}}
index 6b4cbafcf817166057e346f6661b0f9d670ffc7a..28abfbc8b2abd7b65d7f93798f842e75740ef162 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -verify -fms-extensions
+// RUN: %clang_cc1 %s -verify -fms-extensions
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
 typedef struct _NSRange { } NSRange;
 
index c80f0809c53fca9fc8e069dc206fe4620673861b..a75f2f336751283e945b7b455efd3c2fc7f3b968 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef struct objc_object {
   struct objc_class *isa;
index aa99cfa6471eef5291b773c699fc7871b52a9ae6..98904fe1ee9cc8a0da83cfc1f0a0977aec93109f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol Foo;
 
index 1ec049b9ff79af8a95fc75b8b96a2d0c872ef77a..a1431d60abe39ebd7984e80be16dfaaf49e641c3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 // id is now builtin. There should be no errors. 
 id obj; 
index ec1d3638410e744c2a0e6301303670a9d77c7437..011efbc437bf0a1a7bdcd1113dedb5ce015a40ae 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Don't warn about some common ObjC idioms unless we have -Wparentheses on.
 // <rdar://problem/7382435>
index f745e443cf1e3ad31f757890ee97d3bf3903b252..f80312ac06f35ad5f74d25c69a7dc9ec13ba1c37 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface foo 
 + (void) cx __attribute__((weak_import));
index 624377fbf968036ebb35bf9315e8e694c625fbe0..7eb540ad556ea4a978317f87c9948cc21ce22265 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -pedantic -fsyntax-only -verify %s
+// RUN: %clang_cc1 -pedantic -fsyntax-only -verify %s
 
 @protocol MyProto1 
 @end
index 8980d3709e470141695daa516f03967f93b5f207..babd2a0e8da169b2b96ffb0681855decdec55092 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @protocol P
 - (id) inst_in_proto;
index 9898936848742b3d0e9bc5b089aa6de56ac0f391..91586c9bb34a773a25a37b1014bf17a6334c2343 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -fsyntax-only -verify
 // rdar://5957506
 
 @interface NSWhatever :
index cad71428da4572e00ae1c0a2b595836f7f1a1fad..02b14035a223bd8fbef128a93a33ca5127c9c9cb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 @interface A
 {
   int ivar;
index b2c6f0d95fc25cb7b884544cf9dfd60386d7c4de..72a7155644a0bc83b31a431fb48ef9de9782bd4c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify  -triple i386-apple-darwin9
+// RUN: %clang_cc1 %s -fsyntax-only -verify  -triple i386-apple-darwin9
 typedef struct objc_object {} *id;
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index bdf28f46360fe4b286e88b030620c86eb42dcbe8..d8046c9c2fa7887d77438068a4a90ec4c08f4ace 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -triple i686-apple-darwin9  %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple i686-apple-darwin9  %s
 // FIXME: must also compile as Objective-C++ 
 
 // <rdar://problem/6487662>
index bc80722febfb969afe238c898a128e92ce58ab14..0671dae61e821f9ece5942e9619725cb97af2dba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface I1 {
 @private
index b451d3634929ea79e94311a2c7c57e8d1c47ad70..b8779cc3e07843cb871a70dc014ca3ef6479256d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface XX
 int x;  // expected-error {{cannot declare variable inside @interface or @protocol}}
index d0679a3f98c5ba99ab01b2c70460750decd6dcbf..9913a3a237c2cf843231762abd7234134be21268 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 // rdar://6124613
 void test1() {
index b58fa68337be747f047cdf848f23d1e84a20dc07..2f3be285df3fa36bc3fa228a6b345ea0ca758664 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Super @end
 Super s1; // expected-error{{interface type cannot be statically allocated}}
index 366f7140085689185da76ef080385f9d623b6ef4..16f0155173d06ab83ea9f7d3be5a666f32fe9a4d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef struct NotAClass {
   int a, b;
index ecc03ba9813a67609ab0f35f63838b892482a83e..50dd188738222df977f708d5ff17a938301293b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @class NSString, NSArray;
 
index 077b0cf57c68b346823239b39fb7058cef240af2..956ae5bdb6cc701f627ac78916942dd658a091ae 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef unsigned char BOOL;
 
index 1dc33db5b1e815db94acf14f664a4ac0e05554fa..85612209003f0dcadd7259c63c4956b7b9641162 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface MySuperClass
 {
index 63bf040d636fddb6b27cc71640b6819908b0e5d3..644b3b638c92b88c41c890587615bc33eca945a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 @interface Test {
    int x;
index 04047533af43f74a4273209217d73e698d4fc4c9..ba2f11594f96c918ce6342bd9a21354f5a565556 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Sprite {
   int sprite, spree;
index 318f510672ce57587f6e81cd42b329f266e98c5c..099a7a669a91f05d1f4262c545b6dbeb26f0e6cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct S; // expected-note{{forward declaration of 'struct S'}}
 typedef int FOO();
index 242504f0a177196772172da7cfabd38d3c017539..28c795ee7fe1cb369f4b56c62fa1eee16d816065 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -fobjc-nonfragile-abi -verify %s
+// RUN: %clang_cc1  -fsyntax-only -fobjc-nonfragile-abi -verify %s
 
 @interface Super  {
   id value2; // expected-note {{previously declared 'value2' here}}
index e480561693a41818ebae1cba9b70667d987cda8a..e9abb87f041edb178c6e147adc733c27b29ce5bd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @implementation INTF // expected-warning {{cannot find interface declaration for 'INTF'}}
 @end
index 244f5d7b74e6db683105d64a0883e38cdbdcbf81..57b109796257cfc412c36036732a0d95b6d37ad9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef struct objc_object {
   Class isa;
index 09949de3293d2234bfcf803a41ee91ac31430121..82bdc6d9fb7bb5ad8eead3f0203f6ed52660e3b6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -checker-cfref -verify %s
+// RUN: %clang_cc1 -checker-cfref -verify %s
 typedef signed char BOOL;
 typedef int NSInteger;
 typedef unsigned int NSUInteger;
index 2d9499f2fdbe70c05167b1b3d08afcc6d9b082d6..397f24135f585467b056ef05bb699d24c9dda1d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 
index d5f92edee40cc2c03813d1ff614297779ae40f54..9157fcfefe114700de252380f7ff10bdf3424fa1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify -fsyntax-only %s
+// RUN: %clang_cc1 -verify -fsyntax-only %s
 
 @class NSString;
 
index 8ef7be9d403bc6c5d17e2aaf63673c2eea2d3122..c1509bf9f6f21884190363b19ffd3ee199700769 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface foo
 @end
index 0f7fd61fe164fb614c8ed331fb60289b6e1663e9..08fdfc017ccc772372fc453f8b33fa578cb27237 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index f98ba896db40f9ebcc77c4f9fe552a1c9e70bc7e..7630ad0fbd2b7d9d2fdccd3041177a34c86a8466 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface foo
 - (int)meth;
index e595589695ea284b483041acaa4be52889d0665b..915f23164d611f346850b698a4bab0c597952f8e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -ast-print %s
+// RUN: %clang_cc1 -ast-print %s
 extern void abort(void);
 #define CHECK_IF(expr) if(!(expr)) abort()
 
index 50d2d9250dd4a4a6fbd07ba28fa10f8198f139b0..619a88625a6c85ff582b5b63987072bea00a1d19 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s
+// RUN: %clang_cc1 %s
 // TODO: We don't support rewrite of method definitions
 
 @interface Intf 
index 5493653f3ecafc0644771b76fb76c75d98b1ab77..53cae83712526dca1d952fc6f74693feb5c02827 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef signed char BOOL;
 
 @protocol NSObject
index 9e7c4c93abeb361b6555bbac9200c3b4b36a1496..18a9982840bd0fe992d9a565d9042ed335987dea 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef struct { int y; } Abstract;
 
index 20b4e60b018f0a0f78b428ce48a7eb3cca0467fc..700565e783293fe712f3eb567dbccc07f54d6037 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface NSObject {}
 
index b9607eb690c3346022c36b0c4085a0bf943b87c4..e3789584bf59e26ee1d31f553ba4b2556fa85ac6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef int NSInteger;
 
index 63caa7e399ccbb28190cbf0f5953c56802f29322..c88205dfd28fd28ae353fe34bbbc883bf9978ada 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 - im0 { int a; return 0; // expected-error{{missing context for method declaration}}
 // expected-error{{expected '}'}}
index 37171af2e8893b8fc9be675bb9d13fa808ffb859..78bf65027284b176b343603e2d1b0d252f7a42d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Foo
 @end
index 080d6649cc04e2695966528c64c490492d0cd45b..08358cc9154ad3b0804efe9965052af9393e785c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 #define NULL (void*)0
 
index bd62ded3c413ce650a315453175dab0626f99b9e..6c382d8cd956cbd26c7f574cba16a418d14db700 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface A
 - (void) setMoo: (int) x;      //  expected-note {{previous definition is here}}
index 642893da804d2db3c98ed9878dbf89a8a1182bbb..84efa0b2209117f6003f9af078e08474fc23f8b0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol P
 - (void) doSomethingInProtocol: (float) x; // expected-note {{previous definition is here}}
index 8f5d1ace4c881bd011f8e2bd000aeaa02ff2613a..75ca5b5ff9fb8695f198778c3878edef76d69f53 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface MyClass1 
 @end
index c1efe5a44fdc0ceb77cbb59ca8081352d870b27c..fc27870f42dd7618845ae38dd1cc800c0fd0bea2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface MyClass
 @end
index bbf993f136651378378bd862714d58bb4fac6823..cfe1d56ee5c86e29f70b2e91a03132af01c755a5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface INTF
 - (void) meth;
index 506cccf512a918f3e190e37e3b2b18c9d3400d8c..1378b3694012c733394c312da6b7e6494e1f1fa2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 - (void)compilerTestAgainst;  // expected-error {{missing context for method declaration}}
 
 void xx();  // expected-error {{expected method body}}
index 972f0909693dae59f7699cf23dba4b8b1be036ac..7048fb6aaeedba809cb2322bcbf7f4f03bf4d9cd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 @interface Subclass
 + (int)magicNumber;
index 498278ec91d736ac1d7d05f741d2d3675879ea03..ca8318d00fc219cf6a710f5792871cef8fb8f40a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 @interface Subtask
 {
index 73b56711e388f70d9c012e36c8862b2bbc155881..1b5f184ae063c14c69e1d440048add34cc75e257 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 // radar 7211563
 
 @interface X
index 8c8f33b560580d74246246abe3c27a5754eafebc..fed6b27652ea6adcca7efa2ade007daee30baa33 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @protocol CYCdef
 - (int)name;
index 4345914092af0f0a3ddfcb3bc6207235a4f988ab..dd6e3ad4aa32d3b9dfd9f806e286291e2601b22f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -verify %s
 // 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 e657707790d55bacf92f1b6cd775048cda707ec0..c96a91a7f815fc6b380ef0057d765fbff1b20c9e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fblocks -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fblocks -fsyntax-only -verify %s
 
 @class NSObject;
 
index 6eb5d63db2d178a256b976fe6a3b88c1baa649c9..991246c72fd46dcb3616deb7e475908d057aca43 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fblocks -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fblocks -fsyntax-only -verify %s
 
 @interface NSObject
 - (id)self;
index 896c44a3dc745360712f9b1c5e063ec860dfa5b8..fdf9e358ee8e01c3d57a5180077271848827ac01 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef struct CGColor * __attribute__ ((NSObject)) CGColorRef;
 static int count;
index 46d1242cc5e5dfc7285bb57cf391a4e14620b952..cc6d60c82ae6c2eb1268ff10348382fb35a9f633 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -Wsemicolon-before-method-body %s -verify -fsyntax-only
+// RUN: %clang_cc1 -Wsemicolon-before-method-body %s -verify -fsyntax-only
 
 #define nil 0       /* id of Nil instance */
 
index c15e10781a3d45c490bbea43eb9eeba1379ced50..673a7417e384c363efe1f06c9487b4f37b983543 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-gc -fsyntax-only -verify %s
 @interface INTF @end
 
 extern INTF* p2;
index bd59c6613304a47ea873f382a8b472b780ae3979..76b542de94a63e5d46d2cc1ddc0fc5de70799575 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
 struct S {
        __weak id  p;  // expected-warning {{__weak attribute cannot be specified on a field declaration}}
 };
index cf615bcde7cd8ee8ba9dbe1b02f2c907699625a1..bd07df685db1bd21005df078a9024bbc0e3f7cda 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -Wreadonly-setter-attrs -verify %s  -fblocks
+// RUN: %clang_cc1 -fsyntax-only -Wreadonly-setter-attrs -verify %s  -fblocks
 
 // Check property attribute consistency.
 
index c9b35402ae77a93605ecdcdbc4c64a271451d6fa..297611574eae7aba18d9d646278a8083d26398c9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface NSSound
 @end
index f022dcda43891454dace282288e630a149287741..cd0fccf0e3834f2b0f01273dda82148cfe7905bb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -Wreadonly-setter-attrs -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wreadonly-setter-attrs -verify %s
 
 @protocol P0
 @property(readonly,assign) id X; // expected-warning {{property attributes 'readonly' and 'assign' are mutually exclusive}}
index 23e3714accf9621f77d25fe3d2e124fd208a6df9..dde7af014623a944ff7bbb9822c4c64e4592f227 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface NSObject 
 + alloc;
index 01fcdb9fa881346d9a48f23be730d42cba0cd7b2..069b0cbc7132acd7bda78b939dab168aef399d37 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Tester 
 @property char PropertyAtomic_char;
index c79efc823a138757ff806cc087b5dddeade6d8d6..439dc28be9f204431e94aa04210a7945bf0ffa34 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s
+// RUN: %clang_cc1 -verify %s
 
 @interface I 
 {
index b70514f1ae630dfeae6f11c07b32368f7a1cf46c..2168048800ac3ff5eefe0d476c2603391422330e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s
+// RUN: %clang_cc1 -verify %s
 
 @interface Object 
 @end
index 40b9e67f6311c7cbbecb7e7f3a03e802d22af857..cd7cc2487acc50999eb9ae25cf498acac63d84c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s
+// RUN: %clang_cc1 -verify %s
 
 @protocol P1 @end
 @protocol P2 @end
index 0253fe889b1a239924e8e5907c13f2b10b7e7a01..72beb67b43e457c2c0ab7c7c9e51978b38306b59 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 # 1 "<command line>"
 # 1 "/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h" 1 3
 typedef signed char BOOL;
index 63eb3cf2cb80c2e895f582233c9e7fb342a862fd..e6cba50f7a61b9caaaa264cfd75f129497539187 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef struct _NSZone NSZone;
 
index 82d8c6b00208d2f77b496a90c60cbc6332af55f2..8647aba8c3e7c733664dce8612eb32148fd9e104 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
 typedef struct _NSZone NSZone;
index c7b149717ec5f4d03d0c2869c33363fb13acf7b4..84eb3635e2ac4ae19e91d50d3cd5d23652666ab9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 // rdar://5967199
 
 typedef signed char BOOL;
index a3faa4822f315323c1d11a7962ea72ef607f64c5..138f09953d5a82de8509f328413b3a7d81c4a96e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 @protocol NSObject  - (BOOL)isEqual:(id)object; @end
index d6b580080d483fbbd6529e3d5836fe83df3272df..26e73136d01f96f3cab634ae689c217c04df4382 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Object
 + (id)new;
index 6a3883a35b7707fb9ec7c73412cc3157785368db..f258b2c250127ed63ee478cbc2815249e99ad205 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // Test that a property can be synthesize in a category
 // implementation with no error.
 
index de0f302bc5d7547ee13b850c08307c30f0400653..237de0f1f5fb5cd0297687a6f7b0067b737b7602 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol P
   @property(readonly) int X;
index c807f394544ba605540ad0aad0335581d36f9878..aa49a3f0b5eda3796fe2f18ff06f6c06a3bb87fc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface IDELogNavigator
 {
index 482ae2cb818931b4b21fc69f29c145f56bd3ddc8..fc8c48c4f6cf2fde44c6899249439788ff7dd9b9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface A
  -(int) x;
index f03244dc79fb3cf7e3ef27500bae34719ea6bd1d..b59c1b154b9d7efd29a8251f41dd1c7e33d60479 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface AddressMyProperties 
 {
index 5bbc3f19c090e8529e15c1ec391d74cd35991f50..58c91c59d05e90c8293a63c364146027b8998e16 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface I {
   int Y;
index 67897526224d031e2e695cb4bfee9b9748e66435..5c5631e6fb89cf5da2f4c812cfadaeff0f430f23 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify 
+// RUN: %clang_cc1 %s -fsyntax-only -verify 
 
 // <rdar://problem/6497242> Inherited overridden protocol declared objects don't work
 
index d4f6e1a4f4e11abec64f8c983c22c3fbd269e80c..ea3acfc3fcf94af614ffdcddace6c151c65276cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // Test that arithmatic types on property and its ivar have exact match.
 
 @interface Test4 
index f85babafbdbde542e23df196cd0fa554cbbb06e5..0a018b0dffd849a0c689c7227b1695834f52b17f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface SSyncCEList
 {
index a74cf6236dbe87bba4f12745a7723e1144898ea6..6ce0beac51c122b78928b28b496ad9267eb8dea5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR3234
 
index ede9515123c1a2c8a90315ce4b025bc4cf843d80..ae82cb7d929520f72ba8cbcef7eeaff93288a079 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -fobjc-nonfragile-abi -verify %s
+// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi -verify %s
 
 typedef signed char BOOL;
 
index 20234a0b2ab3513c727fb8c262940030f7e3babb..71bb86a301effd46bbbef1eefb108ae271415e3b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 
 @interface Object
index 84fc8fa3be4fb110cdb33d86755ce94a31d46337..2a24e7e82446d5e878e3f4577a37ea842d685205 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -Werror -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Werror -verify %s
 
 @interface MyClass {
     const char *_myName;
index c9562787983a82b26ab009e7137f8f65a1b41abb..fc53b590b8b27bed21f7220c2badee4697f44034 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface A
 -(float) x;    // expected-note {{declared at}}
index 94458dca6ee0dd971ed5bb65f9cb960c30e7fb70..96f75164cd47ffdb079f0259034e650c97f9363c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface I0 
 @property(readonly) int x;
index 2e4e1f0044fd0ec23f09ec4721a66beb21436f9f..a4397a684fc0d12630df8e4862eb0c4a5347761c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 @interface foo
 @property(nonatomic) int foo __attribute__((weak_import));
index b2f594fe320175ff85da50d32fd8e140752e22fc..a7f3c2012f7ac8d2f69a1a4eb7932d36ce894dce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 @interface I 
 {
index dd92bfac49c1a325cd945a0b0692e2c3da8a340f..c01e8338628e24f7708ac1a711102e72a1532ed3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef signed char BOOL;
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
 
index c24e9fb5ed1681a8b3420126cbff565f3887b9de..108a72988e21fd597b976a071d27cf247a7aa58e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // rdar://5986251
 
 @protocol SomeProtocol
index 1bce37e49d84d00957a7ff8f38ce59dd7efcde09..e04a39bda6ca140f9f91631d18829bceb5771588 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 __attribute ((unavailable))
 @protocol FwProto; // expected-note{{marked unavailable}}
index 22c0ed0ba4c3fa0c3924b12a107cfc6223366339..fe01d1d47a8d98c5242b30e92dbbc44d5624af51 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol fproto;
 
index 2928a46bc07ae3e13e9bbd2fc21065a5479b48d2..58ac8c0ca322345564216aae3c84d3dd45789a4f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @class Protocol;
 
index 79220ea1a459092bebabb370f953059cf18db405..6b2b682a135d4e5552e8633db5292e19a31b5e2f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s
+// RUN: %clang_cc1 -verify %s
 
 @interface FF
 - (void) Meth;
index b8f94a6d7579827168233454ed4b8e74461baa2c..a9365e9cb9327a8b71eb036b4e1a2aba523438e1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s
+// RUN: %clang_cc1 -verify %s
 
 @protocol P
 @end
index 54c55cd4845ebd31a37958364f49730ad65acd1b..3538b0e05e3731bca595b49793011822872e1e9c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -pedantic -fsyntax-only -verify %s
+// RUN: %clang_cc1 -pedantic -fsyntax-only -verify %s
 
 @protocol MyProto1 
 @end
index 4fc60fe5c98f4db8736218d17c15621dad5a1a0a..c333bb5042d29c6d8cce909d362a6494e192fcc4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol P0
 -bar;
index 744fbee9828d0d08aa247f07f7aad2710effd98f..bf0752312e44886ade40be8e0cc89caccb2af2f6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 @interface NSObject @end
 
 @protocol ProtocolA
index b2b354b7782d9dba687274f0add09554353ba5fc..ed3fbe0f72bfc301b51fab7337c269ac99aa6e78 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 @protocol NSObject
 - retain;
 - release;
index e4e12d6a39d40a7e235c7fe8192f7a3281d88422..4bf6b289e7b7b12515b54f869740ec9d9c7c80e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #include <stddef.h>
 
index e91cdfefb728450b1fc44bab948cabef4db0da0e..d9cde87d4c2c355043b61c125a5ec872149a79a4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface NSObject @end
 @protocol XCElementP @end
index 579feee7b9c2245c4ed7b409b6a3af480db00945..8447fe2aad2f9340a3a9c0b319ab055cd5c07943 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface INTF1
 @required  // expected-error {{directive may only be specified in protocols only}}
index a5d177335ceeb23a66c81394b66b2519a5830dc4..39c056c5ba617fcf66be29fffedf702430ad839e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // <rdar://problem/6211479>
 
 typedef int T[2];
index 9bd5612aba335a60c395b7f09d701f2dfdfece12..b24fcb0185e4ba8eedc43af84cc0a05dfa62721d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -std=gnu99 -fsyntax-only -verify %s
+// RUN: %clang_cc1  -std=gnu99 -fsyntax-only -verify %s
 
 void f0(restrict id a0) {}
 
index 743f0f9fca30d57135576e664e0d4fca012bede7..c578bf3b6569f3ec4c7e47a62324e250e00dce85 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only -verify -Wmissing-noreturn
+// RUN: %clang_cc1 %s -fsyntax-only -verify -Wmissing-noreturn
 
 int test1() {
   id a;
index 618bcd7bf1e308b9d11ae9a03466af3c45b9ed43..bba321e65766a7e2cad56eb22e347005a9129b17 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @class A, B, C;
 
index 7df2bdaeb7015b13f32d37022f8795676c4b45e0..9a7375b8d288dfba85fd5df4623e59943acc5423 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -verify %s 
+// RUN: %clang_cc1 -verify %s 
 
 @interface Lancelot @end
 @implementation Lancelot
index 0df5df0bcc10706074f6d1452bd819e7538dc39c..dfd6bd053d192b1d6479cf791acca1d256e67007 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface Foo
 - (char*) foo;
index 65c907eacded04e38ba23ca64fd177420a51e753..53ba6f7e7e32e09c09cb10e2f6ba27051ad371ad 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -fsyntax-only
+// RUN: %clang_cc1 %s -fsyntax-only
 
 @interface NSObject
 + alloc;
index cb4195bbd99b06ce90cc17f3f066367c167d697f..9d85f1f53fccda04407c878fcd491f8e96136ba5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fobjc-nonfragile-abi -verify -fsyntax-only %s
+// RUN: %clang_cc1 -fobjc-nonfragile-abi -verify -fsyntax-only %s
 
 @class I0;
 
index 5c977580e702fd7cb32e645584b295cba75c9e30..cd5e05558c35bacff61ca4aa77d1787bc376d13d 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 -triple i386-unknown-unknown -ast-print %s
-// RUN: clang -cc1 -triple x86_64-apple-darwin10  -ast-print %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -ast-print %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -ast-print %s
 
 @interface current 
 {
index 1402b288b3e8fcb6c65cb68921a3db4f3c9b0ed0..20a9f55b2095a55fcb61cadc2ced719938afe230 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 
 struct some_struct;
 
index 077ba7d93e0147cfc8e243444d064c0faabe9bea..04f20ab1bcf158c4293278ae202be600a8c42328 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -cc1 %s -verify -fsyntax-only
-// RUN: clang -cc1 %s -verify -fsyntax-only -DDECLAREIT
+// RUN: %clang_cc1 %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only -DDECLAREIT
 
 // a declaration of NSConstantString is not required.
 #ifdef DECLAREIT
index a7288bbc3babbadd7b62e14ff86bc0e2c5cbb73a..3e289860c06ef2f53dd67e09bd0ee7b406b307c2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
index 15d4db00414d90db5c6299414fd8c54823e8a49f..c25164e1597398aa6c179fc92c9d46d89922f520 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface SStoreNodeInfo 
 
index d67bdcb8e6f0c37b19a6859fb6b85aed1e8a6de2..7d3f7c70bb521020a7915638d71d0e262df9d115 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface B
 +(int) classGetter;
index 2896968e464dafee32d0bcb8e487c5a340f54ef8..3b8697288a3ac8b36760837abe0bcb01f10f5ffb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Foo
 - iMethod;
index d1aa101c7dc268acc231625393c5f4b56f0b7f43..dac620a8182920afee23ed5fbc2223dd66ce7bee 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface PBXTrackableTaskManager @end
 
index 184c4ead07856975338b8cb1f4cf72fdd6042bb3..36967d458e36a30c1b757a1533709990eca9c944 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface TestClass 
 {
index c41884eef712a0194582cd2a3032e9c753f79f86..465caf24a73643a952cd19cf92ddde9e033c0f83 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -fobjc-nonfragile-abi -verify %s
+// RUN: %clang_cc1 -fsyntax-only -fobjc-nonfragile-abi -verify %s
 @interface I
 {
 }
index fb6182cc76d736b88801efc14bfe8a19b1904cb5..01fc4f4f2c565a93547d1eec789e4374953c6012 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef struct _NSZone NSZone;
 
index 0c48715f19bd09ec16ddc6b20ffa6a53a8a495d4..0f7e6822c4f951749c29649b454ed9959d2fc5e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
 typedef struct _NSZone NSZone;
index 7603199d0211aa2cd199adff92bc9c14d65c8281..6070278bb134e9f6905b8dffa2a0bdbbe3bbc828 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -verify -fsyntax-only
 @class NSString;
 extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
 
index 6791aaf0f3618fe7ed666037dae122e39d560af1..758e1d7f56025d9943007790b7f08e4fb87315db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -Wundeclared-selector -verify %s
+// RUN: %clang_cc1  -fsyntax-only -Wundeclared-selector -verify %s
 
 typedef struct objc_selector *SEL;
 
index d8e50a0acd22bb352ce521f90bb637f3eb070439..0a400dd39f5fe7c11ce2864eb149a981172c8e5f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface _Child
 + (int) flashCache;
index 066d53218bbfd01732e39be0de697d9792e99d1f..9a35ef7ba8063ae332397aef34d495c9f79a93de 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol P1
 - (void) P1proto;
index 2deb0b1ae60f826f32694d73ceeb6fb5752a15f6..7611cf3b1554a835f5958ea8f5081858ed6c7ea7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @class SUPER, Y;
 
index c2e2abc5bb604ed74fe1bf85e5151040628623c1..3be4425cdcec089635fae40f08fab3b164bfee8b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol p1, p4;
 @protocol p2 @end
index f492ac5d37895c83c56487db33c57ab182517cfa..7fdb80152f31111915bb12ba518b48f79413a5a5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 %s -verify -Wunused -fsyntax-only
+// RUN: %clang_cc1 %s -verify -Wunused -fsyntax-only
 
 int printf(const char *, ...);
 
index 424ecab006d6861ca76a6350392e9e928e3ba4b9..fe7ccd7632cd123bfd64e10489a58bc0b559f432 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 #include <stdarg.h>
 
index ecf2c6a00a624d3044d142eb55ac1e0038c6b9f0..953814cdce1b07a415aa893a984c8c46a31494d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fobjc-gc -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fobjc-gc -fsyntax-only -verify %s
 
 @protocol NSCopying @end
 
index 19c9154a36b28106e4304dd7de153f796baaf60a..96ed77c14bef3b89fa123d6d8ce0a856d0fc18cb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Object 
 - (void)foo;
index acca86797e9da56adaffeee66773097a83cc9ae6..a4005ad2b29310ea456b08e4bf77192aa216b529 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -Wsuper-class-method-mismatch -verify %s
+// RUN: %clang_cc1  -fsyntax-only -Wsuper-class-method-mismatch -verify %s
 
 @interface Root
 -(void) method_r: (char)ch : (float*)f1 : (int*) x; // expected-note {{previous declaration is here}}
index b688a1fea0090a0ce26bebb6eda94bf9f41cc521..f20691c186963158f12b66be732012628510fa40 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
+// RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -fobjc-gc -verify %s
 
 struct S {
        __weak id w; // expected-warning {{__weak attribute cannot be specified on a field declaration}}
index 84bdb967262dcdaa239420c399898f602930b111..d5bbb01902db459899293b15457d68c1827d731a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index cc9295a9bc014896fb680634f115dfc8eec1c3b0..bbd1f16cffc0bb62fc695b831fad7455711d20ff 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1  -fsyntax-only -verify %s
+// RUN: %clang_cc1  -fsyntax-only -verify %s
 
 @interface MessageStore
 @property (assign, readonly) int P;
index 92a909621421ce70973612ce2276a13ba0454627..8dcf8089d321cec54e1ac75718bf21e6ca4f58b7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify -fblocks %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s
 @protocol NSObject;
 
 void bar(id(^)(void));
index 0458752d9338ecc6a293a31ee65a22ab613badc9..0e870259b73505f8bfd2b7b679442f010aa39b37 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface NSObject @end
 
index 786315e0e7a3b2b19129d8053c8afc0028541631..0d9a93897656cefb3a7208ed2a656000187ba642 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface Foo
 @end
index e1f92cded3ac8e74756004d91007659f5badf485..0857ae27d52702dd6b9a3b29e01788ba08dc7410 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol P0
 @end
index fca2ef5cb613a8fdf102267b05254a19a7ab875c..4a211e3197041cafccc0ea39127e94a744184db5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @protocol P @end
 @interface I @end
index bbdea7b25873eaf56dc693ee484a97564195dae7..b4e809eee1619a008d03c49498225f3acb6a0c1a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 extern "C" {
 @class Protocol;
 }
index 464b2871c85d691ed4add436496b9f1242c04824..9953ec366e1625beca1b6dec467f0cbd0187b2c5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace C {
 
index a15907ce421f77d36e1578c7de396c77020fab69..18da69f5442ea80639bbafea527876cabdf75b25 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // XFAIL: *
 @interface Foo
 @end
index b2b354b7782d9dba687274f0add09554353ba5fc..ed3fbe0f72bfc301b51fab7337c269ac99aa6e78 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 @protocol NSObject
 - retain;
 - release;
index c4961efc1a55ea2022cabd72150d3df1a99f376a..ded385cba14a09775d1ad1c96122c9abd29b7f49 100644 (file)
@@ -1,5 +1,5 @@
 // FIXME: This crashes, disable it until fixed.
-// RN: clang -cc1 -verify -emit-llvm -o - %s
+// RN: %clang_cc1 -verify -emit-llvm -o - %s
 // RUN: false
 // XFAIL: *
 
index add8e75ef806393e3c197ad5db2b5e3badebef22..3c4bef595daa8f6d2053f306c0756a0d44ffb060 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @interface A 
 - (void)asm;
index cb97546582d739801b91b59755afdb48e97ab03a..2e6984872d793925cac3b3a22dee838a5f8d7db1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 @class NSString;
 id a;
index ee6462b0e027e16fdd7ab3370fd217cb8acd26d9..6ced8e426bc556cb90cddafb76eb64e854ef4ece 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s -Wnon-pod-varargs
+// RUN: %clang_cc1 -fsyntax-only -verify %s -Wnon-pod-varargs
 
 extern char version[];
 
index 851ecf5db666527baf9cd165d42267ec4eebf318..932827e61425bda3789781ebc3e277b31db055bb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // <rdar://problem/6463729>
 @class XX;
index c936889f25f936a51e418c12c610969aa3fd4e32..9525bfcc4f43c70bd36de2279057301c1acda860 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // template<unsigned M, unsigned N>
 // struct Ackermann {
index ccdeb9bebc57417163d79993d10f4a518c62bf8e..17f412f6716d60260b4f39b1e4bfe9d354b37a8d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f(void*, int); // expected-note{{candidate function}}
 template<typename T>
index 21552105b0ff925a19884622eb6d92a07b2d4f20..73cf3c29665c66189145abccdd75334f07f27057 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s
 
 void f();
 
index 0580c677e62781fd607386cab22f945a9a6d3a49..7582df5e66aad116bf82577fa14a3dc41c573623 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 void f();
 
index d7649f52688db3ab33c9a8a03fd7b2e348b76309..fd9417c795f6f8c80ea68c8aa7888398d7840a90 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<class X> struct A {};
 
index a8163127b00000cab70a37cf4c6d9a947ff1d1da..71aabe97f4e38a2fa5582f46176b5b9c55b7e3c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> class A;
 
index c4388a7c155666848bd079fc8120b462c96d5d4b..c492a365880cd1c7726d6ce13070e93a718648a2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 namespace N {
   template<typename T> class A { };
 
index 98ccbe7db6f854bc82ad39266f1450af7b340ebb..bb9d39d82afe0bbb5e6f507f5b2711e080aa7ef7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, typename U = float> struct A { };
 
 typedef A<int> A_int;
index 2808404b1d99f652dc778c43e15849500fd9f763..efb00c7f3d2547d10b8c1e83b35f8c833b4391a0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, typename U = int> struct A; // expected-note {{template is declared here}} \
                                                  // expected-note{{explicitly specialized}}
 
index 0b6916fa485d3dd19860bfcfef17409f05b474d9..6fed9ed64c03040765965925bd52a340c28c89b7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct X0 { // expected-note{{candidate}}
   X0(int); // expected-note{{candidate}}
   template<typename T> X0(T);
index 69481ea557f452e8837d34c3f732e8b866369457..ae6dc9c30fa12b0f4735f2d3218c2c280d3e351d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Make sure that copy constructors and assignment operators are properly 
 // generated when there is a matching 
index fe2c558a3d212c696bb0331f0b195d83dae6d4eb..45637484f0fd0e4dd922f75c8372586b605432e8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // This test concerns the identity of dependent types within the
 // canonical type system, specifically focusing on the difference
index 7b7e18f74aec1354834c29f8e10ba8a1953f534b..887535b92d87b0ffd091ed15ea4fff934b0543dc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 // Template argument deduction with template template parameters.
 template<typename T, template<T> class A> 
index 8d8833c6702e443df172bd5bfba8a7df00a85d45..0f7ba4678b8ee8fb278e768a0f157769ee1c0e55 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
 
 // Test default template arguments for function templates.
 template<typename T = int>
index 0247ddc0ef28d14f2cc7f6eafa3a4345a5357c84..9ea0fc2e4d52ad9aeb6b2a6ee81df5752a2fb3b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, int N = 2> struct X; // expected-note{{template is declared here}}
 
 X<int, 1> *x1;
index 34ac2d967efc205d26dc6410ffc623122704fd74..4c2f5465dc8bd2033fc893e256a044cfad4ee4fe 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 class C { C(int a0 = 0); };
index b3d707b632b1abd9127b2241ff2ff56348876358..c9823d227d4cddd46daeb4b01e6eea2c07621784 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR4381
 template<class T> struct X {};
index aef43cb29db44a6b59de7a6d0453b2ac72cea7a2..f73af595fd6cd1223064dea9d75ea6eee032501e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 
 typedef double A;
 template<typename T> class B {
index d221a4d276d27ef8128da19927aaf23602cee5f9..cf0e0f37ee047692419fa3e695d1caa5fbff0acd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 
 template<int N>
 void f() {
index b7c9040e6cb56d60695ffeb45f3b38d4ff0e98dc..e09581223af645cf3fc1db761e92fa126bae8d09 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // This test concerns the identity of dependent types within the
 // canonical type system. This corresponds to C++ [temp.type], which
index afe2cfc30019d80fe44109fe28c55461dcac5459..b5ad967d69d52d1c767ef55b37a3acb8d9aadc86 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename A> class s0 {
 
index 1d782df202e398e4684f12099f447c9ad385335a..de89487bd5819573ab2b4314d4848fb3ee088355 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 enum Enum { val = 1 };
 template <Enum v> struct C {
index 4a2aeb20e7302e6daa374bfc4bf49e1dc93dcacb..082aeb83fbdd1c2bac64fe78c10c12c7a87ee0d1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // A simple cons-style typelist
 struct nil { };
index b04639f6e78c1cfb5c8086ea943bce26a564e88a..9c75cb7d610f7c09db592dd12becf4eae233d207 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template void *; // expected-error{{expected unqualified-id}}
 
index 197dae5a15afd139c5ec69b6e2ef49445b37e718..06dd382fc7a4d8c437872e1ba23aecff03900d5c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T>
 struct X0 {
   typedef T* type;
index 7cc4ae930ed21238a4483c179f5412b00cccfe23..0e2debf22b99e578320e6b88ebf689b6bd290ac6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, unsigned Length> 
 struct make1 { 
   typedef T __attribute__((ext_vector_type(Length))) type; 
index 44728d188a24b77d7f6b3aba33c8bb0753ab61d6..eca64ed595ebfb1b317756b54d26158e41a47e90 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 class X0 {
index 6cd50157e2bdc5d45dae85ae366863d55f7264db..ff1711fc529f2a9015c4816d875548fa8525d39c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template<unsigned I>
 struct FibonacciEval;
index 98992f6f6078cc81659927a5f7d2011fd800fc17..9bc3d7676a61803de97afbe5292617f7e383d4da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR5057
 namespace test0 {
index 27299523862ec71040a4cbfb787f7b79c5a217ad..61ef1865da5d5d49344eafa40df8d2807803bb30 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T> struct A {
   struct B { };
   
index 4d8aaa8d16f1e50d609d95e28b180425b8c6aa35..867b1c643e623b98c78558f298721847e13756a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Tests that dependent expressions are always allowed, whereas non-dependent
 // are checked as usual.
index 90e38cc882fecca89621380550afd74a9e3a1f71..91989b1ccae070d5185c79b4cbeb3ea0b3189235 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<int N> void f0(int (&array)[N]);
 
index d04bbd84840777e820cacc07e079af1d2c642502..d1bc5a89da15a95e887da81c8958bc15010b62dd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, typename U>
 struct X {
   T f(T x, U y) { return x + y; }
index f9674c39a58b9cb1ec0b164ec7cd4b782421aef5..1a65aeb3d6cb5ea15d29d5663ef24ea1e07a327b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T>
 struct X {
   X<T*> *ptr;
index 375c1da3ca59a3ed93d90178ae30b3f11f07102a..7c75885788deaa413ed469d8b6445f98837e6e73 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s -Wall
+// RUN: %clang_cc1 -fsyntax-only %s -Wall
 
 template <typename T> class A { struct { }; };
 
index 29279b4368996e96a721778111b8632d1b76d701..97ea6cbb8e533a1d5a05a8e2bc7432dc821eb9cf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 #ifndef __GXX_EXPERIMENTAL_CXX0X__
 #define __CONCAT(__X, __Y) __CONCAT1(__X, __Y)
index 08ba9c3a0cd55636d6790aeeceeb5bc9bb6e562f..7fb17364593269822b9143728891821a32f7f641 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template <typename T>
 struct A {
   char a __attribute__((aligned(16)));
index cf691cffad3639e96582841beb483dcdc060b575..ae1552887b269e781d49e626127a08ffc5c3de03 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Test template instantiation for C99-specific features.
 
index a9c4bf481ded61fbe910708f7414a6f05b6e31ab..a40364a147a41b8e21ec0d42dfb1a88ece7de0aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace N1 {
   struct X0 { };
index bed39d7ffb067266fb6b0e21a6d68832f14b75e9..1cc2d5d6c62a2f304c5cd68f32b012633339d154 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<class T>
 static int alpha(T c)
index c3c318f36d5d3832dcf698de97e7414e8f3ee9f3..97d3dc30c56c484c7b38f4bba8f18b0d9ac531cf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct A { int x; }; 
 
index a6c28d9e19dbc59c2c046580d2faaa86da18100e..cef2b7090bf2e6d59b311196592a44442ec28e1b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Test template instantiation for Clang-specific features.
 
index 507894a2ff691ab40a24114b9c7ac78179b9534f..183fefab4116e17cfbc1440fdc698cb4a8c019ca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Tests various places where requiring a complete type involves
 // instantiation of that type.
index d957f2de7da5072f6d90dd013b7de8133925f287..b0c2aa8afa911e743c1996b91fd1038ac9f53297 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // 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 ab12b90f6c98ce231383f763852dfbaa6f74ecc4..e4e071dd20d7a24f8695ff921a324205475e27de 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<int i> struct x {
   static const int j = i;
index 359e2c7dfaa42244fbc3a33a7bac3e38c43cf16b..da8b263ab3abe59f70c98cee123162d8af0baa38 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 namespace N {
   struct Outer {
     struct Inner {
index 7f15bf1200f12afad7716b14aec3d29a2799c33e..c5f65945afcbc9bbfd822edffab16ddecd681618 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wall -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wall -verify %s
 template<typename a> struct A {
   template <typename b> struct B {
     template <typename c> struct C {
index b0ac078893de669b812e9bb0a0060d7d10308446..5594d6c7d799bac9313dd467b367d694955048c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename> struct PassRefPtr { };
 template<typename T> struct RefPtr {
   RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array size is negative}}
index 2b1d29878a547b0a48d0b3ab1b2ddd3bb2758b0e..eb1d3fba10ed1eb58301ba7adb073daa0a68838d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // PR4382
 template<typename T> struct X { static const T A = 1; };
 template<typename T, bool = X<T>::A> struct Y { typedef T A; };
index 2b56a036e94796c75b5dce75a7ef22f604fb9bad..aa3b590cada49c6956bb1fe187bef4f6b28b9582 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -verify
+// RUN: %clang_cc1 %s -fsyntax-only -verify
 
 template<int IntBits> struct X {
   enum {
index a7acf22a45a1c1fbe11201b00e01cd8c8a8e7e69..6f9aa4b116d75dc205eeac03d5aa57bc4fb2fe57 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template<typename T, T I, int J>
 struct adder {
index 31db4487a27a391378665225fb319acda9ef3f14..c418fe16e87fdf11ef6dab03bcf06b1b19f0c145 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // FIXME: the "note" should be down at the call site!
 template<typename T> void f1(T*) throw(T); // expected-error{{incomplete type 'struct Incomplete' is not allowed in exception specification}} \
index 1cd55d9ad257e8964fa0997879213a06533e4d5b..663749ddce5b678f2af7c27a0273bea11c00cf02 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<int I, int J>
 struct Bitfields {
   int simple : I; // expected-error{{bit-field 'simple' has zero width}}
index 194593ac4006e66e3a55ffa90afe993db67a5dca..4da4e713ec18f6aa9b5764c71def44c64b3f94b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 typedef char one_byte;
 typedef char (&two_bytes)[2];
 typedef char (&four_bytes)[4];
index 696b58325cd70a3c651c3d9fd6d4eb554a7b0da1..41a96a32e0bfb636a86961bc0f80e97aa6f21b25 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // ---------------------------------------------------------------------
 // Imaginary literals
index b99ec3304c4dc555d50bfc10ab42e5c90cc6d5d6..e3da45e65841034242d8984a482895835361a23f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // ---------------------------------------------------------------------
 // C++ Functional Casts
index b42c0fb2aaf8ba5dcb4b8530805c61280e9b996a..941dae44829af88dba0981364f6b1ebf89376d66 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template <class A> int x(A x) { return x++; }
 int y() { return x<int>(1); }
index 2b5fcaeb04542d50dddbc863377e5435ebd68ce4..074fe694149040fd783f4924745efdb59c55ddfa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wno-unused-value -std=c++0x %s
+// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -std=c++0x %s
 
 template <typename T>
 struct S {
index 8e2a3758b0d713468e73073aa7b7ba3b1905254a..d166e7e78e6a5c4702259c0a705bb89182123110 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct X {
index 9a4a73cc8a5270b48f362ff45a460f1152ddacb1..c87b8d0bf9b2c7b04d80d79d889fd9ac9d6af853 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // PR4794
 
 template <class T> class X
index a6c269febea15bdd0416ab1a732e39015d109991..52707ca63e45e4a7c6e049ea1179ed2f89aea658 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, typename U>
 struct X0 {
   void f(T x, U y) { 
index aa4b941d39cf854e9aa3c7cec3713b31de7e87c7..c67b5985f63f605aeb0473572557da3d69e16d0c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // XFAIL: *
 
 template<typename T> struct Member0 {
index 51a60146d46aef0b4d7e69ebd32a01d7fb0c63dd..6318facfc0ea8ea9348de61125bf74184e9a5434 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template <typename T> struct S {
   S() { }
   S(T t);
index 870b27537fceb57a3118028e5f6044c10f8e0907..8a10a87e610e930a8e0415cf76bd213f9d8d7a1c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct X0 { // expected-note 4{{candidate}}
   X0(int*, float*); // expected-note 4{{candidate}}
index fab65cef2e4584b107abdca828d17242bb472511..ff0efd800f984b2b0ac148ad3907e7986641d41d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 class X {
index 6fc70429a9d32ee366120579326abe1123de7b07..f7b7e47e1e9b5c1309038af56cba18be1784b2c2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -Wall -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wall -verify %s
 
 template<typename T> struct A {
   A() : a(1) { } // expected-error{{incompatible type passing 'int', expected 'void *'}}
index d2c9e6b5ed82b6f4d9fc5b0a1b7a0b5ce723f81f..2308ac541b2e12ec18a57969d376f6bf7e28cd91 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 struct Y {
   int x;
 };
index 04ced926341a99b2187b72b3dd55c321ef550572..6442ed417c5b74b81c1f524740636b4486003ac1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct X0 {
index 231e2812f666938bbf5b126653d36a5862f80473..422364c155ba25fb12435468b394d05b113376e9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T>
 class X {
 public:
index 32acbd0d8bdc3675b0a790c75573a4e7dec30942..414e62b13a032803ce30c5207769483e694c0931 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR5311
 template<typename T>
index 093be4e27155931717dade2684ada8cda9aad871..92d0d6c95080ab987be9705bba043a48ef861d5d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Obj-C string literal expressions
 template <typename T> struct StringTest {
index 7f0ef0c990ad0ae72d06c916c1f75872e3d76b90..ee36427db87b746bbb24a9fd32bcb8291ff15914 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // PR5488
 
 struct X {
index d4a7008b47bf7acad658306b5d957c47f9007946..bd298fc63a8889e9256906508fd0765ac2ee46e7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, T Divisor>
 class X {
 public:
index 20e2c39d0cce538abbb9d00f2a10ef977a79202e..a7187516da398519542b6cd915e833af6f76f0d7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 
 struct Sub0 {
index 30ba113e20d4e2d35e70c7f64b9ba5e0625df131..6035308b0a9f0823a995b322061cbc95e09d8638 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<template<typename T> class MetaFun, typename Value>
 struct apply {
   typedef typename MetaFun<Value>::type type;
index 074afa9d173d521af996c7827740aa7f2ecf6b0b..aa809e4bf949b5395bd1a4d4929e041073bff9a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
 
 template<typename T> struct TryCatch0 {
   void f() {
index 48060c4e384ee16073faa84af36d82d8e906aa59..f5d02707cb1fd45a9d7530f19cd274adcb38ec0f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 int* f(int);
 float *f(...);
index e092b531582be0516da8998ea0424091e23768b9..be769c00ecac2c4937d493b7ac2dcd38cd18c492 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct add_pointer {
index de66f79242fcbf5f90e0bd50f6385f6a7cc0c061..6bbfe65ee01eb3e521b79c463cbe33cb5d087929 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace test0 {
   namespace N { }
index 869662268dd24b805c5994a3a867772bd4a660c0..93f9a3552aa04cdcada5763ef33f1d5b27eacf76 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T> struct A; // expected-note 4{{template is declared here}}
 
 template<typename T> struct B : A<T*> { }; // expected-error{{implicit instantiation of undefined template}} \
index f0ce0d3cc669d3e2f47232fa909ef9473b400889..6f5a660d99f1147a7494fd5342ed51f6975ff8b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, typename U = const T> struct Def1;
 
 template<> struct Def1<int> { 
index 4d9a0e2717bfba26ba2f58411ef510014250719a..4d6756eca3765638637d929f1c7b567b3b611d55 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T, T Value> struct Constant; // expected-note{{template parameter is declared here}} \
 // FIXME: bad location expected-error{{a non-type template parameter cannot have type 'float'}}
index 521edf66f24cfb47d5bb34d4cb9777c9c501250c..dae6b18f32c28f51df09addc131f72a69c5e3540 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> struct A { };
 
index 31abb40dd5b1120b45f50d552800715eba846a08..f48ede9c44cf9c629304d3a27bd51e3708329b5c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -ftemplate-depth 5 -verify %s
+// RUN: %clang_cc1 -fsyntax-only -ftemplate-depth 5 -verify %s
 
 template<typename T> struct X : X<T*> { }; // expected-error{{recursive template instantiation exceeded maximum depth of 5}} \
 // expected-note{{use -ftemplate-depth-N to increase recursive template instantiation depth}} \
index ad0075f564b60ca4fe62ea826ef6c4b6c2ac65b0..51de64a3b4770b2ef82c11de13075dca2620ed7c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T>
 void call_f0(T x) {
   x.Base::f0();
index 1d46d31e35d348606dec0401eaf9e33fed684900..5ea8c1010e5c60bd52ef3c38e82a7c181250c790 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct X {
   template<typename T> T& f0(T);
index 62077fabc72119099181d54ba2755d67204059e1..40f56b34dae090d3bfa5e70f0e68bb1d4e797de1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> struct A {
   A() : j(10), i(10) { }
index 567c0d63b046afe2e59a4c4f36fef1d49d129078..9edefe8b63e014461173be828108e0e76c373c11 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename U, typename T>
 U f0(T t) {
   return t.template get<U>();
index 471b2ad3fae65de06575e7056f44e985efcd4c01..56a2dc9c392e67b0b1f980bdb91fed43dcf17be1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 struct add_pointer {
   template<typename T>
index ffe9adc927d6f0ede6c769a992d4b70796f37818..6c0791c2efc86b4c86b09ce2ce43de906fd5e0b4 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 extern "C" { extern "C++" { template<class C> C x(); } }
index 436732a828d73edf07e300d7cea9a2cb744ddd9a..704b8cfce128371d6249b8dbad8a46b2132cd08b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace N { 
   namespace M {
index e18329c145d0f074debf42d976c3793b55ec293d..01ede32f9a08b96ead8977b430725ba3ec23c95d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 class A;
 
 class S {
index 92a8c84e3be6fc7bc41ea79a86317bec9baaf28c..9a0884e8136d1654fa5f31df3c4f3b1b365592c2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T>
 struct A { 
index dc44d04b68828d058de1296fc37e343b66788063..4300755cf71189de22ab779928cfa94d816bfbb9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Make sure we accept this
 template<class X>struct A{typedef X Y;};
index 2e3bfede700ac2b3a94c6b425d00ad7e208a7d9e..632d1cd521d9d132efc3d860995e3ea5940f9c2b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Tests that overload resolution is treated as an unevaluated context.
 // PR5541
index 8d1ae238977c5a64029e969274a08f0a3220216a..3156892a72346ea8a08c62fd3fe67055b1ae6037 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 // PR4607
 template <class T> struct X {};
index ab57950acff2ef3b7e5af12296f3efb2e592bb9f..655a80e2bfbfb92e6f0f7db363b4365aef1dcc55 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR5061
 namespace a {
index 1d53e5cb98ba3d29cb9f1792cec4269ac3dfc958..b2df47bfff4cef7f4673d49ce981af4481f28ea8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace std {
   template<typename T> class vector { }; // expected-note{{candidate}}
index 7c88d5019fd51ed5ff43523fcb7f282bb80d8e02..e86196cbb5773e70cb6041256485d4c9568bf4cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> void f(T* t) {
   f(*t); // expected-error{{no matching function}}\
index 8be4739a741bda81987d2e3ae2529e47f529fb93..961b9c873ab8b22175afe9f0a0f26e6bef6ba5dd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 
 // p3
index e873b8e2a61de819029a58bae8ccd42b06f4458e..3c9fcb5066102ed83e77356d4d7f109b21c6b9b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, 
          int I, 
          template<typename> class TT>
index 0c44651ccfee846f48cd169b2a1d021268f7408f..98e0b5dc5ddf80e33e36def9473b3c12cf516a5f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++98 -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++98 -verify %s
 template<int N> struct A; // expected-note 5{{template parameter is declared here}}
 
 A<0> *a0;
index ada244bb5de60b471279eccb4797cb7a843d9c9d..667122583fdac17d3afeba78385a9b09edb4068a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<template<typename T> class X> struct A; // expected-note 2{{previous template template parameter is here}}
 
index b322dae98b903d1b305d49a655b2eea452dfbc41..a376900666d89b49e3cf1fab87215754ab060a8f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T> class A; // expected-note 2 {{template parameter is declared here}}
 
 // [temp.arg.type]p1
index 4687ddf7d9e98eac1cd51c21283b2b25107990bc..fcf0325b7bbc9e6cad2131183da3103d05d83f95 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T, typename U>
 struct X1 {
index dad857e8e66de4d8ac338735c28c2ad244569053..48026f913178f9965b640eb63ccad9b897a6dbbf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T>
 struct is_pointer {
   static const bool value = false;
index 920d9c8b0cbd37f1198287874df7cbce721941ca..b7b96df69ba5f6a123a4d0da65dfea2d514f93a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -fblocks
+// RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
 template<typename T>
 struct is_unary_block {
   static const bool value = false;
index a029f474fc58179f51a37f2e1f43e070192b53ed..c8e8a57f278bdfff7926170d2054cfacc2c51adf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T> struct vector;
 
 // C++ [temp.class.spec]p6:
index ae409aff662baaf5216686853ae38d2ef3e8f63b..fbb41ff601a38a7f7b19710ce1a7e4f7e1be9c48 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
 //
 // Tests explicit instantiation of templates.
 template<typename T, typename U = T> class X0 { };
index 7045afc3032f3f74fb8355896a01d8580b21197a..215d2cfa08208e604dac23db4494e60ae6fddafd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
 namespace N1 {
 
   template<typename T> struct X0 { }; // expected-note{{here}}
index 5fd7c8d74571b604c9039032b2b8da1d421958c2..908354b58ed2b286b6415a8261515bbd450ef72f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T>
 int &f0(T);
 
index 7cf2004e727f2effd833dda6540ff3a712cf2d46..4710294452565a158ee8239d9cc8a7a2b5ed8223 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s 
+// RUN: %clang_cc1 -fsyntax-only -verify %s 
 #define T(b) (b) ? 1 : -1
 #define F(b) (b) ? -1 : 1
 
index b136f6279d52d8bbc79dd83844b68a918a0be309..a298c6d5a4ba0f0c30db172b512f7cef7545902e 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename T> typedef T X; // expected-error{{typedef cannot be a template}}
index dd8694afa7ea68b318063aaa026f40720628365f..70a1062c2287666e7d68415ecdf760a3af814680 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 // PR5336
 template<typename FromCl>
 struct isa_impl_cl {
index 13250943e92c931b8ef1b28de6f8d7beaa1c1718..fcd4974a7611c99078e4013f1a9d3a7a3ecf0a9b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -ast-print %s | FileCheck %s
+// RUN: %clang_cc1 -fsyntax-only -ast-print %s | FileCheck %s
 namespace N {
   template<typename T, typename U> void f(U);
   template<int> void f();
index 99e628523158e68398919fd776b6bc3b1f8a250f..2a21f727df75212979d620083a088737f2930f75 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 template<typename MetaFun, typename T>
 struct bind_metafun {
index 8dde6095e533fedbdaad57051a8ab7432fbbcd88..a463d88752c95cd4cf279ef9cf9cd98daeb9126d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // PR4364
 template<class T> struct a {
index c7484c19fca7718587ebb9e78b53ce9aa6d84387..7fd88f130fa62f6bc90dc4e20d151c7e0a08cbb8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 template<typename T, typename U> 
 struct is_same {
   static const bool value = false;
index 2501b8d048ff59d45a009e2cde3c17cb9ed532b5..b968ea6ad54410142e8bb9e425b0a9a9484b2c15 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 namespace N {
   struct A {
     typedef int type;
index 110c380c9aa2a5d9d31b84526772b572120cb71c..223500eac48c7d6574920edd07bde026519ccc09 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only %s
+// RUN: %clang_cc1 -fsyntax-only %s
 
 template<typename T, int N>
 struct X0 {
index 6df905006692a504866cc23e7e92a487676b5be2..6da64fb55f7037f4e6471adde165b34e7beb1d1d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 template<typename ... Args = int> struct S1 { }; // expected-error{{template parameter pack cannot have a default argument}}
 template<typename ... Args, typename T> struct S2 { }; // expected-error{{template parameter pack must be the last template parameter}}
index b1ac71b88bda4c771878e3fa4fd30261e46f05e2..509977121f4b0d605055ecf37a23f172528d308f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 // Type parameters packs
 template <typename ...> struct TS1 {}; // expected-note{{template parameter is declared here}}
index e1d1b1f98db2ba7d4fcb6b2e08f24f39f7ae1ee1..d8b77b3f423e44d6e20871ad45e1d65f83d157fe 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
 
 // Parsing type parameter packs.
 template <typename ... Args> struct T1 {};
index 98f217c768910a1d415675b005c721d75fb67067..9f2b0807d2d6b8ee74bfd4a3b5e929ab77c70e4c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 // Type parameter packs.
 template <typename ... > struct T1 {}; // expected-error{{variadic templates are only allowed in C++0x}}
index 486c8b20514101c47019843d857cee96e3c71826..69ae0807b4c5b510edd08d0b8329d134b7a406ed 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify %s
 
 namespace PR5557 {
 template <class T> struct A {
index 1421ec1a80cfce8336861fe147ac9a825a3f6db3..c561dd8a785b62485d97e55f09578b062cd6d030 100644 (file)
@@ -123,4 +123,5 @@ config.clang = inferClang(config.environment['PATH'])
 if not lit.quiet:
     lit.note('using clang: %r' % config.clang)
 config.substitutions.append( (' clang ', ' ' + config.clang + ' ') )
-config.substitutions.append( (' clang-cc ', ' ' + config.clang + ' -cc1 ') )
+config.substitutions.append( ('%clang_cc1', config.clang + ' -cc1') )
+