]> granicus.if.org Git - clang/commitdiff
Rename clang to clang-cc.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 02:24:46 +0000 (02:24 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 02:24:46 +0000 (02:24 +0000)
Tests and drivers updated, still need to shuffle dirs.

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

966 files changed:
Driver/Makefile
lib/Driver/Tools.cpp
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.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/array-struct.c
test/Analysis/casts.m
test/Analysis/cfref_PR2519.c
test/Analysis/cfref_rdar6080742.c
test/Analysis/complex.c
test/Analysis/conditional-op-missing-lhs.c
test/Analysis/dead-stores.c
test/Analysis/dead-stores.m
test/Analysis/exercise-ps.c
test/Analysis/fields.c
test/Analysis/func.c
test/Analysis/misc-ps-basic-store.m
test/Analysis/misc-ps-eager-assume.m
test/Analysis/misc-ps-region-store.m
test/Analysis/misc-ps.m
test/Analysis/no-exit-cfg.c
test/Analysis/null-deref-ps.c
test/Analysis/outofbound.c
test/Analysis/ptr-arith.c
test/Analysis/rdar-6442306-1.m
test/Analysis/rdar-6539791.c
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/refcnt_naming.m
test/Analysis/region-1.m
test/Analysis/region-only-test.c
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/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/unused-ivars.m
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/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/address-space-cast.c
test/CodeGen/address-space.c
test/CodeGen/alias.c
test/CodeGen/align-local.c
test/CodeGen/alignof.c
test/CodeGen/array.c
test/CodeGen/asm.c
test/CodeGen/atomic.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.c
test/CodeGen/bool-bitfield.c
test/CodeGen/bool-convert.c
test/CodeGen/bool-init.c
test/CodeGen/boolassign.c
test/CodeGen/builtin-count-zeros.c
test/CodeGen/builtin-memfns.c
test/CodeGen/builtin-rename.c
test/CodeGen/builtin-stackaddress.c
test/CodeGen/builtinmemcpy.c
test/CodeGen/builtins-ffs_parity_popcount.c
test/CodeGen/builtins-powi.c
test/CodeGen/builtins-x86.c
test/CodeGen/builtins.c
test/CodeGen/builtinshufflevector.c
test/CodeGen/c-strings.c
test/CodeGen/cast-to-union.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.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/debug-info.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/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/int-to-pointer.c
test/CodeGen/kr-func-promote.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/mmintrin-test.c
test/CodeGen/offsetof.c
test/CodeGen/opaque-pointer.c
test/CodeGen/overloadable.c
test/CodeGen/parameter-passing.c
test/CodeGen/pointer-arithmetic.c
test/CodeGen/pointer-cmp-type.c
test/CodeGen/pointer-to-int.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/shared-string-literals.c
test/CodeGen/sizeof-vla.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-init.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/tentative-array.c
test/CodeGen/typedef-func.c
test/CodeGen/typedef.c
test/CodeGen/types.c
test/CodeGen/union-init.c
test/CodeGen/union.c
test/CodeGen/unwind-attr.c
test/CodeGen/var-align.c
test/CodeGen/vector.c
test/CodeGen/vla.c
test/CodeGen/volatile.c
test/CodeGen/weak-global.c
test/CodeGen/whilestmt.c
test/CodeGen/writable-strings.c
test/CodeGen/x86-inline-asm.c
test/CodeGen/x86_32-arguments.c
test/CodeGen/x86_64-arguments.c
test/CodeGenCXX/__null.cpp
test/CodeGenCXX/expr.cpp
test/CodeGenCXX/mangle.cpp
test/CodeGenObjC/2008-10-23-invalid-icmp.m
test/CodeGenObjC/bitfield-1.m
test/CodeGenObjC/bitfield-ivar-metadata.m
test/CodeGenObjC/blocks-unsupported.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/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.m
test/CodeGenObjC/forward-class-impl-metadata.m
test/CodeGenObjC/hidden.m
test/CodeGenObjC/implicit-property.m
test/CodeGenObjC/link-errors.m
test/CodeGenObjC/message-arrays.m
test/CodeGenObjC/messages-2.m
test/CodeGenObjC/messages.m
test/CodeGenObjC/newproperty-nested-synthesis-1.m
test/CodeGenObjC/no-category-class.m
test/CodeGenObjC/objc-align.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-compare.m
test/CodeGenObjC/objc2-weak-ivar.m
test/CodeGenObjC/overloadable.m
test/CodeGenObjC/predefined-expr-in-method.m
test/CodeGenObjC/property-aggr-type.m
test/CodeGenObjC/property-agrr-getter.m
test/CodeGenObjC/property-getter-dot-syntax.m
test/CodeGenObjC/property-incr-decr-1.m
test/CodeGenObjC/property-setter-attr.m
test/CodeGenObjC/property.m
test/CodeGenObjC/protocols-lazy.m
test/CodeGenObjC/runtime-fns.m
test/CodeGenObjC/super-classmethod-category.m
test/CodeGenObjC/super-dotsyntax-property.m
test/CodeGenObjC/synchronized.m
test/CodeGenObjC/unname-bf-metadata.m
test/Coverage/ast-printing.c
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/serialize.c
test/Coverage/serialize.m
test/Coverage/targets.c
test/Coverage/verbose.c
test/Driver/hello.c
test/Driver/pth.c
test/Frontend/dependency-gen.c
test/Frontend/rewrite-macros.c
test/Frontend/stdin.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/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/multiple-include.c
test/Lexer/number.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.c
test/Lexer/unknown-char.c
test/Misc/caret-diags.c
test/Misc/diag-checker.c
test/Misc/emit-html.c
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-bool.cpp
test/Parser/cxx-casting.cpp
test/Parser/cxx-class.cpp
test/Parser/cxx-condition.cpp
test/Parser/cxx-exception-spec.cpp
test/Parser/cxx-reference.cpp
test/Parser/cxx-template-decl.cpp
test/Parser/cxx-try.cpp
test/Parser/cxx-typeid.cpp
test/Parser/cxx-typeof.cpp
test/Parser/cxx-using-directive.cpp
test/Parser/cxx-variadic-func.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/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-error-1.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-try-catch-1.m
test/Parser/objc-type-printing.m
test/Parser/parmvardecl_conversion.c
test/Parser/pointer-arithmetic.c
test/Parser/pointer_promotion.c
test/Parser/pragma-pack.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/traditional_arg_scope.c
test/Parser/typeof.c
test/Parser/types.c
test/Preprocessor/_Pragma-dependency.c
test/Preprocessor/_Pragma-location.c
test/Preprocessor/_Pragma-physloc.c
test/Preprocessor/_Pragma-poison.c
test/Preprocessor/_Pragma-syshdr.c
test/Preprocessor/_Pragma-syshdr2.c
test/Preprocessor/assembler-with-cpp.c
test/Preprocessor/builtin_line.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.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_usual_conversions.c
test/Preprocessor/extension-warning.c
test/Preprocessor/function_macro_file.c
test/Preprocessor/hash_line.c
test/Preprocessor/hash_space.c
test/Preprocessor/header_lookup1.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-pth.c
test/Preprocessor/indent_macro.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_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_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/mi_opt.c
test/Preprocessor/objc-pp.m
test/Preprocessor/output_paste_avoid.c
test/Preprocessor/paste_bad.c
test/Preprocessor/poison.c
test/Preprocessor/poison_expansion.c
test/Preprocessor/pr2086.c
test/Preprocessor/pragma_microsoft.c
test/Preprocessor/pragma_unknown.c
test/Preprocessor/print_line_track.c
test/Preprocessor/skipping_unclean.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-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-x86.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-deprecated.c
test/Sema/attr-mode.c
test/Sema/attr-nodebug.c
test/Sema/attr-noinline.c
test/Sema/attr-noreturn.c
test/Sema/attr-unused.c
test/Sema/attr-used.c
test/Sema/attr-warn_unused_result.c
test/Sema/attr-weak.c
test/Sema/bitfield-layout.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-explicit-return-type.c
test/Sema/block-labels.c
test/Sema/block-literal.c
test/Sema/block-misc.c
test/Sema/block-return.c
test/Sema/block-storageclass.c
test/Sema/block-syntax-error.c
test/Sema/builtin-object-size.c
test/Sema/builtin-prefetch.c
test/Sema/builtin-stackaddress.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/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_components.c
test/Sema/flexible-array-init.c
test/Sema/floating-point-compare.c
test/Sema/for.c
test/Sema/format-attribute.c
test/Sema/format-strings.c
test/Sema/function-ptr.c
test/Sema/function-redecl.c
test/Sema/function.c
test/Sema/heinous-extensions-off.c
test/Sema/heinous-extensions-on.c
test/Sema/i-c-e.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/init-struct-qualified.c
test/Sema/init.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/member-reference.c
test/Sema/merge-decls.c
test/Sema/ms-fuzzy-asm.c
test/Sema/nested-redef.c
test/Sema/nonnull.c
test/Sema/offsetof.c
test/Sema/overloadable-complex.c
test/Sema/overloadable.c
test/Sema/pointer-addition.c
test/Sema/pointer-subtract-compat.c
test/Sema/pragma-pack-2.c
test/Sema/pragma-pack.c
test/Sema/pragma-unused.c
test/Sema/predef.c
test/Sema/predefined-function.c
test/Sema/rdar6248119.m
test/Sema/rdr6094103-unordered-compare-promote.c
test/Sema/recover-goto.c
test/Sema/redefinition.c
test/Sema/scope-check.c
test/Sema/self-comparison.c
test/Sema/sentinel-attribute.c
test/Sema/shift.c
test/Sema/static-init.c
test/Sema/stdcall-fastcall.c
test/Sema/stmt_exprs.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/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/unnamed-bitfield-init.c
test/Sema/unused-expr.c
test/Sema/usual-float.c
test/Sema/va_arg_x86_64.c
test/Sema/var-redecl.c
test/Sema/varargs.c
test/Sema/vector-assign.c
test/Sema/vector-cast.c
test/Sema/vector-init.c
test/Sema/vla.c
test/Sema/void_arg.c
test/Sema/warn-freestanding-complex.c
test/Sema/wchar.c
test/SemaCXX/__null.cpp
test/SemaCXX/abstract.cpp
test/SemaCXX/addr-of-overloaded-function.cpp
test/SemaCXX/address-of.cpp
test/SemaCXX/aggregate-initialization.cpp
test/SemaCXX/anonymous-union.cpp
test/SemaCXX/attr-unavailable.cpp
test/SemaCXX/basic_lookup_argdep.cpp
test/SemaCXX/blocks.cpp
test/SemaCXX/bool.cpp
test/SemaCXX/carbon.cpp
test/SemaCXX/class-names.cpp
test/SemaCXX/class.cpp
test/SemaCXX/complex-overload.cpp
test/SemaCXX/condition.cpp
test/SemaCXX/const-cast.cpp
test/SemaCXX/constructor-initializer.cpp
test/SemaCXX/constructor.cpp
test/SemaCXX/conversion-function.cpp
test/SemaCXX/convert-to-bool.cpp
test/SemaCXX/converting-constructor.cpp
test/SemaCXX/copy-initialization.cpp
test/SemaCXX/dcl_init_aggr.cpp
test/SemaCXX/decl-expr-ambiguity.cpp
test/SemaCXX/default1.cpp
test/SemaCXX/default2.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/enum.cpp
test/SemaCXX/expressions.cpp
test/SemaCXX/fntype-decl.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/implicit-int.cpp
test/SemaCXX/inherit.cpp
test/SemaCXX/linkage-spec.cpp
test/SemaCXX/member-expr.cpp
test/SemaCXX/member-name-lookup.cpp
test/SemaCXX/member-pointer.cpp
test/SemaCXX/ms-exception-spec.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/overload-call-copycon.cpp
test/SemaCXX/overload-call.cpp
test/SemaCXX/overload-decl.cpp
test/SemaCXX/overload-member-call.cpp
test/SemaCXX/overloaded-builtin-operators.cpp
test/SemaCXX/overloaded-operator-decl.cpp
test/SemaCXX/overloaded-operator.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/references.cpp
test/SemaCXX/reinterpret-cast.cpp
test/SemaCXX/reinterpret-fn-obj-pedantic.cpp
test/SemaCXX/return-stack-addr.cpp
test/SemaCXX/rval-references.cpp
test/SemaCXX/statements.cpp
test/SemaCXX/static-assert.cpp
test/SemaCXX/static-cast.cpp
test/SemaCXX/static-initializers.cpp
test/SemaCXX/template-specialization.cpp
test/SemaCXX/this.cpp
test/SemaCXX/try-catch.cpp
test/SemaCXX/type-convert-construct.cpp
test/SemaCXX/type-dependent-exprs.cpp
test/SemaCXX/type-traits.cpp
test/SemaCXX/typedef-redecl.cpp
test/SemaCXX/typeid.cpp
test/SemaCXX/user-defined-conversions.cpp
test/SemaCXX/using-directive.cpp
test/SemaCXX/vararg-non-pod.cpp
test/SemaCXX/virtuals.cpp
test/SemaCXX/warn-for-var-in-else.cpp
test/SemaCXX/wchar_t.cpp
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/attr-cleanup.m
test/SemaObjC/attr-deprecated.m
test/SemaObjC/attr-objc-exception.m
test/SemaObjC/attr-objc-gc.m
test/SemaObjC/bad-receiver-1.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-def-test-1.m
test/SemaObjC/class-extension-dup-methods.m
test/SemaObjC/class-impl-1.m
test/SemaObjC/class-method-lookup.m
test/SemaObjC/class-proto-1.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.m
test/SemaObjC/conflicting-ivar-test-1.m
test/SemaObjC/continuation-class-err.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-1.m
test/SemaObjC/format-strings-objc.m
test/SemaObjC/forward-class-1.m
test/SemaObjC/gcc-cast-ext.m
test/SemaObjC/id-1.m
test/SemaObjC/id_builtin.m
test/SemaObjC/incompatible-protocol-qualified-types.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-tests.m
test/SemaObjC/ivar-lookup.m
test/SemaObjC/ivar-ref-misuse.m
test/SemaObjC/ivar-sem-check-1.m
test/SemaObjC/legacy-implementation-1.m
test/SemaObjC/message.m
test/SemaObjC/method-arg-decay.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-typecheck-1.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/nsobject-attribute.m
test/SemaObjC/objc2-warn-weak-decl.m
test/SemaObjC/property-1.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-error-readonly-assign.m
test/SemaObjC/property-impl-misuse.m
test/SemaObjC/property-inherited.m
test/SemaObjC/property-ivar-mismatch.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/props-on-prots.m
test/SemaObjC/protocol-archane.m
test/SemaObjC/protocol-atttribute-1.m
test/SemaObjC/protocol-expr-1.m
test/SemaObjC/protocol-expr-neg-1.m
test/SemaObjC/protocol-forward-circular.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-test-1.m
test/SemaObjC/protocol-test-2.m
test/SemaObjC/protocol-typecheck.m
test/SemaObjC/protocol-undef.m
test/SemaObjC/rdr-6211479-array-property.m
test/SemaObjC/selector-1.m
test/SemaObjC/selector-overload.m
test/SemaObjC/static-ivar-ref-1.m
test/SemaObjC/string.m
test/SemaObjC/super-cat-prot.m
test/SemaObjC/super-property-notation.m
test/SemaObjC/super.m
test/SemaObjC/synchronized.m
test/SemaObjC/try-catch.m
test/SemaObjC/typedef-class.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-selector-selection.m
test/SemaObjC/warn-weak-field.m
test/SemaObjC/weak-attr-ivar.m
test/SemaObjCXX/blocks.mm
test/SemaObjCXX/cocoa.mm
test/SemaObjCXX/linkage-spec.mm
test/SemaObjCXX/objc-decls-inside-namespace.mm
test/SemaObjCXX/overload.mm
test/SemaObjCXX/protocol-lookup.mm
test/SemaObjCXX/reserved-keyword-selectors.mm
test/SemaObjCXX/vararg-non-pod.mm
test/SemaObjCXX/void_to_obj.mm
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/default-arguments.cpp
test/SemaTemplate/fibonacci.cpp
test/SemaTemplate/fun-template-def.cpp
test/SemaTemplate/instantiate-array.cpp
test/SemaTemplate/instantiate-enum.cpp
test/SemaTemplate/instantiate-expr-1.cpp
test/SemaTemplate/instantiate-expr-2.cpp
test/SemaTemplate/instantiate-field.cpp
test/SemaTemplate/instantiate-method.cpp
test/SemaTemplate/instantiate-typedef.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/nested-name-spec-template.cpp
test/SemaTemplate/qualified-names-diag.cpp
test/SemaTemplate/right-angle-brackets-0x.cpp
test/SemaTemplate/right-angle-brackets-98.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_param.cpp
tools/ccc/ccclib/Tools.py
tools/ccc/test/ccc/universal-hello.c

index 962e3fd1bb1b6198bd0c76770a4f30cdb47dc0de..188df25eef0b296cf8a96659393ee29990d6c870 100644 (file)
@@ -1,5 +1,5 @@
 LEVEL = ../../..
-TOOLNAME = clang
+TOOLNAME = clang-cc
 CPPFLAGS += -I$(PROJ_SRC_DIR)/../include -I$(PROJ_OBJ_DIR)/../include
 CXXFLAGS = -fno-rtti
 
index b49813a4a38e8a8a2f69f357ab7013fd4f50ff90..a55034722875f8866612f117e38e35d393dcf082 100644 (file)
@@ -332,7 +332,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
   }
       
   const char *Exec = 
-    Args.MakeArgString(getToolChain().GetProgramPath(C, "clang").c_str());
+    Args.MakeArgString(getToolChain().GetProgramPath(C, "clang-cc").c_str());
   Dest.addCommand(new Command(Exec, CmdArgs));
 
   // Claim some arguments which clang doesn't support, but we don't
index 43ec99dc3bc36910bdb6517eb72033d48baffa9f..dfc736627bfca954493f28eabf336e0f8144d650 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -analyze -checker-cfref -verify -fobjc-gc -analyzer-constraints=basic %s &&
-// RUN: clang -analyze -checker-cfref -verify -fobjc-gc -analyzer-constraints=range %s &&
-// RUN: clang -analyze -checker-cfref -verify -fobjc-gc -disable-free %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fobjc-gc %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fobjc-gc %s
+// RUN: clang-cc -analyze -checker-cfref -verify -fobjc-gc -analyzer-constraints=basic %s &&
+// RUN: clang-cc -analyze -checker-cfref -verify -fobjc-gc -analyzer-constraints=range %s &&
+// RUN: clang-cc -analyze -checker-cfref -verify -fobjc-gc -disable-free %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -fobjc-gc %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -fobjc-gc %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 40b6a91af76e8b6544916cbeb4fa18ed08311df9..f62d2ab569d49ce47d8dab1ea67ad64969bd3336 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify -triple x86_64-apple-darwin9 %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify -triple x86_64-apple-darwin9 %s &&
+// RUN: clang-cc -analyze -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 119a05e35bb11c4ab9721b1356a103855a26266f..1ff950725c024ed462fdd9f87c8e2646c89ad0eb 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic &&
-// RUN: clang -analyze -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic &&
-// RUN: clang -analyze -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=region &&
-// RUN: clang -analyze -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=region
+// RUN: clang-cc -analyze -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=basic &&
+// RUN: clang-cc -analyze -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=basic &&
+// RUN: clang-cc -analyze -checker-cfref -verify %s -analyzer-constraints=basic -analyzer-store=region &&
+// RUN: clang-cc -analyze -checker-cfref -verify %s -analyzer-constraints=range -analyzer-store=region
 
 typedef struct objc_selector *SEL;
 typedef signed char BOOL;
index c405a10e369edba7fed8aa3d5ca51650e8764017..2887d47c51183000188e3f5d0ea6ae390cfd35b2 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 typedef struct CGColorSpace *CGColorSpaceRef;
 extern CGColorSpaceRef CGColorSpaceCreateDeviceRGB(void);
index 10f79e8c2f1eb16c90377169181e8ebcea064055..28435727eb79506db5ffa74d69aa5330e8fca047 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 
 typedef signed char BOOL;
index b06c63d426e392b85a763dfb448bc009868a1840..41498e56ec1d89e8cec1c71ab623c35ddf86bc50 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -warn-objc-missing-dealloc '-DIBOutlet=__attribute__((iboutlet))' %s --verify
+// RUN: clang-cc -analyze -warn-objc-missing-dealloc '-DIBOutlet=__attribute__((iboutlet))' %s --verify
 typedef signed char BOOL;
 @protocol NSObject
 - (BOOL)isEqual:(id)object;
index b7ecfef87d09307cea7d764f5c214b308cee5068..8f8f5626b3fd71e110a839f904bc7efdfd4d2b13 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 // BEGIN delta-debugging reduced header stuff
 
index 29e332402ed36c681d45304b308bd823848ee7ec..3e2155b7c12adf73094c0c0a3ffe02a145ea0c9e 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 6bddaeb695c4b2306bdbef39919d23d17e861263..9609c5260f53796bac97e6d38b58d5c088f13f66 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -warn-dead-stores -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -warn-dead-stores -analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -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 9a0e48403f0d2b79acfbb7fe0adbfaba49f8d0d0..a43f99bdd79bbb4c923eeb16bd2d56196974ccc0 100644 (file)
@@ -1,9 +1,9 @@
-// RUN: clang -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 #include <stdarg.h>
 
index adee5e2e5818381853c3b617fc06a6786879d044..7787a1d6ecdc3543372d8987da5049a7d421cc2e 100644 (file)
@@ -1,9 +1,9 @@
-// RUN: clang -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic %s -verify &&
-// RUN: clang -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=range %s -verify &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic %s -verify &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range %s -verify &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic %s -verify &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range %s -verify
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic %s -verify &&
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=range %s -verify &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic %s -verify &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range %s -verify &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic %s -verify &&
+// RUN: clang-cc -analyze -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 2d1aa80d1256c6c74e0c2e3741a152ddaae01e0b..0d699168a551d84a1cd7066914ea54753efebeeb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -warn-objc-methodsigs -verify %s
+// RUN: clang-cc -analyze -warn-objc-methodsigs -verify %s
 
 #include <stdio.h>
 
index 6f107df35d2ca0ff8322d3924ecedfae973d6685..098bfe8e8539842677837dcc6ee7410d66c96645 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s &&
-// RUN: clang -analyze -analyzer-constraints=range -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s &&
-// RUN: clang -analyze -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s &&
-// RUN: clang -analyze -analyzer-constraints=range -analyzer-store=region -checker-cfref -fobjc-gc -verify %s
+// RUN: clang-cc -analyze -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s &&
+// RUN: clang-cc -analyze -analyzer-constraints=range -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s &&
+// RUN: clang-cc -analyze -analyzer-constraints=basic -analyzer-store=basic -checker-cfref -fobjc-gc -verify %s &&
+// RUN: clang-cc -analyze -analyzer-constraints=range -analyzer-store=region -checker-cfref -fobjc-gc -verify %s
 
 typedef const void * CFTypeRef;
 typedef const struct __CFString * CFStringRef;
index e2a031dd06878419feb2f49612a487e9fd956445..2b4c9177745b232dab002372336d8c340b552d67 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -warn-objc-missing-dealloc %s -verify
+// RUN: clang-cc -analyze -warn-objc-missing-dealloc %s -verify
 
 // Tests for the checker which checks missing/extra ivar 'release' calls 
 // in dealloc.
index 60a3d3118d73a328174c5c9e93af2987beff66e8..7e5e6243c6a8a94093a844b3068006c9f47f44ef 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 struct s {
   int data;
index 68de2c8ef7cd3d01ca8233db5905b100696aa90d..82c29fac904f330ae510eb22b8795e5decab2ade 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic --verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region --verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic --verify %s &&
+// RUN: clang-cc -analyze -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 a37af6d64fb7ed9bb6ce98271272247129aeeec6..695123b533458450da5af8b1379d71600e5d238d 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref --analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref --analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref --analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref --analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=region -analyzer-constraints=range -verify %s
 
 typedef unsigned char Boolean;
 typedef signed long CFIndex;
index c088ec426f830b24ab728ed389048bf6754f062c..5d957615d0dd2ca272601aba54873ef507d405ea 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -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 eed3ed44f33120b9e37fbfc8b5c07d1aa9a5a08f..f29fc70c49442ea8d409e4bc8d74f4cd5c034842 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -verify %s
 
 #include <stdint.h>
 
index 4854c28c7d91ca0ee0b57c683e3eec899e6183df..bebf155f46405e6f3dce328ae0604d7a6e81a0c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -warn-dead-stores -warn-uninit-values -verify %s
+// RUN: clang-cc -analyze -warn-dead-stores -warn-uninit-values -verify %s
 
 void f1()
 {
index c151057096e728a71bc90b0ad19501398d9245f3..d632c695a90daa19f33cf382ba5c36e2e2d92c4f 100644 (file)
@@ -1,10 +1,10 @@
-// RUN: clang -analyze -warn-dead-stores -verify %s &&
-// RUN: clang -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -verify %s &&
-// RUN: clang -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -warn-dead-stores -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -warn-dead-stores -verify %s
+// RUN: clang-cc -analyze -warn-dead-stores -verify %s &&
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -verify %s &&
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=basic -warn-dead-stores -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -analyzer-constraints=range -warn-dead-stores -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=basic -warn-dead-stores -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -analyzer-constraints=range -warn-dead-stores -verify %s
 
 void f1() {
   int k, y;
index ee948538858476ca13617e7ca6672a379b47af7f..218cb445858024579530c59ffc24c40948e99b74 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -warn-dead-stores -verify %s
+// RUN: clang-cc -analyze -warn-dead-stores -verify %s
 
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index 1b001ec3cbe218bcd7775b803605a89f3e923e4c..08842b1b8dbfd6658c2490459028f04276709d94 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -analyze -checker-simple -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-simple -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s &&
+// RUN: clang-cc -analyze -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 aa7acf26d1166b0c63cafeb86a2e37f82331a055..d6bf73f9af14313bc7899614b79456e98e9b8d62 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -analyze -checker-cfref %s --analyzer-store=basic -verify &&
-// RUN: clang -analyze -checker-cfref %s --analyzer-store=region -verify &&
-// RUN: clang -analyze -checker-simple %s -verify
+// RUN: clang-cc -analyze -checker-cfref %s --analyzer-store=basic -verify &&
+// RUN: clang-cc -analyze -checker-cfref %s --analyzer-store=region -verify &&
+// RUN: clang-cc -analyze -checker-simple %s -verify
 
 unsigned foo();
 typedef struct bf { unsigned x:2; } bf;
index 94ca2694fea5275b29985d299568a4f8c9841afe..ac067a98103c56dbcade7b418e9b630f587db251 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -analyze -checker-simple -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-simple -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
 
 void f(void) {
   void (*p)(void);
index 00183e7b8dc96250fe873ca76b84a02c2ac6e206..1207f8663e90a76818a8af0a3cc607c8ed0a517d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-cfref --analyzer-store=basic --verify -fblocks %s
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=basic --verify -fblocks %s
 
 //---------------------------------------------------------------------------
 // Test case 'checkaccess_union' differs for region store and basic store.
index 4dd8f2536c484785d0007dcd3cfc893ac461ccfe..818922eba9255afa25e4caacd2fa5069a4d4caf9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-cfref --analyzer-store=region -analyzer-constraints=range --verify -fblocks %s -analyzer-eagerly-assume
+// RUN: clang-cc -analyze -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 486d7ac2aab87a85b0f9a4f045d90748652018c1..8c8815ea63eb2ea2896a41b8c20fc90beb23627c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-cfref --analyzer-store=region --verify -fblocks %s
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=region --verify -fblocks %s
 
 typedef struct objc_selector *SEL;
 typedef signed char BOOL;
index 1f4b7632bc74bb925a05150cc6405ebf0f4f44b3..0ee47ce67db2dd1feefcab1d59d7d12924aad54e 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -checker-cfref --analyzer-store=basic -analyzer-constraints=basic --verify -fblocks %s &&
-// RUN: clang -analyze -checker-cfref --analyzer-store=basic -analyzer-constraints=range --verify -fblocks %s &&
-// RUN: clang -analyze -checker-cfref --analyzer-store=region -analyzer-constraints=basic --verify -fblocks %s &&
-// RUN: clang -analyze -checker-cfref --analyzer-store=region -analyzer-constraints=range --verify -fblocks %s
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=basic -analyzer-constraints=basic --verify -fblocks %s &&
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=basic -analyzer-constraints=range --verify -fblocks %s &&
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=region -analyzer-constraints=basic --verify -fblocks %s &&
+// RUN: clang-cc -analyze -checker-cfref --analyzer-store=region -analyzer-constraints=range --verify -fblocks %s
 
 typedef struct objc_selector *SEL;
 typedef signed char BOOL;
index 6752008d67b9fbc95571445aa1daa4cb7e4e2d4f..cad2127b208265fe3a3f791152369bfd84cc6fd6 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s 
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s &&
+// RUN: clang-cc -analyze -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 fe94d6fe7c85342ca02d44cb6073705d859b0922..bd63c7edf0e7350bb2184e4027c34711598fda29 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -analyze -std=gnu99 -checker-simple -verify %s &&
-// RUN: clang -analyze -std=gnu99 -checker-simple -verify %s   -analyzer-constraints=range &&
-// RUN: clang -analyze -std=gnu99 -checker-simple -analyzer-store=region -analyzer-purge-dead=false -verify %s &&
-// RUN: clang -analyze -std=gnu99 -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -std=gnu99 -checker-simple -verify %s &&
+// RUN: clang-cc -analyze -std=gnu99 -checker-simple -verify %s   -analyzer-constraints=range &&
+// RUN: clang-cc -analyze -std=gnu99 -checker-simple -analyzer-store=region -analyzer-purge-dead=false -verify %s &&
+// RUN: clang-cc -analyze -std=gnu99 -checker-cfref -analyzer-store=region -verify %s
 
 #include<stdint.h>
 #include <assert.h>
index 4ab2326fcd8907a612ff97d817642dcad9cedf35..953075fe03d79be9a81748e7173dba45a275af61 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-simple -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=region -verify %s
 
 char f1() {
   char* s = "abcd";
index 87c3eb8dfef68d4f69ae2bf2e5f2a03d45bcadf0..ea8b7f566615a3b88c3420cab5412c2730c6bfcb 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -analyze -checker-simple -analyzer-store=region -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify -triple x86_64-apple-darwin9 %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify -triple i686-apple-darwin9 %s
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=region -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify -triple x86_64-apple-darwin9 %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify -triple i686-apple-darwin9 %s
 
 void f1() {
   int a[10];
index e53b09411c68a602468e1bd46f6bc6110299eec9..15d3498840930d180c64fd187d353a1d7b8490ef 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref %s --analyzer-store=basic -verify &&
-// RUN: clang -analyze -checker-cfref %s --analyzer-store=region -verify
+// RUN: clang-cc -analyze -checker-cfref %s --analyzer-store=basic -verify &&
+// RUN: clang-cc -analyze -checker-cfref %s --analyzer-store=region -verify
 
 typedef int bar_return_t;
 typedef struct {
index 5fe2d293c1cc84f1aba69acf5f97dc93745a2fae..c1c989154337f0d669700d6b92afbef7128677c6 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
 
 typedef const struct __CFAllocator * CFAllocatorRef;
 typedef struct __CFDictionary * CFMutableDictionaryRef;
index e1347d92eb53a0226021d357731f0910e8115a86..c788543bf39d95f2fc2d10d498d3d84d1aedfb80 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -warn-dead-stores -verify %s
+// RUN: clang-cc -analyze -warn-dead-stores -verify %s
 //
 // This test exercises the live variables analysis (LiveVariables.cpp).
 // The case originally identified a non-termination bug.
index 270fa33fbc668fce14f435437bda2cba64644631..90960dd4f617910beab6172dd1b6c719ef8582da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify -analyze -checker-cfref -analyzer-store=region %s
+// RUN: clang-cc -verify -analyze -checker-cfref -analyzer-store=region %s
 
 struct tea_cheese { unsigned magic; };
 typedef struct tea_cheese kernel_tea_cheese_t;
index f90837c7dc259f612d7a7a315f854c37a936ec22..6e6a479136b98231864d90b59a64126c4aa4287f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify -analyze -checker-cfref -analyzer-store=basic %s
+// RUN: clang-cc -verify -analyze -checker-cfref -analyzer-store=basic %s
 
 struct tea_cheese { unsigned magic; };
 typedef struct tea_cheese kernel_tea_cheese_t;
index bb9afabd7dddf14fae63176ee3fd8454aa9d481b..581d6eacf0857504dd9a143f2744e31edc34e244 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-cfref -analyzer-constraints=basic -analyzer-store=basic -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-constraints=basic -analyzer-store=basic -verify %s
 //
 // This test case mainly checks that the retain/release checker doesn't crash
 // on this file.
index 0e1c9055b0600ccb16c99397b21f1be1e3e529d0..9ec38ef7a5f095184f4ea55fd60a1d72f03b1db2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s
 
 typedef const void * CFTypeRef;
 typedef double CFTimeInterval;
index 881addf2d4fe729b7102dea5265e5f0191a4b59f..d1f0802abf8e64bcacd9efb03720816bce9d0ff8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify
+// RUN: clang-cc -analyze -checker-cfref -analyzer-constraints=basic -analyzer-store=basic %s -verify
 
 typedef struct Foo { int x; } Bar;
 
index 5af3711d2543390455b8696a768094970b493c0b..bea404799ba3474945eb715fe82a3b5a63e58943 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
 
 typedef const struct __CFString * CFStringRef;
 typedef const struct __CFAllocator * CFAllocatorRef;
index 2d44091a5fed5c94cfb8232d80e29f29251ee45a..f9905079eb5c86c0b3d5a00346966447a0228366 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s &&
+// RUN: clang-cc -analyze -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 701da72f82ea31aed247b3981f86922ade38e01b..fdc740488a2cda2eab24d88cb014d90f4746e348 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-simple -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=region -verify %s
 
 // Region store must be enabled for tests in this file.
 
index 651135a72f9a4990cef7c87dcffb77eb0227c8cc..b16c231ce23b147b1978e3c593395f587c2d8978 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 231eec9aa69260aabb22c37c8e271704d80684d6..b378b048ce4b27f0fb8f9bf360dba80131ea7c3a 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref -verify -fobjc-gc-only %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -fobjc-gc-only -verify %s
+// RUN: clang-cc -analyze -checker-cfref -verify -fobjc-gc-only %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -fobjc-gc-only -verify %s
 
 //===----------------------------------------------------------------------===//
 // Header stuff.
index 651ffa76dfbff0d373cb6aa883ca365ca1648ccb..66950e2190ed9434deda99d8f5f7012fb6f52403 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 9fd15d3e7a5b3e1231007e5dbe03c3c8514ff457..6e75b0d3219690807ed1855a898342198278c4df 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-cfref -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
 
 
 //===----------------------------------------------------------------------===//
index 3ee2063e2460bfa89c135a483e024ef7a84e9b48..aa3c135f374529a0d075accac165c1cfd83e8e98 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -analyze -checker-simple -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-simple -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
 
 #include <stdlib.h>
 
index aad1a721f14de14139e19009aa730fdd4972fd54..161ab8041de1133080c46399ee1de40155b6da44 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -analyze -checker-simple -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-simple -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 126a5940235e0355fd2a8889e641542e617364bb..49eb26984a0ba6dd9e32de9f6346ff65b2872cbf 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -verify -analyzer-store=basic -checker-cfref %s &&
-// RUN: clang -analyze -verify -analyzer-store=region -checker-cfref %s
+// RUN: clang-cc -analyze -verify -analyzer-store=basic -checker-cfref %s &&
+// RUN: clang-cc -analyze -verify -analyzer-store=region -checker-cfref %s
 
 // Delta-Debugging reduced preamble.
 typedef signed char BOOL;
index 7e3d711bae812363aa290d8b74b80cbd43391de8..6f3762ee10bf3c056d0358889898839001af3a96 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -checker-simple -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-simple -analyzer-store=region -verify %s
 
 struct s {
   int data;
index 659bee748f1642a3caf40045b580f63bf9e2a855..37075a2ef85fa2a4d183bb8aa2287a9d87ec4898 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-cfref -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
 
 struct FPRec {
   void (*my_func)(int * x);  
index 2f2c33d67d7f89a58c590a83a6573ac4ef656718..bb0b8a49e740e325f6caa454abfac86e75f3430d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -warn-uninit-values -verify %s
+// RUN: clang-cc -analyze -warn-uninit-values -verify %s
 
 int f1() {
   int x;
index 85efe5700b28b96eec2b290e2e5827637814a9aa..7be247e7ca9ec957f0dd23e328240d00e2660742 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -analyze -checker-cfref -analyzer-store=basic -verify %s &&
-// RUN: clang -analyze -checker-cfref -analyzer-store=region -verify %s
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=basic -verify %s &&
+// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
 
 typedef unsigned int NSUInteger;
 
index f1568dacc1879dba1520c420494f1f3772a885ab..632b395c3e081d267c2b247f9145e6260e86fe76 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -analyze -warn-objc-unused-ivars %s -verify
+// RUN: clang-cc -analyze -warn-objc-unused-ivars %s -verify
 
 @interface A
 {
index 74203c5b1e78260d88bb7ee3ffa1294b335ad137..3b158241c68e117129635e8f3f2a114c6a0f1ce3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 int array[] = {1, 2, 3, 4, 5};
 
index 65f54115425c949e35d64504adef731ac658a35a..dc2ebb75d598349cfaedacc9f9778908a5131e1f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 // PR1990
 
 struct test {
index 3818e961c73d5a6237a1c6a2a91a0f70b6871f4c..fc69e58ed3cf9594c908e4acfed85240b142786f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 
 struct test {
   unsigned a:1;
index 668b06c0d18b0021e869dcf7cdec8a819920a59a..a6816f5de8ff462e983c164c4606e120269de449 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s | grep "\$0,\$1"
+// RUN: clang-cc -emit-llvm < %s | grep "\$0,\$1"
 
 void f() {
   int d1, d2;
index 1d3c87be9122c4b0cbe2296e21f88e21f3a73601..89aeb18d9d135d955f33c33ceee64e4d0c5a22bb 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: rm -f %t1.bc 
-// RUN: not clang %s -emit-llvm-bc -o %t1.bc
+// RUN: not clang-cc %s -emit-llvm-bc -o %t1.bc
 // RUN: not test -f %t1.bc
 
 void f() {
index a7d09765134ffe21141173b1ee179225d0559de5..c55c86b2fc6c7b90d88965f361cd14323b82f428 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - %s | grep -e "@g[0-9] " | count 2
+// RUN: clang-cc -emit-llvm -o - %s | grep -e "@g[0-9] " | count 2
 
 int g0, f0();
 int f1(), g1;
index a9708516fbc6a5a6ce9ca0612fa9c3b89204fc24..19bf9a2b078e6dd5ddfaba89c79ef1d30682f919 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang --emit-llvm -o %t %s &&
+// RUN: clang-cc --emit-llvm -o %t %s &&
 // RUN: grep "i8 52" %t | count 1
 
 struct et7 {
index b41b5e0e40d17e7de0836ba7020c92a6483ba0c0..437a4be156b758e336e3e33f41b95579beb42bdd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o -
+// RUN: clang-cc %s -emit-llvm -o -
 
 int main () {
   struct foo {
index 115cc33b04e10b13b8b3c98599f28418dd0cb1d4..43f4e3ecedae08d63049d9942678fcf99ba1a7cd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - %s | grep -e "^@f" | count 1
+// RUN: clang-cc -emit-llvm -o - %s | grep -e "^@f" | count 1
 
 int x() {}
 
index 9dd05bffbf2799933eb2931929eb9e842e53a62c..2f4c14eb728b4c79a1d8fabe9eea621755703277 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt --std-compile-opts | llvm-dis > %t &&
+// RUN: clang-cc -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 f7c2908d98ff529fc0ed34b74714a12a96ef7a45..c374f8d008434a49f6678bdc38ace5b6c8fbccf5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang --emit-llvm -o - %s
+// RUN: clang-cc --emit-llvm -o - %s
 // <rdar://problem/6108358>
 
 /* For posterity, the issue here begins initial "char []" decl for
index 8aba2d39a7285fcd866e4fe66f46f61e37439df0..f114f65eded2c3e3e9ccdea287b48800738a2856 100644 (file)
@@ -1,9 +1,9 @@
-// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 -DUSE_DEF -emit-llvm -o %t %s &&
+// RUN: clang-cc -DUSE_DEF -emit-llvm -o %t %s &&
 // RUN: grep "@pipe()" %t | count 0 &&
 // RUN: grep '_thisIsNotAPipe' %t | count 3
 // <rdr://6116729>
index f1243dcbdec2318685db664741ee93e176a5a551..0ce4ba66ca12b5650a31272ad7e0d025989e6923 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis | grep "ret i32 1" | count 3
+// RUN: clang-cc -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 fc54dcac5e7b99607bb5a6a80cec99158a1d16f0..22815f32ccc455118560f930837a7cdde7e867cf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang --emit-llvm -o - %s
+// RUN: clang-cc --emit-llvm -o - %s
 // <rdar://problem/6122967>
 
 int f0(void *a, void *b) {
index 581c79356b66efa322bd8d0caa6dc4331287aa55..3db5e903090accb0ecc998954bf9538063566d10 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang --emit-llvm -o %t %s
+// RUN: clang-cc --emit-llvm -o %t %s
 
 typedef short T[4];
 struct s {
index c58935590b879c7c98f797cf7e70a8a876dedbcf..3cc42d89f6fa80190dee9fefcc3bc13a0391acf4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s
+// RUN: clang-cc -emit-llvm -o %t %s
 
 @protocol P0
 @end
index 62a420eed3d499a995a832c96e51b9c0cf79d9cf..2526dd9289c8ba536aeea375598488fd09c00bf2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s
+// RUN: clang-cc -emit-llvm -o %t %s
 // PR2817
 
 void f0(void) {
index ba8f86c4fc58f538ff6819e62afa141962e11618..d54bf287d2e2acb3d0b04d311990b5e275d39b62 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - %s | grep "store i32 1"
+// RUN: clang-cc -emit-llvm -o - %s | grep "store i32 1"
 // PR3150
 
 int a() {return 1||1;}
index 509a6fb4ed49a2e4fbc55f6a780fab90ee245488..9a955a1c0d95543b43d2828a5682d6ea3f995a69 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -S -g -o %t.s %s
+// RUN: clang-cc -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 7a18cea28d4bd876dc909b0b65c958aa86862ac0..f0aaafda60ea9af8f43149736934c89f7f4296e7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -O1 < %s | grep "ret i32 0"
+// RUN: clang-cc -emit-llvm -O1 < %s | grep "ret i32 0"
 
 int a(void) {
   return ++(struct x {unsigned x : 2;}){3}.x;
index f005f2a0e5f87a68c690fdd0f938962491918c1c..b994c300024616f87947de2bf704742272215e59 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 typedef struct a b;
 
 b* x;
index 7474f3e5c0e4c59917ae36bceb42c3459ec40d0a..797b494cf82315dfbb600f9a9c7a2b6379201fe1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt --std-compile-opts | llvm-dis > %t &&
+// RUN: clang-cc -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 1" %t | count 1
 // PR2001
index 9a66471b89ea450b51e450ef18708bf783fcf725..95a4c6d80fc32379cad1d77513b9a7da9531a7e4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o -
+// RUN: clang-cc -emit-llvm %s -o -
 void f()
 {
         void *addr;
index 4fef84255a5612ffcfbe45b42b346b5766d233a2..6a5b0e92f660ffe24f484efae76d0dcab0c67bd1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - %s
+// RUN: clang-cc -emit-llvm -o - %s
 // PR2643
 
 void foo() {
index 007a22f6ee88f49056a976390883048e340bd752..e152c52585278926777491abef16829cdf895dde 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s
+// RUN: clang-cc -emit-llvm -o %t %s
 // PR2743
 // <rdr://6094512>
 
index 7aa2ce1bc06bf1f6a5e202cccec3d815833f7cd2..e488eeb37f67775129d7269ec057653fa70b059c 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -emit-llvm %s -o -
+// RUN: clang-cc -emit-llvm %s -o -
 
 int a = 2.0 ? 1 : 2;
index 61852e3c49bf5dbcb90e6c654522f3990b945150..90b5fff1620f0d0c13654b5f71c421c7ef69d3b4 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -emit-llvm %s -o - | grep 'declare i32 @printf' | count 1 &&
-// RUN: clang -O2 -emit-llvm %s -o - | grep 'declare i32 @puts' | count 1 &&
-// RUN: clang -ffreestanding -O2 -emit-llvm %s -o - | grep 'declare i32 @puts' | count 0
+// 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
 
 #include <stdio.h>
 
index 6dcaa183d3f45a7f3a5792aea7acce29fd26fe03..365b9b2be05e60b8783f35aafe5c54fa8ea9e27e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o %t %s &&
 // RUN: grep '@g0 = internal global .struct.s0 <{ i32 3 }>' %t | count 1
 
 struct s0 {
index 85944a3794822288e7736a8dc14b217baac89a63..24c42f649bbe2133b140e649fde13a602c4318cb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o - -O1 -triple=x86_64-gnu-linux | grep "i64 -1"
+// RUN: clang-cc -emit-llvm %s -o - -O1 -triple=x86_64-gnu-linux | grep "i64 -1"
 
 // PR3709
 long long a() { return (long long)(int*)-1;}
index 473c8e0e81c9bb4897360dc82f27d1aa4790e44c..2fba5ecd7dcaf725d8ba96b06c25f1df25658505 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s
+// RUN: clang-cc -emit-llvm < %s
 
 volatile unsigned char* const __attribute__((address_space(1))) serial_ctrl = 0x02;
 
index 46b194e3146e8db10427cd0f67c90c73e33af835..3b6a8e654167ff6a8f6a446ce2bca4b29318ad32 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -emit-llvm < %s | grep '@foo.*global.*addrspace(1)' &&
-// RUN: clang -emit-llvm < %s | grep '@ban.*global.*addrspace(1)' &&
-// RUN: clang -emit-llvm < %s | grep 'load.*addrspace(1)' | count 2 &&
-// RUN: clang -emit-llvm < %s | grep 'load.*addrspace(2).. @A' &&
-// RUN: clang -emit-llvm < %s | grep 'load.*addrspace(2).. @B'
+// 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'
 
 int foo __attribute__((address_space(1)));
 int ban[10] __attribute__((address_space(1)));
index 8fa788a6a216fc97dafb84e6082a07fa0ec6cbb5..c1a3baa929328323df580d96c095a94bb52b86ea 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-pc-linux-gnu -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 46f83fab8db7cbc0211f0e1dbda602bcd23a7275..afbe1d5dd0d0b7165d84426b84a6d03ba062bc54 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s | grep "align 16" | count 2
+// RUN: clang-cc -emit-llvm < %s | grep "align 16" | count 2
 
 typedef struct __attribute((aligned(16))) {int x[4];} ff;
 
index edeb0db771e5b952f83bc84409ec3638aa8f2738..d39f4e418eb1283a3906d2c01e0f82b1840e996d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s &&
 // RUN: grep 'ret i32 4' %t
 
 enum e0 { E0 };
index ed56b5be63d427e62b7d32239960b33519ae8158..5bcc26ecf38b0dac5ffd1462445160c9a48e65c0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 int f() {
  int a[2];
index d6030a64ba8f9a2de0afd81894c551512f2d5806..91d6320ac54bbaff108234faa4160b955c0effab 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t -arch=i386 &&
+// RUN: clang-cc -emit-llvm %s -o %t -arch=i386 &&
 void t1(int len) {
   __asm__ volatile("" : "=&r"(len), "+&r"(len));
 }
index bfebd345829cd6d6e773248ea4dea9a1a851be55..0e2d850dbb1aee5187cd95a5652a83e79e3244bd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o - > %t1 &&
+// RUN: clang-cc %s -emit-llvm -o - > %t1 &&
 // RUN: grep @llvm.atomic.load.add.i32 %t1 &&
 // RUN: grep @llvm.atomic.load.sub.i32 %t1 &&
 // RUN: grep @llvm.atomic.load.min.i32 %t1 &&
index c9778c47f22829061d5c5a1a9d1688ce9b9756b2..b96ad26d6d04c0cb451c70b75a2de3b0da164196 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -g -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -emit-llvm -o %t %s &&
 // RUN: not grep 'call void @llvm.dbg.func.start' %t
 
 void t1() __attribute__((nodebug));
index 5aacf64a94410350cf101fffcf3be591af221c42..199c2918d42553ce9ceb11e8a92bc7188c1654a0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -g -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -emit-llvm -o %t %s &&
 // RUN: grep 'noinline' %t
 
 void t1() __attribute__((noinline));
index c7f67600c0bd7be6c26014c8e362a170411b9500..8521ffd2e4bbb9a36523c3261f195a67b8854766 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 25b9fd064df009d0da4dd1d1a8d8551f45a48cd1..d45d5124b010e8cc34d62024c6324b4c882f6375 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang-cc -emit-llvm -o %t %s &&
 // RUN: grep 't1.*noreturn' %t &&
 // RUN: grep 't2.*nounwind' %t &&
 // RUN: grep 'weak.*t3' %t &&
index 0453d77ba041d53f4916a9bfa86892608d457c14..05d4dda353c79eed4b302b6e054b76aec5ba934d 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 -triple i386-unknown-unknown -O0 -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 -triple i386-unknown-unknown -O3 -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple i386-unknown-unknown -O3 -emit-llvm -o %t %s &&
 // RUN: grep 'load ' %t | count 0 &&
 // RUN: grep "@g0" %t | count 0
 
index 1749bd3ff4d2dfa9027d3f878d0352f3da14905d..f0cc0b15680a26cccff2d101daa2892f8f0f3b46 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 typedef struct { unsigned int i: 1; } c;
 const c d = { 1 };
 
index 6473d0760f828ea8a4d9c4a3102dbb32ba448a9f..da9a14884e234c15d345bb2a8aa5be0b877b2f45 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis > %t &&
+// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis > %t &&
 // RUN: grep "ret i32" %t | count 4 &&
 // RUN: grep "ret i32 1" %t | count 4
 
index 54a83515680b37a1fcfb192bffad615cd4f02c74..5fbe76c15dffebf613206b4e09af80a3875aa8c2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t -fblocks -f__block &&
+// RUN: clang-cc %s -emit-llvm -o %t -fblocks -f__block &&
 // RUN: grep "_Block_object_dispose" %t | count 15 &&
 // RUN: grep "__copy_helper_block_" %t | count 12 &&
 // RUN: grep "__destroy_helper_block_" %t | count 12 &&
index d3d4cefacc4b0352ad576c718081330ce200a7f5..4dfe553aecb4560c73486be71def8aa15c22de52 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang %s -emit-llvm -o %t -fblocks
+// RUN: clang-cc %s -emit-llvm -o %t -fblocks
 void (^f)(void) = ^{};
index d50927f9f33d96e296b45104a988ceea8b84aed0..50990a47c2857063d76a3ad5a43ceb07ba786ad1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 // From GCC PR19331
 struct SysParams
index 5e8bae1a93aa24a1a2e415c33d3d7a425be6c7cd..4df81bb82d7c15cb0a3e2924a7c48fd879dd1117 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s | grep i1 | count 1
+// RUN: clang-cc -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 2e5d56a0a1cd2bced33881898126749c0f256053..7d331ed07eb08e2c6306164c94686778de20632b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s | grep i1 | count 1
+// RUN: clang-cc -emit-llvm < %s | grep i1 | count 1
 
 // Check that the type of this global isn't i1
 _Bool test = &test;
index 0d4bf490ed6ef541b312b16811123160d7d94eac..2d14f8c1de19b14ca6887395ebad648c67bbf2d9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 
 int testBoolAssign(void) {
 int ss;
index 5453cb1d8905ef2ed383e41dc97a54c7bbd7e749..374acc43ae58bd882551b9e82fca0697df51c783 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o - | grep 'cttz' | count 2 &&
-// RUN: clang -emit-llvm %s -o - | grep 'ctlz' | count 2
+// RUN: clang-cc -emit-llvm %s -o - | grep 'cttz' | count 2 &&
+// RUN: clang-cc -emit-llvm %s -o - | grep 'ctlz' | count 2
 
 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);}
index 52b3a1d174a09fc19073e23728d6d3477c66c9b2..e9e239624e65d7d05019d9312ced9ebf7a21b883 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -arch i386 -emit-llvm -o %t %s &&
+// RUN: clang-cc -arch i386 -emit-llvm -o %t %s &&
 // RUN: grep '@llvm.memset.i32' %t &&
 // RUN: grep '@llvm.memcpy.i32' %t &&
 // RUN: grep '@llvm.memmove.i32' %t &&
index b5e4fef61f79c7c70dbe4652cc3e98e40d9ffc9c..d0b5c2472de61a18b697fd231b463ef4dfec1130 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o - | grep 'declare.*printf' | count 1
+// RUN: clang-cc %s -emit-llvm -o - | grep 'declare.*printf' | count 1
 // PR3612
 
 int printf(const char *, ...);
index ddfb9dc790aafb41a8c16b0a9e38b22bab980dc9..5c6d540172a0836b68c56f823d3603390ec81b72 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -emit-llvm < %s | grep "llvm.returnaddress" &&
-// RUN: clang -emit-llvm < %s | grep "llvm.frameaddress"
+// RUN: clang-cc -emit-llvm < %s | grep "llvm.returnaddress" &&
+// RUN: clang-cc -emit-llvm < %s | grep "llvm.frameaddress"
 void* a(unsigned x) {
 return __builtin_return_address(0);
 }
index 8600d986965ba2ff4eee5475bddb9612da20e813..d1fdebbe828706cc9f39f85f1d98950dd16d2a3b 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -emit-llvm < %s -o - | grep "llvm.memcpy"
+// RUN: clang-cc -emit-llvm < %s -o - | grep "llvm.memcpy"
 
 char* x(char* a, char* b) {return __builtin_memcpy(a, b, 4);}
index 19a5cf9a679be8b338a1c8cd60ad937e19ea4a66..47469985eeda440d85e5321cd833d67fbfade228 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - %s > %t
+// RUN: clang-cc -emit-llvm -o - %s > %t
 // RUN: ! grep "__builtin" %t
 
 #include <stdio.h>
index 6d82f8af51ffdf7de9433d9f78c8c6f767c07fef..73f752f5e80e7d08490c8a3730e959790bd21821 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - %s > %t
+// RUN: clang-cc -emit-llvm -o - %s > %t
 // RUN: ! grep "__builtin" %t
 
 #include <stdio.h>
index 5e1aea4c6205b4869460c888987ad3324f63d9b9..17c2840a49a4f0e05d992d49dd62f45ffd053094 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -DUSE_64 -triple x86_64-unknown-unknown -emit-llvm -o %t %s &&
-// RUN: clang -DUSE_ALL -triple x86_64-unknown-unknown -fsyntax-only -o %t %s
+// 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
 
 #ifdef USE_ALL
 #define USE_3DNOW
index 7a5e5d938d3a6b227b500e86b36265cdeb4c59e6..d14a29e572ce0f4a0671f8940ee6825f4ee04fad 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang-cc -emit-llvm -o %t %s &&
 // RUN: not grep __builtin %t
 
 #include <stdio.h>
index de499f852806e78e750dcb028f9105e1952e2363..9a3ae610282e0db9026434b2c46450e2d72d8a1d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s | grep 'shufflevector' | count 1
+// RUN: clang-cc -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 a5a7ccd3b9c1a38174220334f5c1a79dd6887022..ee85f60ed15a7fe29757c84c884333e403dcc004 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 9f0b080d9508c515c67f54c75888f99918d9af97..03aee3e30c4fe368abd8d4894c0c3cc36a4bb919 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s -o %t &&
+// RUN: clang-cc -emit-llvm < %s -o %t &&
 // RUN: grep "store i32 351, i32*" %t &&
 // RUN: grep "w = global %0 <{ i32 2, i8 0, i8 0, i8 0, i8 0 }>" %t &&
 // RUN: grep "y = global %1 <{ double 7.300000e+01 }>" %t
index 00dd4c880d1be1b69bcce2e58dc9f75e82196abd..6fb2b116d47b7386e4ffb0c873c996be5ca9f8f1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 
 extern void go(const void *p);
 float v[2] = { 0.0, 1.0 };
index 3bd1a2d1834455290597a4ea0911b9ccaf796f08..a78dfdaf6502a674b370b0082a1427154473bbcb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 #define CFSTR __builtin___CFStringMakeConstantString
 
 void f() {
index f92dc8c1771172d39625c8048aac0b32a67ac633..7b808b4aab40e3267421a9e4f0518cbfc7a5ac4d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 #ifdef __APPLE__
 #include <Carbon/Carbon.h>
index cc734e6a36e7587e496ff7fb25cecdd55da2d5ba..3a134329a131ac71359bc9b0ecb6e13985008570 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t &&
+// RUN: clang-cc -emit-llvm %s -o %t &&
 // RUN: grep "store i32 0, i32\* %cleanup" %t | count 2
 void f(int n) {
   int a[n];
index 9c0e3d5fc5f10d3f249f7891e2ae1424ddaaad1e..75fae79715e6864ebe3f04bc926c7b0bf5fef416 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s
+// RUN: clang-cc -emit-llvm < %s
 
 int main(void)
 {
index a99ffe81704d31ccbdf2ae0286848b6f575a7fed..ef0436744dae5e49374e92ecd9023fd5583b0a18 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang < %s -emit-llvm
+// RUN: clang-cc < %s -emit-llvm
 
 int* a = &(int){1};
 struct s {int a, b, c;} * b = &(struct s) {1, 2, 3};
index c8afceef7600e4bf0e12eb6d2e4cf1eb054f7f3f..c54600705330b7dd69b4c8945e2583d6ada65a97 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang < %s -emit-llvm
+// RUN: clang-cc < %s -emit-llvm
 int A;
 long long B;
 int C;
index c3ff2bdccc5f974efae2b445cb31459494067e8a..1483d8af85928e20b08cf44371f768b768e2add8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 // PR1824
 
 int foo(int x, short y) {
index 81e5ff525c90ca3e73cb8bc252da596060e806a1..22286705c89c1f4cd8cec12633f1e171c03857c3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 float test1(int cond, float a, float b)
 {
index 30fc75524658f0fb0e39462ea8453308a42b4dfc..e7b83a33ce38709070d0bdc90eb94aeb32cfd3aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -arch i386 -verify -emit-llvm -o %t %s &&
+// RUN: clang-cc -arch i386 -verify -emit-llvm -o %t %s &&
 
 #include <stdint.h>
 
index 1ae74e5ad064eca71b80d63e1e50f284b66db200..f8c35c676783cd040497efffc7b1bb2474372d8a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 int a() {
 A:;static void* a = &&A;
 }
index b7b2a0ed5abb268925538a146f34e60689e82344..ea3e8962b3332a7bb5782ba0821299dcfaa62598 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -emit-llvm %s -o - 2>&1 | not grep warning &&
-// RUN: clang -emit-llvm %s -o - | grep @b | count 1
+// RUN: clang-cc -emit-llvm %s -o - 2>&1 | not grep warning &&
+// RUN: clang-cc -emit-llvm %s -o - | grep @b | count 1
 
 int a, b;
 int *c1 = 1 < 2 ? &a : &b;
index f75fa4f7fac742d3d1b37e091bcf11bc63e7673c..9a1fa76c622acb9f398070439ed37d2fc27d128f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 746aadda5521a3f95a9c136d4fae1a6c2cec33f5..330a17a10a43dcc2eb4df9885454f58243f69277 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 void f() {
   int a;
index 017b17d2c996c0924310965e8e2c88439054fa15..8391b9ccae196b26875fee0ea19f22b34552b2c5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -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 50e08dba02db203b3eb29b330fc444cd31450465..e23869879fbd3a82b45fabb13bd81e41c67619e7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 enum E {};
 int v1 = E();
index 2ecae9fa6d59f541a0c52105a2e339b1b4a74916..0cb01a34cdc379d0bc0bcd45105295a91b777948 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -o %t --emit-llvm -g %s
+// RUN: clang-cc -o %t --emit-llvm -g %s
 
 // PR3023
 void convert(void) {
index 617c4287d5603d3ee4734d0ddda0ca391be0f7da..94d446c4e0e463109c356fb136cd872f81ab0099 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown %s -emit-llvm -o - | grep "<{ i8\* null, i32 1024 }>"
+// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o - | grep "<{ i8\* null, i32 1024 }>"
 
 struct foo {
     void *a;
index 306f4ee26aba1fcebf855d9ce1294d7f2e48a523..fe49ae7a32af784d349d4ba3c0a69ec2e7383851 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s -o %t &&
+// RUN: clang-cc -emit-llvm < %s -o %t &&
 // RUN: grep 'dllexport' %t | count 1 &&
 // RUN: not grep 'dllimport' %t
 
index 63547da328c4f368250144722eeafed51d4e5f02..4fb3dcdee9bc269f8d69f64b6e8eef038316fbb1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o -
+// RUN: clang-cc %s -emit-llvm -o -
 
 int bar();
 int test0() {
index 68b6aecd670a34d441bfd7729f9d275e981fce1f..775cb6f118a831fef3e19b83468600ed0bb62717 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang-cc -emit-llvm -o %t %s &&
 // RUN: not grep "@foo" %t &&
-// RUN: clang -femit-all-decls -emit-llvm -o %t %s &&
+// RUN: clang-cc -femit-all-decls -emit-llvm -o %t %s &&
 // RUN: grep "@foo" %t
 
 static void foo() {
index 82ff84d0deb2179fc773a3b5b27be1c5342ff7cc..8448b3ded798bc86cb79ee69c62641fd2607814e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s -o -
+// RUN: clang-cc -emit-llvm < %s -o -
 // PR2419
 
 struct Mem {
index 50b558d250c35bf47b9d2662cb6d98a69c9be054..172d308c2b0b807b03104fab123e41f12716f2f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 6'
+// RUN: clang-cc -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 dbc14997d4e4d3d099d7dbab06aa4d957d74b4fd..808db178ef82611d3aa19d59417dd132893158d9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o -
+// RUN: clang-cc %s -emit-llvm -o -
 
 // PR1895
 // sizeof function
index dfeffac7a9850fd3bf88d900012d3d117ab73165..37d3ed42d060143eb9b3c3e4950f65eb2b6575d9 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang %s -emit-llvm -o - | not grep 'extractelement'
-// RUN: clang %s -emit-llvm -o - | not grep 'insertelement'
-// RUN: clang %s -emit-llvm -o - | grep 'shufflevector'
+// RUN: clang-cc %s -emit-llvm -o - | not grep 'extractelement'
+// RUN: clang-cc %s -emit-llvm -o - | not grep 'insertelement'
+// RUN: clang-cc %s -emit-llvm -o - | grep 'shufflevector'
 
 typedef __attribute__(( ext_vector_type(2) )) float float2;
 typedef __attribute__(( ext_vector_type(4) )) float float4;
index 0a57397d7cdd8f42e6f16ce5b9f1b405351bad80..249142a51044774c43a7cd533f8a25c376a36eb1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 typedef __attribute__(( ext_vector_type(4) )) float float4;
 typedef __attribute__(( ext_vector_type(2) )) float float2;
index 35136384913f427a380b35c5d5f777a86f67d4fe..e8de3e7f11fe17e88aa512a7ddc1f23a79b7ed4c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 
 int f() {
   extern int a;
index 0e2fcc69d11c2b7f17a789d3dcbf22adef49c4b8..fb98a8ec07a6dfa98a02f68742801a8272750f29 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -triple i386-unknown-unknown -emit-llvm -o - %s | grep 7 | count 1 &&
-// RUN: clang -triple i386-unknown-unknown -emit-llvm -o - %s | grep 11 | count 1 &&
-// RUN: clang -triple i386-unknown-unknown -emit-llvm -o - %s | grep 13 | count 1 &&
-// RUN: clang -triple i386-unknown-unknown -emit-llvm -o - %s | grep 15 | count 1
+// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | grep 7 | count 1 &&
+// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | grep 11 | count 1 &&
+// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | grep 13 | count 1 &&
+// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o - %s | grep 15 | count 1
 
 struct { int x; int y[]; } a = { 1, 7, 11 };
 
index fa1e3d69b1630243c7e055300197c7464d886b4e..4808e12fdfcc9c2a4195a4d3c4cf573f51982a52 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o -
+// RUN: clang-cc %s -emit-llvm -o -
 
 
 // PR2360
index f31a53afceeb4809099070561f83ea2d1ef832ee..e6fc5623904b18372226423da08634836440cc71 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s 2>&1 | not grep 'cannot codegen this l-value expression yet'
+// RUN: clang-cc -emit-llvm < %s 2>&1 | not grep 'cannot codegen this l-value expression yet'
 
 struct frk { float _Complex c; int x; };
 struct faz { struct frk f; };
index eb8b1e332496e5ad9218564b35a95b07c6695931..373eb63b700c10fcea92daa7c9da25acf80ace42 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm -o %t %s &&
 // RUN: grep 'define signext i8 @f0(i32 %x) nounwind' %t &&
 // RUN: grep 'define zeroext i8 @f1(i32 %x) nounwind' %t &&
 // RUN: grep 'define void @f2(i8 signext %x) nounwind' %t &&
index 3b50df79f6deae873280e86941d9c2d76ac5179a..55f580b303ce366d7882a871be29ab66c61dfaa8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t &&
+// RUN: clang-cc %s -emit-llvm -o %t &&
 
 int g();
 
index b0e35bd7a6da3835096cf169780ce699646c8e5d..f08a7dc13fd90f2ffb7c2a38a0abe86b22a826db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -arch i386 -emit-llvm -o %t %s &&
+// RUN: clang-cc -arch i386 -emit-llvm -o %t %s &&
 
 // RUN: grep '@g0_ext = extern_weak global i32' %t &&
 extern int g0_ext __attribute__((weak));
index 133a3b5373f55e8380cbc7896aed7c18f24ff8a0..4b769f8ccbb08b52ab2de82ada5927db1daf27bf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - %s | not grep "common"
+// RUN: clang-cc -emit-llvm -o - %s | not grep "common"
 
 // This checks that the global won't be marked as common. 
 // (It shouldn't because it's being initialized).
index be12c24f81df77b679638100719e89c61c38bc3a..29b4e21b91298a203ba89a3e59179437b0ba17be 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 const int globalInt = 1;
 int globalIntWithFloat = 1.5f;
index 1bcb3e48f5078e07b75ccfa60f4fc5021de7e6e9..2798cae712a237c2cdc39ff49de6f3caf9ab4555 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 int A[10] = { 1,2,3,4,5 };
 
index 09e08d729c2d45f4efdda0ddba5a4e3b6696edbd..a641268cf50f3d3aa18623556fb3b8f93003239b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o - | not grep opaque
+// RUN: clang-cc -emit-llvm %s -o - | not grep opaque
 
 enum teste1 test1f(void), (*test1)(void) = test1f;
 struct tests2 test2f(), (*test2)() = test2f;
index 62c2726d695c29c75259cd1d16285515d347b544..b9a60195387711a8ff8d02badf88f0a740736379 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown -emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t &&
+// RUN: clang-cc -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 210" %t | count 1
 
index 606f9dc8d005a750aec6876216aba4c8d85f0960..7750dbf9869d26f0dd732718acb38d4f9b782cea 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang < %s -emit-llvm
+// RUN: clang-cc < %s -emit-llvm
 struct test {
   int a;
 };
index b53b81edb8b4650b77d59c46e812465808dbf668..2e239cf5438c7a60724672a721a00c7960123ddc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown -emit-llvm %s -o %t &&
+// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm %s -o %t &&
 
 void f1() {
   // Scalars in braces.
index e427e73f6d551b8635181718eafb748204e4b776..7cefc3902ebcb9837eb123bb2a4dd07b4df48a44 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 void *test(int i)
 {
index 2b55a39be025bba6daeb7aaeef1814cc0e33026f..d4c3851909ab895d89d7736af94decfbeae5f6b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown %s -emit-llvm -o - | grep "i32 @a(i32)"
+// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o - | grep "i32 @a(i32)"
 
 int a();
 int a(x) short x; {return x;}
index 9224fe10c75824404d3de8e06ac346fe0671276b..695321622fed64d4215e9ff3e81b64ec1f82fac8 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -fmath-errno=1 -emit-llvm -o %t %s &&
+// RUN: clang-cc -fmath-errno=1 -emit-llvm -o %t %s &&
 // RUN: grep "declare " %t | count 6 &&
 // RUN: grep "declare " %t | grep "@llvm." | count 1 &&
-// RUN: clang -fmath-errno=0 -emit-llvm -o %t %s &&
+// RUN: clang-cc -fmath-errno=0 -emit-llvm -o %t %s &&
 // RUN: grep "declare " %t | count 6 &&
 // RUN: grep "declare " %t | grep -v "@llvm." | count 0
 
index df8a993949908b4c45b194a5b5e7e64112a047e2..b015ca854737eae3871814b96b50b44596be6c59 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o - |grep internal
+// RUN: clang-cc -emit-llvm %s -o - |grep internal
 
 // C99 6.2.2p3
 // PR3425
index 8954042afd9a30c06f0e8132f1f24a6547d9932a..b01ce0b93ec3b4847dd3ef9f7b41393d15744345 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep x86_fp80
+// RUN: clang-cc %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep x86_fp80
 
 long double x = 0;
 int checksize[sizeof(x) == 16 ? 1 : -1];
index 388e922e010287ceea1df9cd8c7e2afeece26f4a..6f46ee407f5cb61827716124fc8392ad40e4e12e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 /* Sparc is not C99-compliant */
 #if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
index 89e0e8a79a8855bba4d1e8e279b5ebffb1f927fe..6571a4b7873bca2b58b1bfb8e945de8966b665ce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -arch i386 -emit-llvm -o %t %s &&
+// RUN: clang-cc -arch i386 -emit-llvm -o %t %s &&
 // RUN: grep '@_Z2f0i' %t &&
 // RUN: grep '@_Z2f0l' %t &&
 
index 3c1d62aeca3c36a56fc476f197a45325e82a884d..1aab47a3a30cd8a73cc012748a38e39e3a66cf38 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 
 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
 
index 1e0d6891221289b1ab592ff46ea7a1e82c4bcc0f..c442669e6422f74395fb671df93369ef1c1cc624 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang < %s -emit-llvm | grep internal | count 1
+// RUN: clang-cc < %s -emit-llvm | grep internal | count 1
 
 // The two decls for 'a' should merge into one llvm GlobalVariable.
 
index 6d68a75ff2d22f3829c61907f53a9bf2ca4097ea..97f3b3b67c606dd732a5f95264b3381b57e0310b 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -triple i386-apple-darwin9 -emit-llvm -o %t %s && 
+// RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -o %t %s && 
 // RUN: grep define %t | count 1 &&
-// RUN: clang -triple i386-apple-darwin9 -g -emit-llvm -o %t %s && 
+// RUN: clang-cc -triple i386-apple-darwin9 -g -emit-llvm -o %t %s && 
 // RUN: grep define %t | count 1
 
 #include <mmintrin.h>
index 7b6f5039f8c6edc49be5416ed33d410fedba62d7..b0f5727a92dc39bc7b06a24c24ca49b429898fa2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 
 // PR2910
 struct sockaddr_un {
index ba307f4d19398f4eb85978b29aae584cccf39f39..7f78b91fb17e231ce8b50c2797503874a2d6918a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o -
+// RUN: clang-cc %s -emit-llvm -o -
 struct test;
 
 typedef void (*my_func) (struct test *);
index 4e24c91a79f8e7a743deee4dbaa45706c811c4de..4b58c82546247061bf81c018ccd3d6528878e678 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o - | grep _Z1fPA10_1X
+// RUN: clang-cc -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 f9ff8a86912ac3c88f3ef012b53190ef10743b85..2ace299ef7704381a4d415a8158b99feb2b4b2d4 100644 (file)
@@ -5,13 +5,13 @@
 // We also check _Bool and empty structures, as these can have annoying
 // corner cases.
 
-// RUN: clang %s -triple i386-unknown-unknown -O3 -emit-llvm -o %t &&
+// RUN: clang-cc %s -triple i386-unknown-unknown -O3 -emit-llvm -o %t &&
 // RUN: not grep '@g0' %t &&
 
-// RUN: clang %s -triple x86_64-unknown-unknown -O3 -emit-llvm -o %t &&
+// RUN: clang-cc %s -triple x86_64-unknown-unknown -O3 -emit-llvm -o %t &&
 // RUN: not grep '@g0' %t &&
 
-// RUN: clang %s -triple ppc-unknown-unknown -O3 -emit-llvm -o %t &&
+// RUN: clang-cc %s -triple ppc-unknown-unknown -O3 -emit-llvm -o %t &&
 // RUN: not grep '@g0' %t &&
 // RUN: true
 
index b1436b92492f1b374eaa681a7d85bb4dfc5fed7a..5049875dd3ed2266b239671b9a8fc44dcbf083e9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -S %s -o -
+// RUN: clang-cc -S %s -o -
 
 typedef int Int;
 
index 02fc4c767596e4ba558ea1d6be7839b8bd44d0de..d88c0911ba489382b4217dabc3474b94554a4918 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -emit-llvm %s -o - | grep "icmp ult"
+// RUN: clang-cc -emit-llvm %s -o - | grep "icmp ult"
 
 int a(char* a, char* b) {return a<b;}
index a3eaf91bc161c7769c72294f124f91483516fa02..e40bd91d8f990b3ce7c11821abf4f5c7656884a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o -
+// RUN: clang-cc -emit-llvm %s -o -
 
 int test(void* i)
 {
index 8cf963da256cd224747a6b17d2796f4dcdc078f8..f3ffe5461d06d0a107a9c902bfa8e43f29eeda01 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s &&
+// RUN: clang-cc -emit-llvm -o %t %s &&
 // RUN: grep '@g0 = external hidden constant i32' %t &&
 // RUN: grep '@g1 = hidden constant i32 1' %t
 
index c6dbb1ce184bff75138b45c910e63b1a44b3c42e..3a11ad64299c0166dd45379baca2e4b7e16775fc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t &&
+// RUN: clang-cc -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 bad9889de6b329bf7d1ad5ffc65d5943298ce6c0..f1d15dcd4fd50ca8fc36b5dc70e38c271abbf01b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t &&
+// RUN: clang-cc -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 6da76bdf24341870f7db16b0403cff837c42a384..ca5ff1b712255c8de7fff0b83e395ac10b9b4142 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t &&
+// RUN: clang-cc -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 e0fcc803918880bb549acec0012917901bdf962d..b347449706100a6310df8c03672d667ffb970b57 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t &&
+// RUN: clang-cc -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 1fa44c0a2e62bd97d8bac7ddf9ea1deb36cb016f..80035982e1f4a7abe171beedb073daf5dbf831bb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown --emit-llvm-bc -o - %s | opt -std-compile-opts | llvm-dis > %t &&
+// RUN: clang-cc -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 2e8269b2a38e0ad7d10eff02aa063a59235f7af3..a05975b4aeb770864fa790330a747452934438a8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t
+// RUN: clang-cc -emit-llvm %s -o %t
 
 char *globalString = "abc";
 char *globalStringArray[5] = { "123", "abc" };
index d49bf120975b0bbddda0402e2bf75f832546bf1a..af5088553e487520157ffa04ead16c91ce5bd5e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 
 // PR3442
 
index 4092121393508c922e5289964c09dcef257fa4e7..1ff7601adf6888ec80d9828c22458100f76a3865 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang < %s -emit-llvm
+// RUN: clang-cc < %s -emit-llvm
 
 void test1(int x) {
 switch (x) {
index 69080e3a0389537d5c5a82e9b7fba337f13c1ddf..a945df3d3b384b4afa882385d07fc2d95a1fafd7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 
 static int staticfun(void);
 int (*staticuse1)(void) = staticfun;
index 8e0825cb6c826731be886366d66dbbdba28a91d9..f12c22fb41af74c508a4fc3ef2d08dc16cc2e9a5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep "global i32 10"
+// RUN: clang-cc %s -emit-llvm -o - -triple=i686-apple-darwin9 | grep "global i32 10"
 
 static int i;
 int*j=&i;
index 9515a316d62dea9a93ff82cb766071c9adb0908d..f276b200eb1077edff4ceaaadce43ba8b6adbf1f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s
+// RUN: clang-cc -emit-llvm < %s
 
 int a() {static union{int a;} r[2] = {1,2};return r[1].a;}
 
index c63f4ed892a35862cc8e8f9f2bffd7154c11a119..243e96bf3e650d40e8a68cec573ac9a1915785ad 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - %s | not grep "zeroinitializer"
+// RUN: clang-cc -emit-llvm -o - %s | not grep "zeroinitializer"
 
 struct s {
     int a;
index 384ddbff1efddd1f1e2d4a35269c688f941f2fd6..fa3e736d31fe8069ee9be6c974511fb77062ad6f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -arch i386 -emit-llvm -o %t %s &&
+// RUN: clang-cc -arch i386 -emit-llvm -o %t %s &&
 // RUN: grep "g.b = internal global i8. getelementptr" %t &&
 
 struct AStruct { 
index a599405d2798938d7399ded016584ea3ca74fcb9..11b652178ca8536cb1dde582f6218a43f5bfba0a 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -emit-llvm < %s | grep 'fastcallcc' | count 4
-// RUN: clang -emit-llvm < %s | grep 'stdcallcc' | count 4
+// RUN: clang-cc -emit-llvm < %s | grep 'fastcallcc' | count 4
+// RUN: clang-cc -emit-llvm < %s | grep 'stdcallcc' | count 4
 
 void __attribute__((fastcall)) f1(void);
 void __attribute__((stdcall)) f2(void);
index b2b10dcf94d432b6dca1a50c52b3053c09d5e3e4..38c7ec05759799f463d817df38020a4e5f7cb657 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t &&
+// RUN: clang-cc -emit-llvm %s -o %t &&
 // RUN: grep 'internal constant \[10 x i8\]' %t &&
 // RUN: not grep -F "[5 x i8]" %t &&
 // RUN: not grep "store " %t
index ea28f1a7cbc795563506014305da37c285276e4d..a4011938c10666beb2ea8a787307baeb7598cc95 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o -
+// RUN: clang-cc -emit-llvm %s -o -
 
 int main() {
   char a[10] = "abc";
index 293052921079577cc90fea70897a07c86078db2e..d7f50da1312218d7a4ea5c6b93ee6a50cec0411f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o -
+// RUN: clang-cc %s -emit-llvm -o -
 
 struct S {int a, b;} x;
 void a(struct S* b) {*b = (r(), x);}
index a45e37a30f4ef0f34c41c11f8327b0acd9f1577d..62c29aba6c9cfdc78ab223775370db1d2680a5b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o - | grep 'call.*llvm.memcpy'
+// RUN: clang-cc -emit-llvm %s -o - | grep 'call.*llvm.memcpy'
 struct x { int a[100]; };
 
 
index 7d9d7082a762e2c5c6a6a281fd9da3724baf817b..a38442b1a88f42e5456814b92b4b3bf89f8a204d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o -
+// RUN: clang-cc %s -emit-llvm -o -
 
 typedef struct _zend_ini_entry zend_ini_entry;
 struct _zend_ini_entry {
index 305101d90624a4e1c2e815a477e33c0af8f18ec8..9a4f47651b74e536242f9e838c43449384fa83df 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-pc-linux-gnu -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 7a2e7de36b140b5fa9bb4780934621a60eb5351e..050e26dcab9e9847d1d8552af7e4e37c8b5d88f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang < %s -emit-llvm > %t1 -triple=i686-apple-darwin9
+// RUN: clang-cc < %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, i8, i16, i32 }>" %t1 &&
index 4b0cc3e79ea204961b34f56de8c65af2e7b4cf96..ed3684280e88ff69dfdc107ecfc64742d832bb74 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-unknown-unknown %s -emit-llvm -o -
+// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o -
 
 struct  {
   int x;
index 056337465bc3d71b1aff0d841989e2f848067095..3254fbf3c9389dfcbb3e79434753df26185b1a6f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm-bc -o - | opt -std-compile-opts -disable-output
+// RUN: clang-cc %s -emit-llvm-bc -o - | opt -std-compile-opts -disable-output
 
 int foo(int i) {
   int j = 0;
index 71231237fafe6bb7c0eaa6264d1e688c52979555..6879d0f07d74a6ba5016ab8d41bb95c3e701522a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s -triple=i686-apple-darwin9 | grep "global \[1 x i32\]"
+// RUN: clang-cc -emit-llvm < %s -triple=i686-apple-darwin9 | grep "global \[1 x i32\]"
 
 int r[];
 int (*a)[] = &r;
index c14a42c1e8ad0f5df7d4f55125ad6165b7245694..a64426ddb274d19c4c8d87d12af9eb382dda7a3a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s
+// RUN: clang-cc -emit-llvm < %s
 
 // PR2414
 struct mad_frame{};
index a615285620dfde98370cfc513b88a2e9061b2bac..3bdd52f6c572d82dec208d5b3fd05454f418affd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o -
+// RUN: clang-cc -emit-llvm %s -o -
 
 typedef struct { int i; } Value;
 typedef Value *PValue;
index c542a758b8d709f70546e027e6e0cc84babeb87a..75cb851c2599420ef9b826a2b7ca535648d8bdce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm <%s
+// RUN: clang-cc -emit-llvm <%s
 
 struct FileName {
     struct FileName *next;
index 9a515a72d92b54f04e5c37e7d0c017b9245dad41..c882d3180c720586e6603885af913231d725111b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s -o -
+// RUN: clang-cc -emit-llvm < %s -o -
 
 // A nice and complicated initialization example with unions from Python
 typedef int Py_ssize_t;
index 4b09a845b5db9901b3557029df48c79e893c967a..4884690f3fdc11fc209e2a2d374a46810645f304 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o -
+// RUN: clang-cc %s -emit-llvm -o -
 
 union u_tag {
   int a;
index 92f43ecc9ae8c5b644c75b3a36bd07c8eb9d5999..b2890c4c10de80eae7bb2cc4eef4267563127223 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -fexceptions -emit-llvm -o - %s | grep "@foo() {" | count 1 &&
-// RUN: clang -emit-llvm -o - %s | grep "@foo() nounwind {" | count 1
+// RUN: clang-cc -fexceptions -emit-llvm -o - %s | grep "@foo() {" | count 1 &&
+// RUN: clang-cc -emit-llvm -o - %s | grep "@foo() nounwind {" | count 1
 
 int foo(void) {
 }
index be585c052e8ab4e45287cdd68556b8c0a0f6a65e..b0b62ae2647377231d144505f249bba66813cbc5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o - | grep "align 16" | count 2
+// RUN: clang-cc -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 528afdfe5e8f46d30c1d3e743761cd40ee595f71..c92d2ca2b60cb460ee083b7a968f4fccbdf1e921 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o -
+// RUN: clang-cc -emit-llvm %s -o -
 typedef short __v4hi __attribute__ ((__vector_size__ (8)));
 
 void f()
index beb928b0668ce103be5537fa88775a24a6ef16be..3666d5ee0d7b618c9331aecaeefdfdd0049d92cb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 
 int b(char* x);
 
index ed0a33e98628b21e58fb35bf23e1dd61709cf91a..9ee4de601cefadb4ba445348997fa3b9e6533b4b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm < %s | grep volatile | count 25
+// RUN: clang-cc -emit-llvm < %s | grep volatile | count 25
 
 // The number 26 comes from the current codegen for volatile loads;
 // if this number changes, it's not necessarily something wrong, but
index d19dd6129179971c870215b4770ce2f4cd32b401..d4ee52f48956fea86bebdd75ce3e13139a68e23e 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -emit-llvm < %s | grep common
+// RUN: clang-cc -emit-llvm < %s | grep common
 
 int i;
index fe17e1b2f192cde694af5630ea0202367ea11e81..95e18f4d21ff1e0b8a2353abc0cd0987af6a6225 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o -
+// RUN: clang-cc %s -emit-llvm -o -
 
 int bar();
 int foo() {
index a2a8f3cc402350c645ccccdf6f277453da767c1e..c8b70d5f0540c9071d05f85f3dbafedfc095ae76 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - -fwritable-strings %s
+// RUN: clang-cc -emit-llvm -o - -fwritable-strings %s
 
 int main() {
     char *str = "abc";
index 7bdea97338237baf3493de3eaa61d448267cbf09..d12f26c0df81afd0534fa96df386f63e12a26342 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1
+// RUN: clang-cc %s -triple=i686-pc-linux-gnu -emit-llvm -o - > %t1
 // RUN: grep "ax" %t1 &&
 // RUN: grep "bx" %t1 &&
 // RUN: grep "cx" %t1 &&
index d7663072e3274a00b918b6d68963677e1d5d606c..632949e76317abd005d81d949fea775bce77f1f1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-apple-darwin9 -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 eed4eb696f35b269433a783537a68afad7330311..860caff7de88207b94eb2956d010ff165e67c5d4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple x86_64-unknown-unknown -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 29416ced023711c16f7c9c3d75449dd04067ddd4..476b0ad083bc263300881d65ec4d7c2482058ff9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm -o %t
+// RUN: clang-cc %s -emit-llvm -o %t
 
 int* a = __null;
 int b = __null;
index 5b8efacdd775dab6db8d7a7d692636f0de2fb5e3..ae5b0e644f277faf92101f04eff3777510d0359b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -x c++ < %s
+// RUN: clang-cc -emit-llvm -x c++ < %s
 
 void f(int x) {
           if (x != 0) return;
index 5c38d1721136e4f743a4d833bf4f8b614758d80c..855a2ae0a46a0bc968c8904f9650446b964f0010 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s -o %t &&
+// RUN: clang-cc -emit-llvm %s -o %t &&
 
 // FIXME: This test is intentionally trivial, because we can't yet
 // CodeGen anything real in C++.
index abfe6afcc7cc689715d3acebdf2d1f66ba95597d..2c58b921767513693f431dd60f4f289227da43e2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s
+// RUN: clang-cc -emit-llvm -o %t %s
 
 @protocol P @end
 
index d4a63d3d0e028f44b7a2f2aac0df8930a9d2b105..d7396b1dd2ed5bdb14b3e1953dee500f513e85a3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 @interface Object
 - (id) alloc;
index c73fa6717f194f3b51d2a16f84a855c6c53b1d80..542a2424caa1b4a3569f87bb55b3e5bd09ac502d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 @interface INTF
 {
index bd224e50b77ab9fb9697635c94bc30ca82d382df..e3faea995e6a1631f19ae8841b34faec5344f551 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fblocks -fno-__block -fnext-runtime --emit-llvm -o %t %s -verify
+// RUN: clang-cc -fblocks -fno-__block -fnext-runtime --emit-llvm -o %t %s -verify
 
 @class Foo;
 @protocol P;
index e9ca2238baba04e1111370038cd00105127fedc5..da115612956b7f99845310623334f5b7755ac755 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -fblocks -S -o - %s
+// RUN: clang-cc -emit-llvm -fblocks -S -o - %s
 // rdar://6676764
 
 struct S {
index 82ced63318646d9e2190dc5a471edfe43ae8c977..95d8b3103c9fe53962fb9c5a11cb9a0279398621 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 @interface BASE
 + (int) BaseMeth;
index 54ed890cc4d7e235084af2af9f89c419282b5a72..3c82f78d08b5f1ac5e7b89da62953bd3e1cd0d69 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 @interface Test { }
 + (Test *)crash;
index 12a8a31b9d61a0c8b2e0625e9b9fafb261259d80..c8a1c18b9c926d50f0497eb027c391e977f7dc11 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 
 @interface I0 {
   struct { int a; } a;
index 0982a90b708c575cccacbb42190b60f0cf584743..11e5a27ab7135b5edd873f878b1e5990ecd949c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s
+// RUN: clang-cc -emit-llvm -o %t %s
 
 @interface Int1 @end
 
index 879f91a43248e10fe53f82522de5df4e340afeb6..d4fefd903653a1808fc53a077ee53c0652b0ac55 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 id a = @"Hello World!";
 
index 9ac51c70bf0b7b014ce499d4c5415d926bd82001..925f3cd0c50d9c5668f686aeb0dc757eaf448a2f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 @interface Object
 - (id)new;
index cd12d85c0eccc997cc7cfd7998dfde7b2b5418ea..6c4dcbbef0dc1ab5247c32af6f808f239c4dc040 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 #include <stdio.h>
 
index 39e9c49309c0c822b3f4651e96c80a5081bd0570..68c8ad0b75804cfc0aec2f6d5340977b6df5bd28 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 #include <stdio.h>
 
index 3646fef23b3ee1a4173e2cc370462df87ad2ac65..b4f3b0f9c33d395f2aaf22d586219b08fd91774d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple=i686-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple=i686-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
 // RUN: grep -e "{Base=b2b3b4b5}" %t | count 1 &&
 // RUN: grep -e "{Derived=b2b3b4b5b5b4b3}" %t | count 1
 
index 0df54ca0bacbad3eed55a15d9ec0a53ee889e63d..6901168b1d09a7c1dec94d115ec5828e48fb885f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple=i686-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple=i686-apple-darwin9 -fnext-runtime -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 698be50c57a2d109a2cdca05dd2e73f1d5539ed5..116e825e32a03910663d1f326da0918039dc9f01 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple=i686-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple=i686-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
 // RUN: grep -e "\^i" %t | count 1 &&
 // RUN: grep -e "\[0i\]" %t | count 1
 
index 4d39a532d2edd1e83a74ab19f7c2d013f5819cea..90b300200a066cf0b028358a1bb314a4e25d2a7c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o - %s -O2 | grep "ret i32 1"
+// RUN: clang-cc -emit-llvm -o - %s -O2 | grep "ret i32 1"
 
 int a() {
   return @encode(int) == @encode(int);
index 8d307e8f5e4612f67cc9d99055d84a96c846671e..6d2f64e4363bc96e8512f7bb108ac7bc16762117 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple=i686-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple=i686-apple-darwin9 -fnext-runtime -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 c502aa4e7483ef9dcf0471bc4115b01f0b034194..b3976d6458444bc8687303da1d834e68e68ae60f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 
 @interface BASE  {
 @private
index 2cc3aefde49c5f0ca4b66019bbf1295f2d4f40b5..6b86ca0581cc753284436d8279fb88e69f1a5009 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 __attribute__((visibility("hidden")))
 @interface Hidden
index 11d2a5603b8811753719b755aa736291141e4ead..206d496252d87579e40e45d479afab5dcb30b059 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -emit-llvm -triple=i686-apple-darwin8 -o %t %s
-// RUNX: clang -emit-llvm -o %t %s
+// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin8 -o %t %s
+// RUNX: clang-cc -emit-llvm -o %t %s
 
 @interface A
  -(void) setOk:(int)arg;
index c25fe675ce5f4138e3b940797f393b8dc4c706e2..b50d93993fc8a878044558de275f47aadda34613 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -triple i386-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple i386-apple-darwin9 -fnext-runtime -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 -triple i386-apple-darwin9 -DWITH_IMPL -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple i386-apple-darwin9 -DWITH_IMPL -fnext-runtime -emit-llvm -o %t %s &&
 // RUN: grep '.lazy_reference .objc_class_name_Root' %t | count 1
 
 @interface Root
index aed841e06fd9621d35f5dac8ecab80d185102c22..c618672feab2e88f290ec78b34c05c8c717492e9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 void f0(id a) {
   // This should have an implicit cast
index dcea93b8616dd9a2d6b4d7e6c99d86fb0c3ea90a..ca0eb94933870e7bc161cbeb929915012dab8dc2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 #include <stdio.h>
 
index fab3c5d8580863c4841c744f8cbe6ffa84a019ab..b2bda672158538bab0d8557cb60a06c37ba9c50b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 typedef struct {
   int x;
index 208b162b50fc572e115492cfc3d341199930dbca..5196b8244dbba673e21e2dc16d28f2c9908abfbf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 @interface Object
 - (id) new;
index c0f0efa941d8c8869caf490a147ed6427bb6fda3..34bf603da57d56a8347af7073bfb276c1eab83b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple x86_64-unknown-unknown -emit-llvm -o %t %s
+// RUN: clang-cc -triple x86_64-unknown-unknown -emit-llvm -o %t %s
 
 @interface NSObject
 @end
index 33d7f30db58cb860732e7d7ea03d724ce078102f..eca5959a392aaad60a499c1110e622a63d4f3267 100644 (file)
@@ -1,7 +1,7 @@
 // 32-bit
 
 // RUNX: llvm-gcc -m32 -emit-llvm -S -o %t %s &&
-// RUN: clang -triple i386-apple-darwin9 -emit-llvm -o %t %s &&
+// RUN: clang-cc -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 -triple i386-apple-darwin9 -emit-llvm -o %t %s &&
+// RUNX: clang-cc -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 deae4b722b4ce66ac6b1fc3f91c84a76fc923a0c..2bff2fc1a4ed21591264c9cbd70ee4f21559d44a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple=i686-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple=i686-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
 // RUN: grep -e "T@\\\\22NSString\\\\22" %t
 @interface NSString @end
 
index b0c1e7ad575d63ae54e05c1ed4a9baf45350e910..559b0b8c76a0f6deb83f0c2cff21ff8483d5ac73 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple=i686-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple=i686-apple-darwin9 -fnext-runtime -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 b2872496246a4c71cd3941c85bf44a2c0e9375bb..d78bc366d3983b747531eb2db8fdbf7c8fc5a3f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple x86_64-unknown-unknown -fobjc-gc-only -emit-llvm -o %t %s
+// RUN: clang-cc -triple x86_64-unknown-unknown -fobjc-gc-only -emit-llvm -o %t %s
 
 @interface I0 {
   I0 *_f0;
index 7e62146f9c0105db75be0615e0ae56e916214325..8cad08c88a60ced2523e8505b5316323408196db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang-cc -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
 
 @interface I {
   __attribute__((objc_gc(strong))) int *i_IdocumentIDs;
index 60fd37392abc21ffa960a068cfed9f9d1509ba17..d0fcb6ced928be28c01b6bcfa6b4a5924de1e091 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
 
 @interface I {
   __attribute__((objc_gc(strong))) signed long *_documentIDs;
index 5889b1ff8db4d96e9121e1240b9fbeadd2f310d9..7a9381d2b4064e60a7be456a9adeb93ee9c96db3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
 
 @interface PBXTarget 
 {
index 611bffd1e9bef65077ff13a13a2167bd6d8bbd51..134e3a976feb39da7e84f04f1afc1a530dfb2547 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
+// RUN: clang-cc -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
 @class NSObject;
 
 @interface Foo  {
index fe00fadb8793503959a06509b4df33f4cea8f974..5a5868e7b4dfdc688dc1f7fb2e8ff2ccdf02a044 100644 (file)
@@ -1,5 +1,5 @@
 // rdar://6657613
-// RUN: clang -emit-llvm %s -o %t && 
+// RUN: clang-cc -emit-llvm %s -o %t && 
 
 @class C;
 
index d835ed827b33a5c1adfbef52deac2bf023ca917a..812ef97252dc193c541f59e87fc1bdbf06510473 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 @interface A
 @end
index 486cfa0b7042e825d90cbc1945f2d15f22f28c76..0cb7a5e2f40a9ec579f32c5a20b501426884a81d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 @interface Object
 - (id) new;
index 518250eaa607f90e0386742009fab37b84fb4a6d..0a1df123bffe0657f9928bc10282927fd0d1a7ad 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 typedef struct {
   unsigned f0;
index 962862b53660c35d052771555ccd6ef16d02f9c1..d98e9bab6da9d61dd8e154aeb6ce7c2a3be5335c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 @protocol NSObject
 - (void *)description;
index ef55342514c876f4f3a9ec70a03a2f8666bc5a49..772e872a214f5f89a6791f72343bfd7014f82a21 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 @interface Object
 - (id) new;
index edc80554cdc7caa930a9d9d097731665e47934b3..390392415d730dab06da49b573dd6e6eb9b1e003 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -triple=i686-apple-darwin8 -o %t %s
+// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin8 -o %t %s
 // RUN: grep -e "SiSetOtherThings:" %t
 
 @interface A 
index 91d3659dcde7c4c43978893aa5c8bffdbe04f5ab..264adf1106e2abe28b94300a602a044bc1afa2da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime --emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime --emit-llvm -o %t %s
 
 #include <stdio.h>
 
index f92d9c4667c43cfa56a71693654822032b896271..e91cc0aea836e49d89cf10bd2dfa60eafe34f8eb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -triple=i686-apple-darwin8 -o %t %s &&
+// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin8 -o %t %s &&
 // RUNX: llvm-gcc -S -emit-llvm -o %t %s &&
 
 // No object generated
index f132b5420f5e74fd657f56b16b371f5726e31040..c53b0a32133dd43936b667421d44b1c7d4476569 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s &&
 // RUN: grep -e "^de.*objc_msgSend[0-9]*(" %t | count 1 &&
-// RUN: clang -DWITHDEF -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -DWITHDEF -fnext-runtime -emit-llvm -o %t %s &&
 // RUN: grep -e "^de.*objc_msgSend[0-9]*(" %t | count 1
 
 id objc_msgSend(int x);
index 2e9efde438224efa36b84a29a5c4c4a8b0f8548b..27cdbf6aed41885a3ad39937734a237fe8ef183d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 
 @interface SUPER
 + (void)Meth;
index cd0d5652d43a1bb0bceae5b6f78d365dfa593131..6e4f176724c8184c05c5bbc0d5c7454dae6c48e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -o %t %s
+// RUN: clang-cc -emit-llvm -o %t %s
 
 @interface B
 {
index 3e59449e0bbbff0b32b11249ed8250725368e7e6..5c1d3979d39b96511696ae126f878d6b2a1234b1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm -triple=i686-apple-darwin8 -o %t %s -O2 &&
+// RUN: clang-cc -emit-llvm -triple=i686-apple-darwin8 -o %t %s -O2 &&
 // RUN: grep 'ret i32' %t | count 1 &&
 // RUN: grep 'ret i32 1' %t | count 1
 
index bac530eaf94f37424bf35b47f240e2caaeb26df8..a7636e4ebc8b658c37d7f58a39db46d323ce377a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s
 // Test that meta-data for ivar lists with unnamed bitfield are generated.
 //
 @interface Foo {
index 0fc8b9f833816f418acfd8700164f064fc70437c..401a3d3b8a0884a32df1f1ecde1317cd8439f4a9 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang --fsyntax-only %s &&
-// RUN: clang --ast-print %s &&
-// RUN: clang --ast-dump %s
+// RUN: clang-cc --fsyntax-only %s &&
+// RUN: clang-cc --ast-print %s &&
+// RUN: clang-cc --ast-dump %s
 
 #include "c-language-features.inc"
index c53efac0d7187c3366927d8d4adcf731e4b361a1..85bbd4314a4d35e3113f3b29d7124b63b9c762e5 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang --fsyntax-only %s &&
-// RUN: clang --ast-print %s &&
-// RUN: clang --ast-dump %s
+// RUN: clang-cc --fsyntax-only %s &&
+// RUN: clang-cc --ast-print %s &&
+// RUN: clang-cc --ast-dump %s
 
 #include "objc-language-features.inc"
index adaf53c46705ec63ebc3b384b32c677439328e8a..417f5ef99e90a0d3e98ecd95b5cb43e6c769598b 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -triple i386-unknown-unknown -DIRGENABLE_GNU -DIRGENABLE -fgnu-runtime -emit-llvm -o %t %s && 
-// RUN: clang -triple i386-unknown-unknown -DIRGENABLE_GNU -DIRGENABLE -g -fgnu-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -triple i386-unknown-unknown -DIRGENABLE_GNU -DIRGENABLE -fgnu-runtime -emit-llvm -o %t %s && 
+// RUN: clang-cc -triple i386-unknown-unknown -DIRGENABLE_GNU -DIRGENABLE -g -fgnu-runtime -emit-llvm -o %t %s &&
 
 // FIXME: Remove once GNU can IRgen everything.
-// RUN: not clang -triple i386-unknown-unknown -fgnu-runtime -emit-llvm -o %t %s
+// RUN: not clang-cc -triple i386-unknown-unknown -fgnu-runtime -emit-llvm -o %t %s
 
 #include "objc-language-features.inc"
index 0916e534fb50d22ebff4b8227dc091204c57691d..bca83cba693130cdeb5884feff6eda7ebd1e083d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fnext-runtime -emit-llvm -o %t %s &&
-// RUN: clang -g -fnext-runtime -emit-llvm -o %t %s
+// RUN: clang-cc -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -fnext-runtime -emit-llvm -o %t %s
 
 #include "objc-language-features.inc"
index 5d6724ed2fa8860a7b2d084485283168142bd7cf..543c361e1bbd6ecf522dbd2f6249c005b50a62ee 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -triple i386-unknown-unknown -emit-llvm -o %t %s &&
-// RUN: clang -triple i386-unknown-unknown -emit-llvm-bc -o %t %s &&
-// RUN: clang -triple i386-unknown-unknown -g -emit-llvm-bc -o %t %s &&
-// RUN: clang -triple x86_64-unknown-unknown -emit-llvm-bc -o %t %s &&
-// RUN: clang -triple x86_64-unknown-unknown -g -emit-llvm-bc -o %t %s
+// 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
 
 #include "c-language-features.inc"
index 75d4e067fc6d52d57a0e86ae974eceacb41bb0ae..6144f2fb98a305542e9c6302a0b5716dceb1734b 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: rm -rf %t &&
-// RUN: clang --html-diags=%t -checker-simple %s
+// RUN: clang-cc --html-diags=%t -checker-simple %s
 
 void f0(int x) {
   int *p = &x;
index 7ade9c6237bba9f840a988f15a5dd020ac8db383..dab156b145a841128f837a28bdbd2dec32bfc9a3 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -emit-html -o %t %s
+// RUN: clang-cc -emit-html -o %t %s
 
 #include "c-language-features.inc"
index f65d9513d4bbec4e520ece48aaf8f3f1ddd8466b..309074de9e7d1b3bc1edb9f2ad2f14474eaa1fe3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang --parse-noop %s &&
-// RUN: clang --parse-print-callbacks %s
+// RUN: clang-cc --parse-noop %s &&
+// RUN: clang-cc --parse-print-callbacks %s
 
 #include "c-language-features.inc"
index efce13e95861213057bc1268e2a7ca2a0f9a419e..dc1dcfc66270a484a7eb3bf6077cce4a41186ffc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang --parse-noop %s &&
-// RUN: clang --parse-print-callbacks %s
+// RUN: clang-cc --parse-noop %s &&
+// RUN: clang-cc --parse-print-callbacks %s
 
 #include "objc-language-features.inc"
index 11509062da720c05a26a59b222ac7877c76c2d0a..a963aacf1d924131c2a9d954779f843356209138 100644 (file)
@@ -1,5 +1,5 @@
 // DISABLED:
-// R U N: clang -fsyntax-only --serialize %s
+// R U N: clang-cc -fsyntax-only --serialize %s
 // RUN: 
 
 #include "c-language-features.inc"
index fbab286a4815f7b708c3afe428b4f346fad2e63e..e575b2db2dcc3be76af00e21a92f99b52caa9c1b 100644 (file)
@@ -1,5 +1,5 @@
 // DISABLED:
+// R U N: clang-cc -fsyntax-only --serialize %s
 // RUN:
-// R U N: clang -fsyntax-only --serialize %s
 
 #include "objc-language-features.inc"
index 669fe841fe3ae9d7f51a090aade68fc1f94bec50..5a547a53add9009e829fa6cebc461351f66f17b0 100644 (file)
@@ -1,18 +1,18 @@
-// RUN: clang -g -triple i686-unknown-unknown -emit-llvm -o %t %s &&
-// RUN: clang -g -triple i686-pc-linux-gnu -emit-llvm -o %t %s &&
-// RUN: clang -g -triple i686-unknown-dragonfly -emit-llvm -o %t %s &&
-// RUN: clang -g -triple i686-unknown-win32 -emit-llvm -o %t %s &&
-// RUN: clang -g -triple i686-apple-darwin9 -emit-llvm -o %t %s &&
-// RUN: clang -g -triple x86_64-unknown-unknown -emit-llvm -o %t %s &&
-// RUN: clang -g -triple x86_64-pc-linux-gnu -emit-llvm -o %t %s &&
-// RUN: clang -g -triple x86_64-apple-darwin9 -emit-llvm -o %t %s &&
-// RUN: clang -g -triple ppc-unknown-unknown -emit-llvm -o %t %s &&
-// RUN: clang -g -triple ppc-apple-darwin9 -emit-llvm -o %t %s &&
-// RUN: clang -g -triple ppc64-unknown-unknown -emit-llvm -o %t %s &&
-// RUN: clang -g -triple ppc64-apple-darwin9 -emit-llvm -o %t %s &&
-// RUN: clang -g -triple armv6-unknown-unknown -emit-llvm -o %t %s &&
-// RUN: clang -g -triple armv6-apple-darwin9 -emit-llvm -o %t %s &&
-// RUN: clang -g -triple sparc-unknown-unknown -emit-llvm -o %t %s &&
-// RUN: clang -g -triple sparc-unknown-solaris -emit-llvm -o %t %s &&
-// RUN: clang -g -triple pic16-unknown-unknown -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -triple i686-unknown-unknown -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-win32 -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -triple i686-apple-darwin9 -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -triple x86_64-unknown-unknown -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-apple-darwin9 -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -triple ppc-unknown-unknown -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -triple ppc-apple-darwin9 -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -triple ppc64-unknown-unknown -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -triple ppc64-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 armv6-apple-darwin9 -emit-llvm -o %t %s &&
+// RUN: clang-cc -g -triple sparc-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 pic16-unknown-unknown -emit-llvm -o %t %s &&
 // RUN: true
index 6157bad395feec3d80c0ec93db990a21de214474..a75557b3fdee8c8152fd552b57e4b0d1ac16fa15 100644 (file)
@@ -1 +1 @@
-// RUN: clang -fsyntax-only -v %s
+// RUN: clang-cc -fsyntax-only -v %s
index 49c5276611f69f1a0fcb340093be2a5cd113210e..503c274439b8ea232a567b97f1857065d849fdf9 100644 (file)
@@ -1,7 +1,7 @@
 // RUN: clang-driver -ccc-echo -o %t %s 2> %t.log &&
 
 // Make sure we used clang.
-// RUN: grep 'clang" .*hello.c' %t.log &&
+// RUN: grep 'clang-cc" .*hello.c' %t.log &&
 
 // RUN: %t > %t.out &&
 // RUN: grep "I'm a little driver, short and stout." %t.out
index d01326e04231da7f2a24d75b633145da9314b1ae..3fdcb8017b78c4c5f67c741c1b5164daff7c4ee9 100644 (file)
@@ -1,8 +1,8 @@
 // Test transparent PTH support.
 
 // RUN: clang-driver -x c-header %s -o %t.h.pch -### 2> %t.log &&
-// RUN: grep '".*/clang" .* "-o" ".*\.h\.pch" "-x" "c-header" ".*pth\.c"' %t.log &&
+// RUN: grep '".*/clang-cc" .* "-o" ".*\.h\.pch" "-x" "c-header" ".*pth\.c"' %t.log &&
 
 // RUN: touch %t.h.pth &&
 // RUN: clang-driver -E -include %t.h %s -### 2> %t.log &&
-// RUN: grep '".*/clang" .*"-include-pth" ".*\.h\.pth" .*"-x" "c" ".*pth\.c"' %t.log
+// RUN: grep '".*/clang-cc" .*"-include-pth" ".*\.h\.pth" .*"-x" "c" ".*pth\.c"' %t.log
index cd668f1ab5ea42a5f901fd488c09a6f6caa736e7..ea95e0601bd8dbda8d693e88899bda190d27b5fb 100644 (file)
@@ -1,5 +1,5 @@
 
 // rdar://6533411
-// RUN: clang -MD -MF %t.d -x c /dev/null
+// RUN: clang-cc -MD -MF %t.d -x c /dev/null
 
 
index deb54f4297f5302ab90e2b0c830ba6d22ef0d433..32e02ecb266f8ec8fecbc05d0806644532e9ffe7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify --rewrite-macros -o %t %s &&
+// RUN: clang-cc -verify --rewrite-macros -o %t %s &&
 
 #define A(a,b) a ## b
 
index a3899dea75dd1e27708e4e48279640630e2b2c6b..35fe45d35b405f526dff28df716f878e338a3261 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -E - < /dev/null > %t
+// RUN: clang-cc -E - < /dev/null > %t
 // RUN: grep '<built-in>' %t
  
index c0e21546a851cd1a37beb77c551f12d1a9aa91fc..f3ea7cbaf9f4888a6463f373fe96ad362c660fd9 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -emit-llvm -o - | grep 0x3BFD83C940000000 | count 2 &&
-// RUN: clang %s -emit-llvm -o - | grep 2.000000e+32 | count 2
+// RUN: clang-cc %s -emit-llvm -o - | grep 0x3BFD83C940000000 | count 2 &&
+// RUN: clang-cc %s -emit-llvm -o - | grep 2.000000e+32 | count 2
 
 float  F  = 1e-19f;
 double D  = 2e32;
index 714f89b38698ab1123ee5853cb8e2db64a95224b..5fa5a2bb2403184ada9e9e2c6c207403bb530eed 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s 2>&1 | not grep error
+// RUN: clang-cc -E %s 2>&1 | not grep error
 #if 0
 
   "
index d049c028726e5473e832d05e9e351b10c026293d..65d948f7fd8201934a83d37207a0aa8dc3b8d184 100644 (file)
@@ -1,9 +1,9 @@
 /*
-  RUN: clang -E -trigraphs %s | grep bar &&
-  RUN: clang -E -trigraphs %s | grep foo &&
-  RUN: clang -E -trigraphs %s | not grep abc &&
-  RUN: clang -E -trigraphs %s | not grep xyz &&
-  RUN: clang -fsyntax-only -trigraphs -verify %s  
+  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  
 */
 
 // This is a simple comment, /*/ does not end a comment, the trailing */ does.
index d76c73ddc3d33c46bd08c61743caab480b914c38..d743d68cd50132134df585adb014888472038365 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -std=c90 -fsyntax-only %s -verify -pedantic-errors
+/* RUN: clang-cc -std=c90 -fsyntax-only %s -verify -pedantic-errors
  */
 
 enum { cast_hex = (long) (
index 6d7ca19cdb928fd469de67d5971328dc84861c91..014a8f1235ca116619e87016027672d8eb27dac6 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -fsyntax-only -verify %s
+/* RUN: clang-cc -fsyntax-only -verify %s
  */
 
 int x = 000000080;  /* expected-error {{invalid digit}} */
index a54d26343b0a9fc46e282aa21d57dcee37b22b37..412c25e83c48b22aabc24252bd398bdc2ceca01e 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang -fsyntax-only -verify -std=c++0x %s 2>&1
+// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s 2>&1
 int static_assert; /* expected-error {{expected unqualified-id}} */
index 6700dcb1827e4def855f9b69b650b5e14c657de5..9f8aea127cb9bf83562b140a5048863d1c4292b8 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang %s -fsyntax-only
+// RUN: clang-cc %s -fsyntax-only
 int static_assert;
index 9683ee4f9981de38f2e1bfefb24909ac0374b17c..4d494ca1dd9429c436e919c1d4fb3edc6514db4e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify < %s
+// RUN: clang-cc -fsyntax-only -verify < %s
 
 %:include <stdio.h>
 
index ed20f05fb00eb3db53a0f669079e8507c015cf86..7635ea112eb70995f96cd3561e557ca80503f6c9 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -dump-tokens %s 2> %t &&
+// RUN: clang-cc -dump-tokens %s 2> %t &&
 // RUN: grep "identifier '\$A'" %t
-// RUN: clang -dump-tokens -x assembler-with-cpp %s 2> %t &&
+// RUN: clang-cc -dump-tokens -x assembler-with-cpp %s 2> %t &&
 // RUN: grep "identifier 'A'" %t
 // PR3808
 
index 2e4b7cd7cd891ca638a3929fdd4ff2e1ec3759df..ce120ed7c828c2ce0e996cfff48fa0d0f16c22d1 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -E -trigraphs %s | grep -- ' ->' &&
-// RUN: clang -E -trigraphs %s 2>&1 | grep 'backslash and newline separated by space' &&
-// RUN: clang -E -trigraphs %s 2>&1 | grep 'trigraph converted'
+// 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'
 
 // This is an ugly way to spell a -> token.
  -??/      
index ccea3ff7745a59054e183ab9ae8e78a85c3e32be..e5fd52926eeef191265a149a2050ade8e02643c2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only
+// RUN: clang-cc %s -fsyntax-only
 
 #ifndef XVID_AUTO_INCLUDE
 
index bafbc022d5e88d0614d5215d549a66ddce9f6485..253453c764b2c30abfeb498771ed64ab7bc6173d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only
+// RUN: clang-cc %s -fsyntax-only
 
 float X = 1.17549435e-38F;
 float Y = 08.123456;
index 243825a536380087a269bf33d1498afaac2cabea..047e0b8e95f9d747c8544c1706195a18e3f33caa 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -fsyntax-only -verify %s
+/* RUN: clang-cc -fsyntax-only -verify %s
  */
 # define XRECORD(x, c_name) e##c (x, __LINE__)
 
index 388fef55755d42675af72624a9e1b2f8468774ac..f4204aa9d8073d634e55b29251c90ae4edd6f07a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 // Lexer diagnostics shouldn't be included in #pragma mark.
 #pragma mark Mike's world
index 152617e2589b1fc782bb52bfe0aa2888eb7d80e6..b135dc1409cb20e3f1c0351d3cde5b041572240d 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -pedantic -std=gnu89 -fsyntax-only -verify %s
+/* RUN: clang-cc -pedantic -std=gnu89 -fsyntax-only -verify %s
  rdar://6096838
  */
 
index 3a7a0d5f1ff537a7c78e328c0402ece7eba4a140..60e5244646ad9a86cc8ccd3d0df0314838511e4b 100644 (file)
@@ -1,5 +1,5 @@
-/* RUN: clang -fsyntax-only -verify %s &&
- * RUN: clang -std=gnu89 -fsyntax-only -verify %s
+/* RUN: clang-cc -fsyntax-only -verify %s &&
+ * RUN: clang-cc -std=gnu89 -fsyntax-only -verify %s
  rdar://6096838
  */
 
index 003344fc0a29c2247a8fe1260967d75a118893c8..4e27d5d723e23ff0b5148498399d6bd48d339d2c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E -x c -o %t %s &&
+// RUN: clang-cc -E -x c -o %t %s &&
 // RUN: grep 'IDENT.2' %t
 
 IDENT.2
index 8bdfe60553de3bee79c9ae1a07a8fe6292aba579..acbf4f039a718d1d578e76b17c3d93a44635a24b 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang -E %s 2>&1 | not grep error
+// RUN: clang-cc -E %s 2>&1 | not grep error
  ` ` ` `
index e6ec03a5b4f6cad554c154efe862825a215f308e..e339d5635754293c038c8b1538f26fc4a1e981c7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s 2>&1 | not grep keyXXXX
+// RUN: clang-cc -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 e5864461a67de82c41c26d4d71719efec2dece57..4733ee1e03d7481d5704aea82b5184d71e67713d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #include <stdio.h>
 
index 8c6556e3e5e577825dea0a3b2ae7782d9d797262..22d0d28dd65dfba91d1c0d2f97412f910346c908 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-html -o -
+// RUN: clang-cc %s -emit-html -o -
 
 // rdar://6562329
 #line 42 "foo.c"
index c93947591b9bebd8bc75e37ac8c0d67649a5b310..0598ea7dc9e7624b96cd3e14ff045f1abac7d33e 100755 (executable)
@@ -1,4 +1,4 @@
-// RUN: clang -verify -parse-noop %t
+// RUN: clang-cc -verify -parse-noop %t
 
 void add_attribute(id) int id; {}
 
index 9aadbceac139681ca5755515faebbc591342cb34..6a404aa3a2c6844fcb015976c65df0bb410e31c0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int foo() {
   {
index 039bafea0976ed4ec1981c06cef6b1a2779e442d..6f5622e93932027fa9448eb73466bd205a95efdd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -fms-extensions -x=objective-c++ %s
+// RUN: clang-cc -fsyntax-only -verify -fms-extensions -x=objective-c++ %s
 __stdcall int func0();
 int __stdcall func();
 typedef int (__cdecl *tptr)();
index cd92c3258c6ab080e18957c293f3cba4b5ab2608..c9494e7373a0f43ce64a09369c69d12b41d02ffe 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s
+// RUN: clang-cc %s
 int abc (const float x) {
   return 1;
 }
index 16263f43571b2ebbb49c458612483102f80f8474..1a43178a40cd16f81348d43d4b80aa9cf83d997c 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -fsyntax-only -verify %s
+/* RUN: clang-cc -fsyntax-only -verify %s
 */
 
 int foo(int A) { /* expected-note {{previous definition is here}} */
index 8b9f065c822a31c81beea0cf1d745fdbca6c204a..5e6f439cfdf84e1ce37332a621b65390dc012e5e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 typedef struct foo foo;
 
 void blah(int foo) {
index c23d31a7247b606b899989b236bae9d4c6e5608b..9cf9046aab6a46838b72fa98e785d2f000ba5638 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f1() {
   asm ("ret" : : :); // expected-error {{expected string literal}}
index d7fc35d92b3a483df5a427635c2ad4aa7555fe2d..37fa0ca1d368d7ac79636e708aeb7415880f14c5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -pedantic -std=c99
+// RUN: clang-cc -fsyntax-only -verify %s -pedantic -std=c99
 
 int __attribute__(()) x;  // expected-warning {{extension used}}
 
index fab9fa303945c30570a9b59400affedea7e803a2..6e59667c354968a1ace8873ca6c921601a725562 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -fsyntax-only -verify %s
+/* RUN: clang-cc -fsyntax-only -verify %s
 */
 int foo() { 
   break; /* expected-error {{'break' statement not in loop or switch statement}} */
index c9be12f1f077aa8bb50a982758ffb8f00ca7f1d0..d24ec5f1c69889f28840d51a37af80e7dc565ecf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -parse-noop %s
+// RUN: clang-cc -fsyntax-only -verify -parse-noop %s
 #if 0
 #include <stdio.h>
 void _Block_byref_release(void*src){}
index 9920f5f68b3dfef53a86d74e06e8a0b13cbafc77..7a21651bad32cb3cf44be5709b5eb5b4069c57a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -parse-noop -fblocks %s
+// RUN: clang-cc -fsyntax-only -verify -parse-noop -fblocks %s
 
 struct blockStruct {
   int (^a)(float, int);
index 0a46f33b71d956904af5b9c5b264daef782b659a..7046310eb4a8942598ad2f51336b27bd519b6f51 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct foo { int a; };
 
index 925c7ea50a1675f32f6166056c7e15cad20acdf3..0664a9f5564133f4947a5bbbe6e0e08f1e0b0d4a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 extern int funcInt(int);
 extern float funcFloat(float);
index 2b380503ace696a55963cda1c4f095037157ff1a..ffca15e6a2ebda18a4d4f1f851318de335af8468 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s 
+// RUN: clang-cc -fsyntax-only %s 
 void bla1() {
   struct XXX;
   int XXX;
index 990b8f76e1a520a34abd7b0e9ee3cc341f9569b0..f6ad0ff511be58cd13db7a9f6388c2318b4717e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -ast-print %s
+// RUN: clang-cc -ast-print %s
 
 #include <stddef.h>
 
index 967fa7583cd79f49e36a4ac8f5aaf7bf1bcf0417..f596e9ba0f37f513aa84e02a71b4a1b09ccdaddf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Subclass 
 + (int)magicNumber;
index 9036c65dce557d143b3a3cc33557624cf3191fb3..f4aa430cde18fa965748681b11f2ce572e3d04df 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int @interface bla  ; // expected-error {{cannot combine with previous 'int' declaration specifier}}
 @end
index c69f0f0d03533acc3efe1a9b78b381e2512ad09a..4df851c7bf9f9862b44ebf95f30eac30d12b63da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 struct foo {
   int a;
 };
index c6d665ca43beeed608d2ea883bc7a08147b2ff90..c263763b2e2a1730c8af37bc3b6224de5d650e4d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 int main() {
   char *s;
   s = (char []){"whatever"}; 
index 4beed7eecd3d2ad3ca4920745b35c80412cf97d6..7ffc6ac46c0ff9c5c7d3066ed05ebf6e62d00468 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -std=c90 -verify &&
-// RUN: clang %s -std=c99
+// RUN: clang-cc %s -std=c90 -verify &&
+// RUN: clang-cc %s -std=c99
 
 int f (int z) { 
   if (z + sizeof (enum {a}))        // expected-note {{previous definition is here}}
index 623dcb2887e85fd043e7a39407b130c6c27d3011..f0b3a9f9f038264767327c82e067e9c6649ca140 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 
 bool a = true;
 bool b = false;
index 4b11dc8a2bcea89d4e94cf0e984cd68b49ace124..1fdc28d2c8800fef54c0073f1d80a0824591266f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 
 char *const_cast_test(const char *var)
 {
@@ -33,4 +33,4 @@ double static_cast_test(int i)
 char postfix_expr_test()
 {
   return reinterpret_cast<char*>(0xdeadbeef)[0];
-}
\ No newline at end of file
+}
index 9cdd1d7c0eca6b38ce033dea656e298d3a8d48c9..ff452b9191142a59ff903ef9b30b0f078df2b7fb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 class C;
 class C {
 public:
index 2a77193f259d29fcddd62c192469137b50dc7792..8fbca2a90f7833294c0b2a2ca858c75154d01462 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -parse-noop -verify %s
+// RUN: clang-cc -parse-noop -verify %s
 
 void f() {
   int a;
index 47e9ffb50b314b8d8900bf678c399229defa9dda..b2203c96df7256a1aa8bddf93942e9819c4fd5a8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only  %s
+// RUN: clang-cc -fsyntax-only  %s
 
 struct X { };
 
index a1cbc5ea4dec5b263e8ba284a2c1de622068bcdd..0d2b9d29c369150a5733ec4232098a48b78346e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 extern char *bork;
 char *& bar = bork;
index ce617fb7a2925f0f8053e66258506d37d17e98ba..ec333de8b4f17a9b9360b20657ff31f6095c62f1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // Errors
 export class foo { };   // expected-error {{expected template}}
index 642c8f6fe8f20130cc00d5ea56082db62a79c413..76b85e840659a9e97a16f355a7d3e02551aa7a20 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f()
 {
index 1a6ffdbcd0a0d5a220b8114dca7af1632917643d..5a92e7322f1f3a9a1e83f07b79a8f62be4a04192 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // FIXME: This should really include <typeinfo>, but we don't have that yet.
 namespace std {
index 7e09905d8f4c948959c76b140d77cb1f163c7ff9..0bf446316cfcb3477b656c2ba1d121fc91b7d73d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 static void test() {
   int *pi;
index bf89bb19211fdf3b460d22dc200ae1242e905b05..676f4e6c5a5e1d6a8962b223b5f1873d7bc86a11 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 class A {};
 
index 0e9c5ca285ad431ce2bcf65ce6a0e59adeb5ae1f..86d6b6bf2c5db4183b418251c201377ca6a1ff47 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only  %s
+// RUN: clang-cc -fsyntax-only  %s
 
 void f(...) {
   int g(int(...));
index 5736b79ff76ffac87b861a4ac4331d7960293fb1..389f2b947003c9d3f6f42106d229ca683fea052b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -std=c++0x %s
+// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
 
 int && r1(int &&a);
 
index fb7704faf3d6e9c414c3767ea8da9de5efc9e1ba..8a533ee53d8ab42c50501bfdc78bbf5510c79b9a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic
+// RUN: clang-cc %s -fsyntax-only -verify -pedantic
 
 extern int a1[];
 
index d17f1b50eca24e1a772c15402b8a74499d84986c..76c2d435227fb9b80102457b796ae436982d245d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify -pedantic
+// RUN: clang-cc -fsyntax-only %s -verify -pedantic
 
 int X[] = {
   [4]4,       // expected-warning {{use of GNU 'missing =' extension in designator}}
index ce12882ecf0276392c214c1ba4de40be704757c2..1e088a01151147d7c4a45c1597522b1625878832 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int main(void) {
   const char ch = @encode(char *)[2];
index 354502e7913e79ea21fe2304fe07f13947ce14fc..1f42ec2efbb4909cc43f55a931e4cd73aafc9d57 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol MyProto1 
 @optional
index 29621f1975e6bb0ad500a1838ab998463d68af64..3f58ef3d51ed149abe6924f95e2d4b1101a570fc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -parse-noop %s
+// RUN: clang-cc -parse-noop %s
 
 void test1() {
   if (sizeof (int){ 1});   // sizeof compound literal
index 8e314aca6f7eeb6bd8c44f8d3ed67bc6e3b67797..e9e41216f98627f4e9fe3df5dfab1fbe85b3d3a9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -parse-noop %s
+// RUN: clang-cc -parse-noop %s
 
 void test1() {
   @"s";            // expected-warning {{expression result unused}}
index 9bd18de63f7d2322237334b986c69173bacce967..24f1ac5181a8988810bd3e99fb01eb41bdb51dbe 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only
+// RUN: clang-cc %s -fsyntax-only
 
 // Top level extension marker.
 
index 3493baa156d8cbf1db8ae3f3968a18144ca7f7e6..28bb5c2e18dad6a5111c790b3b1f5340ec498bf6 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang %s -ast-print
+/* RUN: clang-cc %s -ast-print
  */
 
 void foo() {
index 87d6ea5513d0170a7f0eb2737ea25349283c8e32..e8d1963e38c2f68bf173040f20dec8d1837d7ec7 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -fsyntax-only -verify %s
+/* RUN: clang-cc -fsyntax-only -verify %s
 */
 
 void foo() { 
index 43a3676ca487eaa3421c8cf8856ece2458a8d9b6..fdc75e9f10b0fcb527690b0bf19ca8513b9b2115 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify --std=c90 %s
+// RUN: clang-cc -fsyntax-only -verify --std=c90 %s
 
 int f (int z)
 { 
index 41d7ae2e18158c12f0a81d1b1c3d2bd46621e07c..37cd0e15ab8e499a4cce194997ac145182ce0d18 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify --std=c99 %s
+// RUN: clang-cc -fsyntax-only -verify --std=c99 %s
 
 int f (int z)
 { 
index 2e8e00018221ae7220f1c2a18b64cc11c28fa7b0..e7d20980da47594479b91e607c88d86c7f5228ec 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 _Complex double X;
 void test1(int c) {
   X = 5;
index 6399f040a9cf72bb4ffe1f89fc3a8d087a34e227..1d535de8c14045ada6b568f328a77e18241884da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -parse-noop
+// RUN: clang-cc %s -parse-noop
 @interface MyObject 
 - (void) bycopy  : (int) woodo, ... ;
 - (void) break  : (int) woodo, ... ;
index 298798c5fa1876454884a1eccb63e09ac7f19d54..3c8b85a2d61a0670261151296e6385f7bb471e3e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 typedef int Object;
 
index 443b50ab02f4539abdac3a7c339ff60240a60c2a..42298c39c46fb9962fc68523cb2eda88905c1371 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 typedef int Object;
 
index 67e013f1d3db997612b140e1dd58ff31d171254a..e121bed0aea86dcc382d7601264e901d8efaaac4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -ast-print %s
+// RUN: clang-cc -ast-print %s
 
 @protocol P1 @end
 @protocol P2 @end
index 3da911b6decaa4b5e71f0466814e9d04dee7843b..6c1bd29517369acf55c9c23ca7d50f5e6b337a09 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 6db74dc9527beb66954147dd0d023025d72bd125..21ec308a28a1a17391057d5d1d5ba2f01deaf6f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 
 typedef struct objc_class *Class;
 typedef struct objc_object {
index 31c8097ccb25ce42049ae9717781c19cbad40dd0..ddb279b6f7c14866bc5e4bfa37bdb053676eb013 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef struct objc_class *Class;
 typedef struct objc_object {
index d67a714dafa0a6fd91a02a962461f33288ba0af7..0f2bb90df85f6755f52b14f819c9a7f2b90270bf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef struct objc_class *Class;
 typedef struct objc_object {
index e65c32900506b277e7c4323e714c07e11511e138..16a7ea8e3dc39d712af52ae35a4a8a7aeb2ae324 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 ce MyList // expected-error {{invalid token after top level declarator}}
 @end
index c00f7772e524b116950880954d857c2698dd74d3..950fc2f114a33f1da7233dfece7ec1b5d93c2e7e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 static int test_NSURLGetResourceValueForKey( id keys )
 {
index f45d3236b5571fa5868437036dec3389b1e75c65..8d74dfecbd09c1791e925720a6dbabcf88a2cee5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -pedantic
+// RUN: clang-cc -fsyntax-only -verify %s -pedantic
 // rdar://5707001
 
 @interface NSNumber;
index b13eea59552cba162628ea8e1c616d035336c96a..7aa672901fffb90ca214fd99e680a410f3e7aeed 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 // Test features and error recovery for objc interfaces.
 
index 7340fac5f7cdc96bacc265825bd2451f556e0188..4a36fc950fa8c99c97a0ad8d2f018d2180aaa7ee 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -parse-noop
+// RUN: clang-cc %s -parse-noop
 int main ()
 {
        int i,j;
index 23db7e28c44c48ad4824d3f2e415a1575fe3fa44..a1ec116fb7b42581c3c08243d5652e444e5286df 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int main()
    {
index 7d38371190caca42c8c60ac1cd604e49ef69696f..9108451f1bff8c71c9e9681e91cb504d9bd3cc72 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 @end // expected-warning {{@end must appear in an @implementation context}}
index 1a8fd119475a6ad13f9c4786c13838be22ca5792..cf75aaa2d5a2f53fab30b5393e51cbca3de123b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface MyClass {
 
index c5fe8bb1a1874604db9f14247bf582f457281933..2913b580c5fc63f96e30ce083f5ff202fe6a2ba8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // FIXME: This is a horrible error message here. Fix.
 int @"s" = 5;  // expected-error {{prefix attribute must be}}
index 255453135b0169b80acf8b9c10c96c19b3afb496..2c41cac3ee62394d3a3965d128036a42b480e59f 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -fsyntax-only -verify %s &&
-// RUN: clang -fsyntax-only -verify -x objective-c++ %s
+// RUN: clang-cc -fsyntax-only -verify %s &&
+// RUN: clang-cc -fsyntax-only -verify -x objective-c++ %s
 void * proc();
 
 @interface NSConstantString
index 5d3cbd994f9d44e702fa22ab7ae40ca09f1cdab7..d9ad70474f2b7f902907da2e1ccf3aa7d051790d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -ast-print %s
+// RUN: clang-cc -ast-print %s
 
 @protocol P1 @end
 @protocol P2 @end
index 81acc07b61c8977cfea87923036eabfa48cccca2..f35487ee95c621898b45bb2bd838af67d4d3db04 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f (int p[]) { p++; }
 
index 3556c9aa4d40740896ac5f1e587c9c9b607b5157..d252b42c9b15ef958c33deb7aff73930aa492436 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int *test1(int *a)         { return a + 1; }
 int *test2(int *a)         { return 1 + a; }
index c648209bcf8fe53d333c8cd8390553407c1b94f4..0254828e0f02581044249dd17aa40943b7a83587 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int test() {
   void *vp;
index 0b83529494d943ffbe1c7b49c54fccba2bd4cebb..d42bbe5c40d2c874abd6b3ed13146ae6185adbfb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // Note that this puts the expected lines before the directives to work around
 // limitations in the -verify mode.
index 46eb90cd2b307e73612c28b40c35bc4e985a263a..bb6d04da2a082193e2bc9d0f190927bd0dda9bc3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify -fsyntax-only %s
+// RUN: clang-cc -verify -fsyntax-only %s
 
 __attribute__((deprecated)) @class B; // expected-error {{prefix attribute must be followed by an interface or protocol}}
 
index 40617a2a7df599031a5b83f2ad31bc8018898b69..faff3e35d5a3d78894002b4882a9e03ea61c20a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s
+// RUN: clang-cc %s
 void functionPromotion(void f(char *const []));
 void arrayPromotion(char * const argv[]);
 
index 5065b9446a10e3925b38e734c0743c707f74f973..1d49525f3b66e730651394ad3efe908a418e1a57 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic -fblocks %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic -fblocks %s
 
 // PR2241
 float test2241[] = { 
index abe94241aed0e7e6efc09f67dd9ff6d247460f7d..85ef919689dfb33906acfb7e3e6124b023c89ae3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -parse-noop %s 
+// RUN: clang-cc -parse-noop %s 
 
 int main() {
  SEL s = @selector(retain);
index 26b26624da12ec0db394c99021816e3a3722af8e..c5923bc0641b7538fbe423929c691d691e838160 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int test1() {
   { ; {  ;;}} ;;
index c16f9fc185dcc7cb168e2ed65b1a9400f5a86f64..11e5f7e97ab1eaa3528b3fa84502d6c75add739d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only
+// RUN: clang-cc %s -fsyntax-only
 
 // C99 6.7.2.3p11
 
index f89708cec14838ff3ffbcb5b76f2e45348b3f916..2a21ec3708d4937847965fca232e1b6322fca796 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify
+// RUN: clang-cc -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 ac51f58021ec65be6c5a88cf93f30d3f80db51ba..8cb16c36f2a937eee5acf0fc4ae2253c9e5f1f69 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef int TInt;
 
index f1ffb94b98c6de1983ccbcb5a5de0945b69ce67e..69d7eb71054bdefefd1f62826d4371764586a1ef 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only
+// RUN: clang-cc %s -fsyntax-only
 
 // Test the X can be overloaded inside the struct.
 typedef int X; 
index 837f31d07c9599d60752fab0335c20e4141da529..da1d87f741e6ce5f715f7938b4e12e1b7c4f1842 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -E 2>&1 | grep 'DO_PRAGMA (STR' &&
-// RUN: clang %s -E 2>&1 | grep '7:3'
+// RUN: clang-cc %s -E 2>&1 | grep 'DO_PRAGMA (STR' &&
+// RUN: clang-cc %s -E 2>&1 | grep '7:3'
 
 #define DO_PRAGMA _Pragma 
 #define STR "GCC dependency \"parse.y\"")
index 152e71ac13bfd14e41d9421b25e5e7379fe335e6..61cadfbb8a189d9f0a0d92404d819916a1c9020b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E | not grep 'scratch space'
+// RUN: clang-cc %s -E | not grep 'scratch space'
 
 #define push _Pragma ("pack(push)")
 push
index b8f5499c7a154112c841f310e3f300aa0c790935..87379491676db51f53f739dd46031953732e5365 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -E | grep '#pragma x y z' &&
-// RUN: clang %s -E | grep '#pragma a b c'
+// RUN: clang-cc %s -E | grep '#pragma x y z' &&
+// RUN: clang-cc %s -E | grep '#pragma a b c'
 
 _Pragma("x y z")
 _Pragma("a b c")
index 82a7fbecc2e85be890350a911bc32ec222a7d01d..742f88532eeca1d623b7fa0835966774062cb310 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -Eonly %s 2>&1 | grep error | wc -l | grep 1 &&
-// RUN: clang -Eonly %s 2>&1 | grep 7:4 | wc -l | grep 1
+// RUN: clang-cc -Eonly %s 2>&1 | grep error | wc -l | grep 1 &&
+// RUN: clang-cc -Eonly %s 2>&1 | grep 7:4 | wc -l | grep 1
 
 #define BAR _Pragma ("GCC poison XYZW")  XYZW /*NO ERROR*/
 XYZW   // NO ERROR
index 4d2d29e023aaa2960b943238017ddf41efb0a70c..44eda5f0b962b70363b3716c1c1be05ef31f9239 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E 2>&1 | grep 'system_header ignored in main file'
+// RUN: clang-cc %s -E 2>&1 | grep 'system_header ignored in main file'
 
 _Pragma ("GCC system_header")
 
index 190e5a7a3078715d078a6d5cc8216ef6836e90bd..de7f2d3dc3b155877c35e46d7c6fe3b795cfab1c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s 2>&1 | grep 'file not found'
+// RUN: clang-cc -E %s 2>&1 | grep 'file not found'
 
 #define DO_PRAGMA _Pragma 
 DO_PRAGMA ("GCC dependency \"blahblabh\"")
index ecb77e5f964a21e5733c955a2965c7ed0c71ab9f..7a2830b3240d9f34423f5f472dd4efbd68d295e8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -x assembler-with-cpp -E %s > %t &&
+// RUN: clang-cc -x assembler-with-cpp -E %s > %t &&
 
 #ifndef __ASSEMBLER__
 #error "__ASSEMBLER__ not defined"
index 7698d5f43c414ae2187cd1bd7f83154930fd5b42..db01e47995a81e489698cc4e394c36eadd2c814b 100644 (file)
@@ -1,10 +1,10 @@
-// RUN: clang %s -E | grep "^  4" &&
+// RUN: clang-cc %s -E | grep "^  4" &&
 #define FOO __LINE__
 
   FOO
 
 // PR3579 - This should expand to the __LINE__ of the ')' not of the X.
-// RUN: clang %s -E | grep "^A 13"
+// RUN: clang-cc %s -E | grep "^A 13"
 
 #define X() __LINE__
 
index 13d5661e36087265651feea3667ecefe3b668551..89660549b9a13c11e4a9db85bf5805ce4412dbc4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep -F 'char p[] = "x ## y";'
+// RUN: clang-cc -E %s | grep -F 'char p[] = "x ## y";'
 #define hash_hash # ## # 
 #define mkstr(a) # a 
 #define in_between(a) mkstr(a) 
index fa5f7358b9eb9ac93c06a8529c1b27c1cc4da817..22bdf8258cbe04f620ab9031385b0edf407d0408 100644 (file)
@@ -1,9 +1,9 @@
 // Example from C99 6.10.3.4p5
 
-// RUN: clang -E %s | grep -F 'f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1);' &&
-// RUN: clang -E %s | grep -F 'f(2 * (2 +(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))^m(0,1);' &&
-// RUN: clang -E %s | grep -F 'int i[] = { 1, 23, 4, 5, };' &&
-// RUN: clang -E %s | grep -F 'char c[2][6] = { "hello", "" };'
+// RUN: clang-cc -E %s | grep -F 'f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1);' &&
+// RUN: clang-cc -E %s | grep -F 'f(2 * (2 +(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))^m(0,1);' &&
+// RUN: clang-cc -E %s | grep -F 'int i[] = { 1, 23, 4, 5, };' &&
+// RUN: clang-cc -E %s | grep -F 'char c[2][6] = { "hello", "" };'
 
 
 #define x 3 
index ce7990a4cf3efacdc3e27ce583dfa66dd0a25829..c48d2efd2effc4a5be41ecc4729b00d015ea6be5 100644 (file)
@@ -1,10 +1,10 @@
 // Example from C99 6.10.3.4p6
 
-// RUN: clang -E %s | grep -F 'printf("x" "1" "= %d, x" "2" "= s" x1, x2);' &&
-// RUN: clang -E %s | grep 'fputs("strncmp(\\"abc\\\\0d\\" \\"abc\\", .\\\\4.) == 0" ": @\\n", s);' &&
-// RUN: clang -E %s | grep -F 'include "vers2.h"' &&
-// RUN: clang -E %s | grep -F '"hello";' &&
-// RUN: clang -E %s | grep -F '"hello" ", world"'
+// RUN: clang-cc -E %s | grep -F 'printf("x" "1" "= %d, x" "2" "= s" x1, x2);' &&
+// RUN: clang-cc -E %s | grep 'fputs("strncmp(\\"abc\\\\0d\\" \\"abc\\", .\\\\4.) == 0" ": @\\n", s);' &&
+// RUN: clang-cc -E %s | grep -F 'include "vers2.h"' &&
+// RUN: clang-cc -E %s | grep -F '"hello";' &&
+// RUN: clang-cc -E %s | grep -F '"hello" ", world"'
 
 #define str(s) # s 
 #define xstr(s) str(s) 
index 88957dfb67522ccc95647575633ed9cec3d48d0f..a53df8263f19acafd59dfa220be63a1b4b6b0864 100644 (file)
@@ -1,7 +1,7 @@
 // Example from C99 6.10.3.4p7
 
-// RUN: clang -E %s | grep -F 'int j[] = { 123, 45, 67, 89,' &&
-// RUN: clang -E %s | grep -F '10, 11, 12, };'
+// RUN: clang-cc -E %s | grep -F 'int j[] = { 123, 45, 67, 89,' &&
+// RUN: clang-cc -E %s | grep -F '10, 11, 12, };'
 
 #define t(x,y,z) x ## y ## z 
 int j[] = { t(1,2,3), t(,4,5), t(6,,7), t(8,9,), 
index 08b4637e0e3002f4863825b4815e1ea97e997c6a..39c34546ad4d4f036f1651642fb57a14d466f1cd 100644 (file)
@@ -1,9 +1,9 @@
 // Example from C99 6.10.3.4p9
 
-// RUN: clang -E %s | grep -F 'fprintf(stderr, "Flag");' &&
-// RUN: clang -E %s | grep -F 'fprintf(stderr, "X = %d\n", x);' &&
-// RUN: clang -E %s | grep -F 'puts("The first, second, and third items.");' &&
-// RUN: clang -E %s | grep -F '((x>y)?puts("x>y"): printf("x is %d but y is %d", x, y));'
+// RUN: clang-cc -E %s | grep -F 'fprintf(stderr, "Flag");' &&
+// RUN: clang-cc -E %s | grep -F 'fprintf(stderr, "X = %d\n", x);' &&
+// RUN: clang-cc -E %s | grep -F 'puts("The first, second, and third items.");' &&
+// RUN: clang-cc -E %s | grep -F '((x>y)?puts("x>y"): printf("x is %d but y is %d", x, y));'
 
 #define debug(...) fprintf(stderr, __VA_ARGS__) 
 #define showlist(...) puts(#__VA_ARGS__) 
index 4fa6153459fdaa633c83377414dd64c0a65b96be..1cb331998f43b40c66a0b12dabaa32767efc2ba6 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -E %s
+// RUN: clang-cc -E %s
 
 #include <limits.h>
index 1a3bd96efb5ee550e8c6528518ba29db887f4e1a..30b043433c970aaa70e6105aafbc2b015022b1f8 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -E -C %s | grep '^// foo$' &&
-// RUN: clang -E -C %s | grep -F '^/* bar */$'
+// RUN: clang-cc -E -C %s | grep '^// foo$' &&
+// RUN: clang-cc -E -C %s | grep -F '^/* bar */$'
 
 // foo
 /* bar */
index ce7b4c45b10e15d2640c4ef6c2c456e5d5ddf799..c08b2d7c78b7b41f9cb33ba720c1d5bbd4e457a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E -CC -pedantic 2>&1 | grep -v '^/' | not grep warning
+// RUN: clang-cc %s -E -CC -pedantic 2>&1 | grep -v '^/' | not grep warning
 
 #if 1 /*bar */
 
index 635a6fd4064ebc8613ca0ab996959e68c6df79a7..66b59d136d7310956a763e08239e66789e9bbb67 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -E -C %s | grep '^boo bork bar // zot$' &&
-// RUN: clang -E -CC %s | grep -F '^boo bork /* blah*/ bar // zot$' &&
-// RUN: clang -E %s | grep '^boo bork bar$'
+// RUN: clang-cc -E -C %s | grep '^boo bork bar // zot$' &&
+// RUN: clang-cc -E -CC %s | grep -F '^boo bork /* blah*/ bar // zot$' &&
+// RUN: clang-cc -E %s | grep '^boo bork bar$'
 
 
 #define FOO bork // blah
index b6bd00e5293db2390a85309c3151b5d73c8b7caf..971b7bc991dcf05fb9790b68da7198f74a35c361 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -DA -DB -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -DA -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -DB -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -E %s | grep 'int a = 927 == 927'
+// 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'
 #if defined(A) and defined(B)
 #define X 37
 #else
index ecc52e89ab5a2d6884b7f8b53e7ed70b175ec72e..8d7fe678e3e05a260a0281acca86e796126ea634 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -DA=1 -DB=2 -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -DA=1 -DB=1 -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -E %s | grep 'int a = 927 == 927'
+// 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'
 #if A bitand B
 #define X 37
 #else
index 36c44523df398062e84aa41703eb0b920c4e1113..7645c7ee5133eef1ed039fef5bd312644598d003 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -DA=1 -DB=1 -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -DA=0 -DB=1 -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -DA=1 -DB=0 -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -DA=0 -DB=0 -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -E %s | grep 'int a = 927 == 927'
+// 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'
 #if A bitor B
 #define X 37
 #else
index 12e589ffa1e23bc7c7a4070aeb785749e516b0af..f1cc6d2800d5ad1a88830b5041f57c23d9ab574b 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -DA=1 -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -DA=0 -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -E %s | grep 'int a = 927 == 927'
+// 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'
 #if compl 0 bitand A
 #define X 37
 #else
index 2587b0ab994c981dfaebe937fb12a9c9d7537e35..dd3190117d92ccc1d6a90cb2af6ce0ca725d1be7 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -DA=1 -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -E %s | grep 'int a = 37 == 37'
+// RUN: clang-cc -DA=1 -E %s | grep 'int a = 927 == 927' &&
+// RUN: clang-cc -E %s | grep 'int a = 37 == 37'
 #if not defined(A)
 #define X 37
 #else
index b0be7b39173977b819f4c6603eb66fa13a169bc7..4940f3b0a7bff121e880ac97cb520cdfbe0bf3a3 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -DA=1 -DB=1 -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -DA=1 -DB=2 -E %s | grep 'int a = 37 == 37'
+// 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'
 #if A not_eq B
 #define X 37
 #else
index 66586e7b36ce52821248b8dec9b1cc3eae936ed9..faae68741eed6acd7b22e71531e50e954b286a00 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: not clang %s -E &&
-// RUN: clang %s -E -fno-operator-names
+// RUN: not clang-cc %s -E &&
+// RUN: clang-cc %s -E -fno-operator-names
 
 // Not valid in C++ unless -fno-operator-names is passed.
 #define and foo
index fc8bc70e5196f0ec7170918bbcdccafa33c9b38e..85f0426ca3a9b7bae8ed875f396b9a874c0ea3d6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep 'a: "and"'
+// RUN: clang-cc -E %s | grep 'a: "and"'
 
 #define X(A) #A
 
index ce3fed1cd48fd90fe93782122b49ecb6e14db744..133f28516b422f5152fbd95e7be4ad4f25121e7f 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -DA -DB -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -DA -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -DB -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -E %s | grep 'int a = 927 == 927'
+// 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'
 #if defined(A) or defined(B)
 #define X 37
 #else
index 5ebdaf8d2fecb88fcda8b0baa8c3374bfea16b2d..e35c54d7b3fcf0ae62d7a760c70f5111ad7f879c 100644 (file)
@@ -1,6 +1,6 @@
-/* RUN: clang -E %s -x=c++ | grep block_1 &&
-   RUN: clang -E %s -x=c++ | not grep block_2 &&
-   RUN: clang -E %s -x=c | not grep block
+/* 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
 */
 
 #if true
index 7a4c8822cda993c814f54d627007804aff1ca88f..a38c3c5454b96f38ea5e1ea492285d1494e2f7a5 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang -DA=1 -DB=1 -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -DA=0 -DB=1 -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -DA=1 -DB=0 -E %s | grep 'int a = 37 == 37' &&
-// RUN: clang -DA=0 -DB=0 -E %s | grep 'int a = 927 == 927' &&
-// RUN: clang -E %s | grep 'int a = 927 == 927'
+// 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'
 #if A xor B
 #define X 37
 #else
index df9dc8919b1f5b440e1c917f589e533f12928304..eb7632f29b3fd80c5be069a5273aadbe4db3b79b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s 2>&1 | not grep "warning\|error"
+// RUN: clang-cc -E %s 2>&1 | not grep "warning\|error"
 
 #if 0
 
index 348257fb51997983c12fe6fec192273ad676088c..d3e06b2bfac7908c5e9730e117afeca1c44ed88a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E -dM %s -o %t &&
+// RUN: clang-cc -E -dM %s -o %t &&
 
 // Space even without expansion tokens
 // RUN: grep "#define A(x) " %t &&
index ae7ccc7d210f7f57afd0b86024601d16e5070526..c0e78c9b155dcc13ad615fc4c2ff621d0d605397 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -dump-tokens %s 2>&1 | grep "Spelling=.*dumptokens_phyloc.c:3:20"
+// RUN: clang-cc -dump-tokens %s 2>&1 | grep "Spelling=.*dumptokens_phyloc.c:3:20"
 
 #define TESTPHYLOC 10
 
index e36f0407bf8df88a9afcd05a439a304aa02c1570..0a24baca46c90a0b25d6558747e31762ed58c495 100644 (file)
@@ -1,8 +1,8 @@
 // Comma is not allowed in C89
-// RUN: not clang -E %s -std=c89 -pedantic-errors &&
+// RUN: not clang-cc -E %s -std=c89 -pedantic-errors &&
 
 // Comma is allowed if unevaluated in C99
-// RUN: clang -E %s -std=c99 -pedantic-errors 
+// RUN: clang-cc -E %s -std=c99 -pedantic-errors 
 
 // PR2279
 
index 877a845eff66b350e3c8b23876a96835781748e4..5e750a462be01eedae4a144c24e3e9ea852e35d8 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: not clang -E %s 2>&1 | grep 'invalid token at start of a preprocessor expression' &&
-// RUN: not clang -E %s 2>&1 | grep 'token is not a valid binary operator in a preprocessor subexpression' &&
-// RUN: not clang -E %s 2>&1 | grep ':14: error: expected end of line in preprocessor expression'
+// 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'
 // PR2220
 
 #if 1 * * 2
index d9e5d7cb25f4bb3aa79002bdf9a3e6523412c21a..3d1e25edd4e6e42c145415d58da641898d0ae18b 100644 (file)
@@ -1,5 +1,5 @@
-/* RUN: clang -E %s -DNO_ERRORS -Werror -Wundef &&
-   RUN: not clang -E %s
+/* RUN: clang-cc -E %s -DNO_ERRORS -Werror -Wundef &&
+   RUN: not clang-cc -E %s
  */
 
 #ifdef NO_ERRORS
index 90275c99444440902d548309060af9ef6dca66e7..47aca7beca6f652b27da934a530ca5077fe44522 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E  2>&1 | grep warning | wc -l | grep 2
+// RUN: clang-cc %s -E  2>&1 | grep warning | wc -l | grep 2
 
 #define INTMAX_MIN (-9223372036854775807LL -1)
 
index c325c2fcf23248cf53c227463abe45148a745c11..00c9b8735f346636b0b9c7aa189d29fce1f9c24c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 // The preprocessor shouldn't warn about extensions within macro bodies that
 // aren't expanded.
index eeb9256ec7383f8e0526035a4969a7ba931bdab8..6a266dd0790a7845ad2cd4b604fef387f5ea9307 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -E -P %s | grep f
+/* RUN: clang-cc -E -P %s | grep f
  */
 
 #include "function_macro_file.h"
index 788440ba82aa634ecf389f3cc7bace591c6b30c1..7ed65d1b424d1faceb0b417e34ec33c74f7ec82e 100644 (file)
@@ -1,7 +1,7 @@
 // The 1 and # should not go on the same line.
-// RUN: clang %s -E | not grep "1 #" &&
-// RUN: clang %s -E | grep '^1$' &&
-// RUN: clang %s -E | grep '^      #$'
+// RUN: clang-cc %s -E | not grep "1 #" &&
+// RUN: clang-cc %s -E | grep '^1$' &&
+// RUN: clang-cc %s -E | grep '^      #$'
 1
 #define EMPTY
 EMPTY #
index 77f5cfc5306f55386590c3949188bcd4c56d37f1..e7dbd3bc617b7beca1eb7b88fba95fee658fe882 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E | grep " #"
+// RUN: clang-cc %s -E | grep " #"
 
 // Should put a space before the # so that -fpreprocessed mode doesn't
 // macro expand this again.
index 10049adcd374b0bd1557d3c37a6f82fc1b93e16c..df58a6ea9c542060eac958e54fa7739cfb678c8b 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang -I /usr/include %s -E | grep 'stdio.h.*3.*4'
+// RUN: clang-cc -I /usr/include %s -E | grep 'stdio.h.*3.*4'
 #include <stdio.h>
index bf30d303b66d166201db63af453d15e25640293f..f07c88707e76abb20bd7fca6c15e68cda4886fc7 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -E -Wundef -Werror 2>&1 | grep error | count 1 &&
-// RUN: clang %s -E -Werror 2>&1 | not grep error 
+// RUN: clang-cc %s -E -Wundef -Werror 2>&1 | grep error | count 1 &&
+// RUN: clang-cc %s -E -Werror 2>&1 | not grep error 
 
 #if foo   // Should generate an warning
 #endif
index 7fad8c20bd4ce54e1db652f9ba41986b695719e5..3fffcc0290dec43ad306b91501d966852c6195c1 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -E %s 2>&1 >/dev/null | grep error: | count 3
+/* RUN: clang-cc -E %s 2>&1 >/dev/null | grep error: | count 3
  */
 
 #ifdef
index e8f6fa793d1be489cbe0b0d284bfe7a12a5bb226..2cabe3d71ca643822130fec3de5beffdeb459397 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E -I. %s | grep BODY_OF_FILE | wc -l | grep 1
+// RUN: clang-cc -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 3e449c526895c6058efea1b36f2e1b6fb255f2de..66f70fb3a9e593280a40c4048d876558df3fbd76 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 3
+// RUN: clang-cc -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 3
 
 // XX expands to nothing.
 #define XX
index 8309b4508aa57a653e6d5f11c3bdf9d4409d05e4..785b77cbdd85cc35ae2010ba51f9e38e0931bad0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -Eonly %s 
+// RUN: clang-cc -Eonly %s 
 #  define HEADER <float.h>
 
 #  include HEADER
index 9e22d5d4920e6d2b9c88995000d106c0e18e0bf8..2541301b9321e0f4ea2adfc3877fe949eecd2847 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -include file_to_include.h -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 1
+// RUN: clang-cc -include file_to_include.h -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 1
 // PR3464
 
index 64b46eb15ec932c0e899d3834ec9056f06995b0f..2bdc7dc8746eae06a3e8af405f17be9192b09fc9 100644 (file)
@@ -1,2 +1,3 @@
-// RUN: clang -x c-header %s -o %t && clang -include-pth %t %s -E | grep 'file_to_include' | count 2
+// RUN: clang-cc -x c-header %s -o %t && 
+// RUN: clang-cc -include-pth %t %s -E | grep 'file_to_include' | count 2
 #include "file_to_include.h"
index 0dcaa7b4b9aff08d689b295f1eecc974d618dbda..f6b411e93ff0e7f4c571220ef2dc988e49b7b5b8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep '^   zzap$'
+// RUN: clang-cc -E %s | grep '^   zzap$'
 
 // zzap is on a new line, should be indented.
 #define BLAH  zzap
index a1590fa33334d053e41df8d49b4cc6a6540e3961..07cfa65e9461b46aa14cb2b4acfc7e72999b48f9 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s &&
-// RUN: clang -E %s 2>&1 | grep 'blonk.c:92:2: error: #error ABC' &&
-// RUN: clang -E %s 2>&1 | grep 'blonk.c:93:2: error: #error DEF'
+// 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'
 
 #line 'a'            // expected-error {{#line directive requires a positive integer argument}}
 #line 0              // expected-error {{#line directive requires a positive integer argument}}
index 1f9d7e790f4f0cd740488da47024cdc8bb4f7d64..92b1ae53571336d86a702547b8c48eb85a9f252a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep xxx-xxx
+// RUN: clang-cc -E %s | grep xxx-xxx
 
 #define foo(return) return-return
 
index 33b856d8f645dd0f6fa6ff2ae86a1c01a0799d32..ff861d262197118cc2e946316120d7693aa56893 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -E %s | grep 'a: 2 + M_0(3)(4)(5);' &&
-// RUN: clang -E %s | grep 'b: 4 + 4 + 3 + 2 + 1 + M_0(3)(2)(1);'
+// 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);'
 
 #define M_0(x) M_ ## x 
 #define M_1(x) x + M_0(0) 
index 6e1f80469c3415060a88680adb5ddaa37147a1b0..286539e96f43dd3bf747707fd327a4e6d3d74e1b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep 'A B C A B A C A B C A'
+// RUN: clang-cc -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 b358a556775e4d34cd78a5725f95c1c8dfd3795b..011de3beed3d8db398de9eee3c637964ddf3944e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E | grep -F 'f(2 * (f(2 * (z[0]))));'
+// RUN: clang-cc %s -E | grep -F 'f(2 * (f(2 * (z[0]))));'
 // Check for C99 6.10.3.4p2.
 
 #define f(a) f(x * (a)) 
index 4858813a0ec069f131c0e30b2178a55fb07d6e8e..b652b988d0201e8b955197b007303e0086f02063 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -P -E %s | grep 'int f(void)'
+// RUN: clang-cc -P -E %s | grep 'int f(void)'
 // PR1820
 
 #define f(x) h(x
index 69a4835c5a6b6f83d318778182400134af3df19b..a7a80aff4273b424143c6303d63d1dbf76d65039 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep '^Y$'
+// RUN: clang-cc -E %s | grep '^Y$'
 
 #define X() Y
 #define Y() X
index 00bba6f60d7b34dc1a6bc2d76f5c648d543ecfe2..ce1efd20a277f0b98e35c14670bf1d4d797438d4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E 2>&1 | grep '#include'
+// RUN: clang-cc %s -E 2>&1 | grep '#include'
 #define FOO 1
 
 // The error message should be on the #include line, not the 1.
index 3a833299fdf9467317e07012e52d744084e6dbe9..9adf3fd911f93d1d45c878955e2398fd1503d1b8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E 2>&1 | grep '#include'
+// RUN: clang-cc %s -E 2>&1 | grep '#include'
 #define FOO BAR
 
 // The error message should be on the #include line, not the 1.
index d4f3bb9940dd8d3d12bc1ad652dccfae199f1a7a..4e06f89a160feca929d7b63aaad06c1ac67d6658 100644 (file)
@@ -1,7 +1,7 @@
 // Test the GNU comma swallowing extension.
-// RUN: clang %s -E | grep 'foo{A, }' && 
-// RUN: clang %s -E | grep 'fo2{A,}' && 
-// RUN: clang %s -E | grep '{foo}'
+// RUN: clang-cc %s -E | grep 'foo{A, }' && 
+// RUN: clang-cc %s -E | grep 'fo2{A,}' && 
+// RUN: clang-cc %s -E | grep '{foo}'
 
 #define X(Y) foo{A, Y}
 X()
index a9e1d46f06a2b7c6499c52df1ba7873459db018a..d99c01832eace0a414b2df17740671573526b68c 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -E | grep 'bar foo (2)' &&
-// RUN: clang %s -E | grep 'm(ABCD)'
+// RUN: clang-cc %s -E | grep 'bar foo (2)' &&
+// RUN: clang-cc %s -E | grep 'm(ABCD)'
 
 #define foo(x) bar x
 foo(foo) (2)
index 497ef230d26a59b4151919ead5fb43f49a5e3f56..1056fd82341a8d0d48e0e0fb71e1f8781ccfd541 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang -E %s | grep 'noexp: foo y' &&
-// RUN: clang -E %s | grep 'expand: abc' &&
-// RUN: clang -E %s | grep 'noexp2: foo nonexp' &&
-// RUN: clang -E %s | grep 'expand2: abc'
+// 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'
 
 #define A foo
 #define foo() abc
index fa4d5047fb08b22c7f153c110a3c727bf1ef0a3f..fb64befaf1e9ab461eec0652c6483fb2f1479ad6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep 'FUNC (3 +1);'
+// RUN: clang-cc -E %s | grep 'FUNC (3 +1);'
 
 #define F(a) a 
 #define FUNC(a) (a+1) 
index 30c0bcf47fad92131d25dc073bbadea14ac0f432..ff688ce2d7ae5f415041350b3d7c5e64ef86d490 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E | grep 'foo(A, )'
+// RUN: clang-cc %s -E | grep 'foo(A, )'
 
 #define X(Y) foo(A, Y)
 X()
index 81a7c417268494346b221899b766557262342f82..a392263aef43911d6973084096d96bfad074b486 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -E | grep 'pre: 1 1 X' &&
-// RUN: clang %s -E | grep 'nopre: 1A(X)'
+// RUN: clang-cc %s -E | grep 'pre: 1 1 X' &&
+// RUN: clang-cc %s -E | grep 'nopre: 1A(X)'
 
 /* Preexpansion of argument. */
 #define A(X) 1 X
index 716e920336e55b4893d54dfe1be3d8bc25a3ca1a..78ad212405cf540b95d6136c37e71ba7eb63e883 100644 (file)
@@ -1,7 +1,7 @@
 
-// RUN: clang -E %s | grep 'foo{a, b, c, d, e}' &&
-// RUN: clang -E %s | grep 'foo2{d, C, B}' &&
-// RUN: clang -E %s | grep 'foo2{d,e, C, B}'
+// 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}'
 
 #define va1(...) foo{a, __VA_ARGS__, e}
 va1(b, c, d)
index b3bb72c64310232d518a9c78c128b977d486595d..c2841b1574b16d38ec420444f14c503cd3f987e5 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -E %s | grep '^a: x$' &&
-// RUN: clang -E %s | grep '^b: x y, z,h$' &&
-// RUN: clang -E %s | grep '^c: foo(x)$'
+// 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)$'
 
 #define A(b, c...) b c
 a: A(x)
index 147e827df367d28b0fdf646543e6b89e3872503c..169c5ec772a299be3fdc8907567a6163216a1bf2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -Eonly -verify
+// RUN: clang-cc %s -Eonly -verify
 
 // This should not be rejected.
 #ifdef defined
index 388481a90e87fc22e4ca10c6f7768b56b2c26c53..a42240bab6078bc7c2f8d394e68a228df91df431 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep '^ # define X 3$'
+// RUN: clang-cc -E %s | grep '^ # define X 3$'
 
 #define H # 
  #define D define 
index 60caa4274389586323ef8b4774ff2fefbbde19e9..1ccfdec368c7fc1dcb39bee4f862f2814019f589 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -Eonly %s 2>&1 | grep error
+// RUN: clang-cc -Eonly %s 2>&1 | grep error
 // pasting ""x"" and ""+"" does not give a valid preprocessing token
 #define XYZ  x ## +
 XYZ
index 9a864d520cc5561a02a299770a9e6539e6f7917f..8bbee5dc2dd959f470de5d38ef3a33e81425646c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -Eonly 2>&1 | grep error
+// RUN: clang-cc %s -Eonly 2>&1 | grep error
 
 #define COMM1 / ## /
 COMM1
index 9299514c51e2c8a848f54ab317eb45dfd28671c8..86f812421d8caaea648844cdc2e25675fc5f27d3 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang %s -Eonly 2>&1 | grep error &&
-// RUN: clang %s -Eonly 2>&1 | not grep unterminated &&
-// RUN: clang %s -Eonly 2>&1 | not grep scratch
+// 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
 
 #define COMM / ## *
 COMM
index e75ac1f5740a4fb50a82a2c0ad37cb7a199aac8f..e98849b15afc196da37c753547f2a05388dce20a 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: clang %s -E | grep 'V);' &&
-// RUN: clang %s -E | grep 'W, 1, 2);' &&
-// RUN: clang %s -E | grep 'X, 1, 2);' &&
-// RUN: clang %s -E | grep 'Y, );' &&
-// RUN: clang %s -E | grep 'Z, );'
+// 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, );'
 
 #define debug(format, ...) format, ## __VA_ARGS__)
 debug(V);
index 8b78ecddd68dddc48cb63f9449762c22e0137219..75504bc22a78222b1ec33d62cc5e43c77dc2ae80 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -E %s | grep 'a:Y' &&
-// RUN: clang -E %s | grep 'b:Y' &&
-// RUN: clang -E %s | grep 'c:YY'
+// RUN: clang-cc -E %s | grep 'a:Y' &&
+// RUN: clang-cc -E %s | grep 'b:Y' &&
+// RUN: clang-cc -E %s | grep 'c:YY'
 
 #define FOO(X) X ## Y
 a:FOO()
index be467456bf7f68ab5d9745f824636c66d41319d5..25b6c1994b5c985c50cbc2446a517ad96333706e 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -E %s | grep '1: aaab 2' &&
-// RUN: clang -E %s | grep '2: 2 baaa' &&
-// RUN: clang -E %s | grep '3: 2 xx'
+// 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'
 
 #define a(n) aaa ## n
 #define b 2
index 4ebf55e41f399725fea5c9c4963126a57dc2417a..42654fd1b18b038d02e43c2418ec5f6e4856b3e8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep '^"x ## y";$'
+// RUN: clang-cc -E %s | grep '^"x ## y";$'
 #define hash_hash # ## # 
 #define mkstr(a) # a 
 #define in_between(a) mkstr(a) 
index 858337a879b8e932fa72c629e9f00ae3cd1ac435..b0fc57101c64cbf8225e21d785817149ff7f12f0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -P -E -fms-extensions %s | sed '/^#.\+/d' | tr -d '\n' |
+// RUN: clang-cc -P -E -fms-extensions %s | sed '/^#.\+/d' | tr -d '\n' |
 // RUN:   grep '^int foo;int bar;int baz;$' | count 1
 // This horrible stuff should preprocess into (other than whitespace):
 //   int foo;
index 2ba2820b16c37e736ec9a454898d852ea99ee0c8..e978fca225081c310a927e95e253645e8bdd53aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep '!!'
+// RUN: clang-cc -E %s | grep '!!'
 
 #define A(B,C) B ## C
 
index 82b75daf571481e11d0968c2b08b5d104e06afae..2affbac0dec37b30cfd5c69aa4adcb480d04452d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E | grep "barbaz123"
+// RUN: clang-cc %s -E | grep "barbaz123"
 
 #define FOO bar ## baz ## 123
 
index 471ebcc01559915ba007fd31a8a5825a9bd99d43..130548dbf99ee525f02630f99e0de70b48bfe10b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E | grep "^xy$"
+// RUN: clang-cc %s -E | grep "^xy$"
 
 #define A  x ## y
 blah
index 2ceb2923ca0d829ab4b684d4cee2ca76e91e9c5a..17b4dc2756fdb4b7450e5a35e9b3bf9962271d60 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -E %s | grep 'ei_1 = (17 +1);' &&
-// RUN: clang -E %s | grep 'ei_2 = (M1)(17);'
+// RUN: clang-cc -E %s | grep 'ei_1 = (17 +1);' &&
+// RUN: clang-cc -E %s | grep 'ei_2 = (M1)(17);'
 
 #define M1(a) (a+1) 
 #define M2(b) b 
index 4fae444002d1dbcc98c67f6aad249b3e3d3547c3..6914ae0ac5f36013ee3e8df206d6529884e01110 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -E | grep 'a: 2\*f(9)' &&
-// RUN: clang %s -E | grep 'b: 2\*9\*g'
+// RUN: clang-cc %s -E | grep 'a: 2\*f(9)' &&
+// RUN: clang-cc %s -E | grep 'b: 2\*9\*g'
 
 #define f(a) a*g 
 #define g f 
index 3c79d0e9931264cdcd4664888589fec355f549a0..ed1056ab1b3f9a9d7448d5a537fa18e907713e50 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -E %s | grep -F "1: F, (, 'a', 'b', );" &&
-// RUN: clang -E %s | grep -F "2: 'a' + 'b';"
+// RUN: clang-cc -E %s | grep -F "1: F, (, 'a', 'b', );" &&
+// RUN: clang-cc -E %s | grep -F "2: 'a' + 'b';"
 #define LPAREN ( 
 #define RPAREN ) 
 #define F(x, y) x + y 
index d4e62837ae69522e54856de85d4e7d9a440168f4..927509883845ca715956c24420cf2defc468fc64 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep '^3 ;$'
+// RUN: clang-cc -E %s | grep '^3 ;$'
 
 /* Right paren scanning, hard case.  Should expand to 3. */
 #define i(x) 3 
index a9ca9d1bb4529f4eeacb784bbe4f408b9545a2b6..41748ac459b9c80364e83c472ce13b5cc4c11ae4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep -F 'static int glob = (1 + 1 );'
+// RUN: clang-cc -E %s | grep -F 'static int glob = (1 + 1 );'
 
 #define R_PAREN ) 
 
index 553fddb68f6971659da824fc5f53cfb47539229e..4fdbb0a0ceef4755e4688b8579797216617ecfb7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E | grep '! ,'
+// RUN: clang-cc %s -E | grep '! ,'
 
 #define XX
 ! XX,
index 96029dc95abd5c71464bbc0c3b782d475434c12a..aa69e2b4aeac314dace5da53f47e295165c17b54 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: not clang -fsyntax-only %s
+// RUN: not clang-cc -fsyntax-only %s
 // PR1900
 // This test should get a redefinition error from m_iopt.h: the MI opt 
 // shouldn't apply.
index 0648acddf6e1eb214e1b4ade209a04eb738f2715..866e7e4809ac54886008d06e777591c087c1a32c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic
+// RUN: clang-cc %s -fsyntax-only -verify -pedantic
 
 #import <stdio.h>  // no warning.
 
index 7fe8788a267dfc1a955a1e51f16ff362132ca06a..b23d22a7963af5087fb3ac368393db781f1ce6e7 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: clang -E %s | grep '+ + - - + + = = =' &&
-// RUN: clang -E %s | not grep -F '...' &&
-// RUN: clang -E %s | not grep -F 'L"str"'
+// RUN: clang-cc -E %s | grep '+ + - - + + = = =' &&
+// RUN: clang-cc -E %s | not grep -F '...' &&
+// RUN: clang-cc -E %s | not grep -F 'L"str"'
 
 // This should print as ".. ." to avoid turning into ...
 #define y(a) ..a
index 89e879957e4fb2e72b8c6ca8522912ff49b112a7..de2417fbf5cb52a0d92a0da7d3854f9823150c80 100644 (file)
@@ -1,6 +1,6 @@
 // GCC PR 20077
-// RUN: not clang -E %s &&
-// RUN: not clang -E %s 2>&1 | grep error: | wc -l | grep 10
+// RUN: not clang-cc -E %s &&
+// RUN: not clang-cc -E %s 2>&1 | grep error: | wc -l | grep 10
 
 #define a   a ## ## /* { dg-error "end of a macro expansion" } */
 #define b() b ## ## /* { dg-error "end of a macro expansion" } */
index 5df4b47918f91c6242d027e9926bcca821b7b76b..9759ae473fed9a55a8d9b8f8f3ae0152d40ab5f4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E 2>&1 | grep error
+// RUN: clang-cc %s -E 2>&1 | grep error
 
 #pragma GCC poison rindex
 rindex(some_string, 'h');
index 3444bace4d62fe00a293abcc7b65949564ff4678..45676c8e6cb9365faa9762d040ba24ca63dea72a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -E 2>&1 | not grep error
+// RUN: clang-cc %s -E 2>&1 | not grep error
 
 #define strrchr rindex
 #pragma GCC poison rindex
index ddf2c166cdda86ecfec881a0007bff75820cd3ed..4df65a4f7c67e14e21b14041da34d22e02237215 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s
+// RUN: clang-cc -E %s
 
 #define test
 #include "pr2086.h"
index e05126d0dd7891d2e58d98baa0aea48e1d9cbf58..81e90e3de69fa4cd7d75ebd34e9623f2412c73db 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -fms-extensions
+// RUN: clang-cc %s -fsyntax-only -verify -fms-extensions
 
 // rdar://6495941
 
index ca2bea10e19caaa8a081ada8c96c9f991e3990dc..e1b040b5cf0fe28850ee8e175fd60fe61d043b3e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep '#pragma foo bar'
+// RUN: clang-cc -E %s | grep '#pragma foo bar'
 
 // GCC doesn't expand macro args for unrecognized pragmas.
 #define bar xX
index 505e5f9fae1106b6299ef486fe75431e96f77d15..539433d1af040e1834d59b74e60e9f2889fd320e 100644 (file)
@@ -1,8 +1,8 @@
-/* RUN: clang -E %s | grep 'a 3' &&
- * RUN: clang -E %s | grep 'b 16' &&
- * RUN: clang -E -P %s | grep 'a 3' &&
- * RUN: clang -E -P %s | grep 'b 16' &&
- * RUN: clang -E %s | not grep '# 0 '
+/* 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 '
  * PR1848
  * PR3437
 */
index 9efdd648b48fb7ed918450788e8ab2aeb9ca8441..31ce9b460def9ab625baf04972a9514cc04e4c38 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep bark
+// RUN: clang-cc -E %s | grep bark
 
 #if 0
 blah
index b8e4480ef83601ebb45c57de4330e6248b44f1fd..251116acad6695520a8d56b5bceded5b0707aee6 100644 (file)
@@ -1,9 +1,9 @@
-// RUN: clang -E %s | grep -F '"f(1, 2)" "g((x=y++, y))"' &&
-// RUN: clang -E %s | grep -F '"{a=1" "b=2;}"' &&
-// RUN: clang -E %s | grep -F '"<" "["' &&
-// RUN: clang -E %s | grep -F '"(,)" "(...)"' &&
-// RUN: clang -E %s | grep -F '{a=1 c=3; b=2;}' &&
-// RUN: clang -E %s | grep -F '"a COMMA b" "(a, b)"'
+// RUN: clang-cc -E %s | grep -F '"f(1, 2)" "g((x=y++, y))"' &&
+// RUN: clang-cc -E %s | grep -F '"{a=1" "b=2;}"' &&
+// RUN: clang-cc -E %s | grep -F '"<" "["' &&
+// RUN: clang-cc -E %s | grep -F '"(,)" "(...)"' &&
+// RUN: clang-cc -E %s | grep -F '{a=1 c=3; b=2;}' &&
+// RUN: clang-cc -E %s | grep -F '"a COMMA b" "(a, b)"'
 
 #define M(x, y) #x #y
 
index 8c83677d6794aa6b0732163c36f091a4284fd668..e41736c816834d0b4b3d33b234c77dc5513ac1a9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E %s | grep -- '-"" , - "" , -"" , - ""'
+// RUN: clang-cc -E %s | grep -- '-"" , - "" , -"" , - ""'
 
 #define A(b) -#b  ,  - #b  ,  -# b  ,  - # b
 A()
index cf81674065bbd4d54b4fc0be513d169f143a37c6..6a96894de6ee2724fd036b535203a30fe2ca6449 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -E %s | grep 'a c'
+/* RUN: clang-cc -E %s | grep 'a c'
  */
 #define t(x) #x
 t(a
index a2769345babf7cc98832d147f88f5756f3703ad2..f818e59a6d1fb531b0da217b44e5af4732d0decf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -pedantic-errors -verify 
+// RUN: clang-cc %s -pedantic-errors -verify 
 // PR2045
 
 #define b
index 59bcae831d8fa4c925cce41acc5865ff0b3c5e3f..2040aac17de2b5a42ae3096da92a7762535adac4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -E -verify %s
+// RUN: clang-cc -E -verify %s
 // PR3096
 #ifdef FOO // expected-error {{unterminated conditional directive}}
 /* /* */
index c65815ff9a5e0c1a9620f6055778862cdface9f5..9b24e6323d4547fecb0b20ca4ed25a82fea84865 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-blocks %s -fblocks -o -
+// RUN: clang-cc -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 2e34850e9684c2dd37798322d653cf3323b10722..d4aba58c7b60289e2b1cab9aa1f5b9be2c4fc9a9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc -o - %s
+// RUN: clang-cc -rewrite-objc -o - %s
 // rdar://5950938
 @interface NSArray {}
 + (id)arrayWithObjects:(id)firstObj, ...;
index 0d623dcc1ce057ffea191c2f2fb67ff6a97d9b17..bdc5a34fdf2dfb769f3e19bd82276808aec1ef72 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc -verify %s -o -
+// RUN: clang-cc -rewrite-objc -verify %s -o -
 
 int main() {
   @try {
index 121af3e588e0103ef8626d023e9c0af85caba974..ad1e76decf80784fd2fff993561e7bb7ced1abd5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @protocol P
 - (id<P>) Meth: (id<P>) Arg;
index fb504fd04c45a1b5dc558ee4432adfcff979472a..759146175d445d3defa76624db6bf0ed9380decf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @interface Intf
 {
index a5872d4285a97292c3712b7f69266aa23d394d26..86cc9b6a88f312825360310dfa87f53b32e5e8df 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @implementation Intf
 {
index 03586c54f3b363dc1ef3d27c41e8daacec6b188c..40eded121ece978125411246fa9cf902013dc24b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @interface Intf 
 @end
index 9a53bda004d57034c9ca61f28058d7040d08dd18..ab838f18bb935e631d05400797e1773679bbbc31 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 typedef struct _NSPoint {
     float x;
index 6559c6b9bbb5238a2c3d5637607db2543036a473..25dccbf7508403d9c8bf3866456fe786eeb34ea5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @protocol P1
 - (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
index d2944370389a28a8c779ce93ae62230e166a989c..684a0d2ded091e735c0a303c9009032df7cecbb9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 typedef struct NSMethodFrameArgInfo {
     struct NSMethodFrameArgInfo *subInfo;
index 5a9365f376f6a9ced5672b27535b548d947b6388..c7ad05a1884d63967d339d307a08130aa90c1ee6 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -rewrite-objc %s -o - &&
-// RUN: clang -rewrite-objc %s -o - | grep 'newInv->_container'
+// RUN: clang-cc -rewrite-objc %s -o - &&
+// RUN: clang-cc -rewrite-objc %s -o - | grep 'newInv->_container'
 
 @interface NSMutableArray 
 - (void)addObject:(id)addObject;
index bb3e835f6b24aaadef9a716284f157eebfdc36b6..e8f8a88f205690ef7f8c8c249b2d231de1fc69f1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @class NSString;
 
index fd61dbee2ee495bd0c5a50cf3a1c5deac9426eaa..500933d835dad038b2706745ee3ebba8f43495b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod
+// RUN: clang-cc -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod
 
 typedef struct objc_selector    *SEL;
 typedef struct objc_object *id;
index 5f8ae31d5d8cd355ebce9804e63d04d475a2dbfc..e3c41165db22f33a8146e5542034900bede455f5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 id SYNCH_EXPR();
 void SYNCH_BODY();
index 68ce6e97eba3a70e29b6ad45c48171ad5064a366..ac8ee9ff8c97f084a990970afbfdb5e71a6f1b23 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o -
+// RUN: clang-cc -rewrite-objc %s -o -
 
 @interface Foo {
     int i;
index 204f34a916a075998f349915be4c075fb4f5d1cb..263a97d85d28d3c2db18078ce993c93b61395089 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 typedef struct MyWidget {
   int a;
index 4d69eb0832e43d500ecb1b829ce9d52f9bfe47d9..ba0511b646503e1dea8207953c41542b4f12f64f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @interface MyDerived
 - (void) instanceMethod;
index a4e83a3bb0e346b3cb8fb2c1f6f1e09795339026..eef33f88c9ca6868a9354845665f241bf60f2396 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
             
 @protocol P @end
 
index 8ef4e969e8f96cb94f81dbc8c0d1052a6d88a06a..12f0e834df42dde407b1656064151d9a7663d762 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @protocol P @end
 
index 7bb4e9b02be89e70026b020c9c17bae0aa92cb59..3aa0d95b44bb8d5e602a042a210b3e2578890e93 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @protocol P @end
 
index c4d8bf605004805e87fbecee03e7dac37acaa28a..774f9a0b75c891a5fa8b4464f6cf57f1067662d3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @interface MyList
 - (id) allKeys;
index 0016da3fbe29449d7d925062f3698489a95a0753..d0d12444a3e799a6ec94733efeabcb0b349154cf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @interface MyList
 - (id) allKeys;
index 3bea346a7fb92853f83f50f982edd1a152c3ee01..c6043bb98eb4ce95b751306d005108e72e4f2859 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -rewrite-objc -o=-
+// RUN: clang-cc %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 1a829356850883972246ae0a42e07fd2208f2501..7a1690a3630be7a4d98d61367b7ed536f303d542 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @interface NSMapTable @end
 @interface NSEnumerator @end
index 47610dff3ae75b5ef18a9ef0b807468f9931adb4..48dc02971ca926d0267b46c9dabd7b3ce29407a5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @protocol MyProto1 
 @end
index be0bf0915890dc2116ed45a1f19ee7cb0d584287..8c6d08f2e01d60378a2bd642e5bfc7d4d487d198 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @interface Foo @end
 @interface GARF @end
index 4283d073b1c6b763c6e671efa4ea2fcf92b1f61c..0985a9d7755424defe6d4d7ea2a9acfe1a7673ee 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @protocol Proto
 - (void) ProtoDidget;
index 938a3973761917784d2ceadda7375fc7f00dcb47..b09765163ec032d2c0aed301915c55f16785a4c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 typedef struct S {
        int * pint;
index 67b970508b3e77987889c9ad338c866e8bd1d1cf..795fd61b4afa1f875d896c73b2651796b504a57b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @interface Derived @end
 
index f91345eaa129f1f33da07573f1b5bd5b2e03eb2c..43bc2ad8bfa5643a0a7950ccd0df2eb9a6798b26 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 @interface MyDerived 
 {
index 00065ebb9c15ef90835fe320a17d6c9a4852269b..3bee599435e799f970e6361f956987520e5ced8d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-objc %s -o=-
+// RUN: clang-cc -rewrite-objc %s -o=-
 
 #include <stdarg.h>
 
index 45678e90a9c1ab7c4a1ad4e396e71f30ba2d50d5..2a18d904f8f273518478bcc4a86510070e7088a7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef int i128 __attribute__((__mode__(TI)));
 typedef unsigned u128 __attribute__((__mode__(TI)));
 
index 1b3096f0b58a010bb11aa4c40d00ddf44351a81e..52d8392ee9e57d756c1aac22efaffd1b26cb78ae 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -verify -fsyntax-only -std=c90 %s &&
-// RUN: clang -verify -fsyntax-only -std=c99 %s
+// RUN: clang-cc -verify -fsyntax-only -std=c90 %s &&
+// RUN: clang-cc -verify -fsyntax-only -std=c99 %s
 
 int f (int x)
 {
index 01a3be7b9e4cf971332de1798787923cfb303df9..26c96fe625be91a1bbe6795b50f713466ca9f949 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -verify -fsyntax-only -std=c90 %s &&
-// RUN: clang -verify -fsyntax-only -std=c99 %s
+// RUN: clang-cc -verify -fsyntax-only -std=c90 %s &&
+// RUN: clang-cc -verify -fsyntax-only -std=c99 %s
 
 struct s
 {
index 0e374881abf9e09ba2f6f1ec9eb7cc239bc6d157..160ec4a38058d788023460b1761d151c710b0c9c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 
 typedef struct foo T0;
 typedef const struct foo T1;
index 5d827767419617fc8dc630330c81a8eb5a645065..c75e7baed1a1115d470cfb62b8de0c2a555ac107 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // Test for absence of crash reported in PR 2923:
 //
index 28becc37937504ddc9f7b15a9f356ea5093d76a8..7a08814815541c10a6448f1c4c1392280b225749 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -pedantic -fsyntax-only
+// RUN: clang-cc %s -verify -pedantic -fsyntax-only
 
 typedef short short_fixed;
 
index e1704b8b0e66752897ecadd1f17a59edd69f5336..69f2f79f6857c5b3a959a231e7ff800d48c268b1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int i;
 int a[] = {0};
index a081b38a8eb5fe898430fbdb54aabd69a16255c2..8f637268a4e9109e9e1fe1b9959613dbeca8407a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 #define _AS1 __attribute__((address_space(1)))
 #define _AS2 __attribute__((address_space(2)))
index df392a2e1e83f3372dda6aba57e0d78ecdbd5026..f6668ddb327ee32cb698a8754ec9991aafdb7f36 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 // PR3433
 double g1;
index 4387d4f7a2c7a58fbae61f0c01c8dcfc4811beeb..aec2af8b022f4271e8a9e0b7cfb7d64a833ad9d9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 void __attribute__((annotate("foo"))) foo(float *a) { 
   __attribute__((annotate("bar"))) int x;
index 9784236c8bfe4c0d08b3c97aadc073bb466ecf0b..ca1133bd8aceda9439717f0ddb2f4f01ca2b76f2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 struct X {
   union {
     float f3;
index c5498a230916c01ea968b5ec7fe988ee70a743a3..82b2992af3424e929408f536e5599dbc9d9ac63f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int f3(y, x, 
        x)          // expected-error {{redefinition of parameter}}
index 2d386c45da5bd3379d1e0da5f3ac22cdae5aee70..b5b1c8a812c1e1bd56c3a9f3dd4e417ca96abce3 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang -fsyntax-only -std=c99 -verify %s
+// RUN: clang-cc -fsyntax-only -std=c99 -verify %s
 int bb(int sz, int ar[sz][sz]) { }
index fc2bb70d0a157f08b418845e4dd6191d435b393c..c1cc7e112f882ec3b2e52c169e1b3dd6a181464b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 int aa(int b, int x[sizeof b]) {}
 
 void foo(int i, int A[i]) {}
index 06b5d747abc2cc18905510a9bba5c68dd187874f..5a09e20ecbff0ef463d3fe3cd61fea36d455f42e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -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 9b7d8b7a74e4d83dab598d785c5e0035b9b36964..3f6fa33a3bd244168595240ce657c5835e64584f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 extern int a1[];
 int a1[1];
index 0c1bbc047094262009f02f2de24928cdd2fda285..4e95a0187601c12119951713934ac331be68cee6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s
+// RUN: clang-cc -fsyntax-only -pedantic -verify %s
 
 extern int foof() = 1; // expected-error{{illegal initializer (only variables can be initialized)}}
 
index 6ed9c50d62764d6ead6dd139ae395d50851e4ab6..4072a5cc76203b5ace37564eee73f7771d78874e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -arch=i386 -verify -fsyntax-only
+// RUN: clang-cc %s -arch=i386 -verify -fsyntax-only
 
 void f() {
   int i;
index 6972d902236314618a7ba17e3d8ef3076b2786f6..a343c8069fdce3ed92660fcc18ea7759b1e9f1ac 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #include <stddef.h>
 
index 4ddb25a94afba95293d6e2917f63fdc0d95fb65d..b25262c624388662d7f986adc95b4f4ab3371a01 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void *test1(void) { return 0; }
 
index 34b0411cfe08e8de79ddb6c8df847063991a2255..a8988b029f4929254ded287a312100f614443cc3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -ast-print
+// RUN: clang-cc %s -ast-print
 
 typedef void func_typedef();
 func_typedef xxx;
index e689c0eaebea6b882966f163f90b8c80b57ac007..c7d65ee9ae8a08874ef32692461e60a28f3e181e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 int x __attribute__((aligned(3))); // expected-error {{requested alignment is not a power of 2}}
 
index d239c1ade510020d7c2499873ec55a1285df3117..69896083f062de4452f0fc83d750b084d644537d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 void c1(int *a);
 
index 2540e59c004598d3c24389d2e95580e64426a3fd..6597bad4b57272e7ac1f080b12eb6874131893e9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 int f() __attribute__((deprecated));
 void g() __attribute__((deprecated));
index 4d6ce288927c642308e2c1b8f0496d0fa2f745c4..ac411d7c42dddbae994aa57ac3934e32643dc424 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef int i16_1 __attribute((mode(HI)));
 int i16_1_test[sizeof(i16_1) == 2 ? 1 : -1];
index a3b525c4938bb8414de1e383cbd758db087121a1..512ecfdcafc689df181facabfc1470be978084ae 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 int a __attribute__((nodebug)); // expected-warning {{'nodebug' attribute only applies to function types}}
 
index 2d1c0f00d470075e00d8b9be9c01de48626a6871..cf695f0d21f5545539107368140901517654cfe3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 int a __attribute__((noinline)); // expected-warning {{'noinline' attribute only applies to function types}}
 
index 5384eaf83287e68e90cfd8ee71c2892d49c67559..35c2bb5fdb460d7c33605750dc553b83121e2584 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify -fsyntax-only %s
+// RUN: clang-cc -verify -fsyntax-only %s
 
 static void (*fp0)(void) __attribute__((noreturn));
 
index 87d58572a65d6ab7559a397bb35f9f08eccb1c58..dbb5e630d7a10316ad7e51f80a99ebe9a6e92a0c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify -fsyntax-only %s
+// RUN: clang-cc -verify -fsyntax-only %s
 
 static void (*fp0)(void) __attribute__((unused));
 
index 10674814ce262151a3e82da189362e17f6f28ab2..fdabf7ff2ad53763bdd5a092137b00a8dab73df7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify -fsyntax-only %s
+// RUN: clang-cc -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 38f201ca82502f71b034a2f2c505b3baeb9301fa..b4ef1bbeaf0ef1283abe51c892e3f4a7b197bd60 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 // rdar://6587766
 
 int fn1() __attribute__ ((warn_unused_result));
index a58e61e627a5b0f33df8c2377f26be5c067aeab1..b79e1e7dfca781969c56f64d2cc7b73bf49ef828 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify -fsyntax-only %s
+// RUN: clang-cc -verify -fsyntax-only %s
 
 extern int g0 __attribute__((weak));
 extern int g1 __attribute__((weak_import));
index 0ac5dd260a89588dc3b15bc27801d0b46792ce87..4405c80fee6b94031a65adea1badff1ce5e78083 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -triple=i686-apple-darwin9
+// RUN: clang-cc %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 0a658c5c33e7e19652cb719980415b505a9f1c20..0022b4d62ff40feea5c55abb9dd891b2fd31971d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify 
+// RUN: clang-cc %s -fsyntax-only -verify 
 enum e0; // expected-note{{forward declaration of 'enum e0'}}
 
 struct a {
index d518fef0442769bc9d5a298c1b76bb8fc8be587a..a2d8e5a86731b8203efa803b3080466436fcea33 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -fblocks
+// RUN: clang-cc %s -fsyntax-only -verify -fblocks
 
 void take(void*);
 
index 28f8d775d0c8e44bb590b9f5095b045cad78758a..219b1a065325e8e4e296cd5b555a2b7b5891925e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -fblocks
+// RUN: clang-cc %s -fsyntax-only -verify -fblocks
 
 @interface Whatever
 - copy;
index 29f5a3aeeb97ebb2d2b141b101b70593b2a6eaca..39745d54efa4c19a53d55320b24ed1b74f9e9c2d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -fblocks
+// RUN: clang-cc %s -fsyntax-only -verify -fblocks
 
 #include <stdio.h>
 
index c52f0ed96bffa750278653fbae7ea0a665105003..3326131816e7d87a044b8ecbc2b0203d58c517ee 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -fblocks
+// RUN: clang-cc -fsyntax-only -verify %s -fblocks
 
 int (*FP)();
 int (^IFP) ();
index a0d5da6ee8eaf618bbcce8377d228cc90161a426..c7b26b3d6bf67fb1acd929c2887261b55c904b73 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -ObjC -fsyntax-only %s -verify -fblocks
+// RUN: clang-cc -ObjC -fsyntax-only %s -verify -fblocks
 // FIXME: should compile
 // Test for blocks with explicit return type specified.
 
index 15e6f61cede391d9af601dc09338e287847f2a8b..f0f8c4856d81179a449fde2ca043119521d375d2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fblocks -fsyntax-only
+// RUN: clang-cc %s -verify -fblocks -fsyntax-only
 
 int a() { 
   A:if (1) xx();
index 4890839b97a1d3258f5fe235b34339f3e07d71ee..2dc458124319be83088e9f94db046b4f993ea7e7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify -fblocks
+// RUN: clang-cc -fsyntax-only %s -verify -fblocks
 
 void I( void (^)(void));
 void (^noop)(void);
index c3de7b7e9be9f8cd55a7e39097a3c057a329c5ba..dde07f07394942c089a50db9d05b027e9bbf0823 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -fblocks
+// RUN: clang-cc -fsyntax-only -verify %s -fblocks
 void donotwarn();
 
 int (^IFP) ();
index a3705348355008a494543ecd0caa0f80d95d54ce..d7717b38ca379fd76255c6d41022030501b218d3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify -fblocks
+// RUN: clang-cc -fsyntax-only %s -verify -fblocks
 
 typedef void (^CL)(void);
 
index 0ae723d44cfe272a917dbb1219874bdd5eb43676..3d2527b3f4e8ae8dba0c894de1f6ae4425b79036 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -fblocks
+// RUN: clang-cc %s -fsyntax-only -verify -fblocks
 
 #include <stdio.h>
 void _Block_byref_release(void*src){}
index 5f6c204a471779c9e9927464ccec4be1f8799244..b046f46da48434c582402ccf7b8cf44a441e8762 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -fblocks
+// RUN: clang-cc %s -fsyntax-only -verify -fblocks
 
 void (^noop)(void);
 
index 27a2782d0cf21ae39d1cce443e4fdab5b3ac11f1..4b15cb1f0e2344c968c5c2c6ded19f07baae1f2a 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -fsyntax-only -verify %s &&
-// RUN: clang -fsyntax-only -triple x86_64-apple-darwin9 -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s &&
+// RUN: clang-cc -fsyntax-only -triple x86_64-apple-darwin9 -verify %s
 
 int a[10];
 
index 187552d088ce605f06866b75a8e9e872ff014499..6b39e75d525771d20dfae3c30433addaaf2938d3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int foo() {
   int a;
index c030ab364fe9eaea0f938f17491a001c7d43964d..67582a549f5f20561fbf29ed62691fc11769c93a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 void* a(unsigned x) {
 return __builtin_return_address(0);
 }
index bbbad421cf2a9b500d9b713698c9a05867d81aff..90908552fe12c31c44b7056f407e69f8cbc1ee89 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic -triple=i686-apple-darwin9
+// RUN: clang-cc %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 128046f6d29dd082fe6895c156272472615f85c0..723bd7c18d886e2016554f004c1a7cd964cec0d0 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: not clang %s -std=c89 -pedantic-errors
+/* RUN: not clang-cc %s -std=c89 -pedantic-errors
  */
 
 /* We can't put expected-warning lines on #if lines. */
index 0c7496ac7a27fefd53786e6bb9e0d2568c116dc8..138d6fa24965014c8e5eccd105027a839b7ace03 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang %s -std=c89 -pedantic -fsyntax-only -verify
+/* RUN: clang-cc %s -std=c89 -pedantic -fsyntax-only -verify
  */
 void test1() {
   {
index fa0af76834250d10fc3769f64240d562829b0e53..cb69c59c403a8c6bc480392d9931b9f8420b9e57 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 void __attribute__((fastcall)) foo(float *a) { 
 }
index 94a707557f263ac40ea8617dc6f4145d37ab20f9..edb4d9729b19d86e3affa1743b3715ac59c9a6a7 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -fsyntax-only -print-stats &&
-// RUN: clang -x c-header -o %t %s && clang -token-cache %t %s
+// RUN: clang-cc %s -fsyntax-only -print-stats &&
+// RUN: clang-cc -x c-header -o %t %s && clang-cc -token-cache %t %s
 #ifdef __APPLE__
 #include <Carbon/Carbon.h>
 #endif
index 495b27cb1bd2eae17a08aaccb8acd939946500a7..24f913b9ea33ff062a8f96a5807ea37763507a4b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 union u { int i; };
 void f(union u);
index 14bfe138f308ea61fad583e1825b143d6121673c..6ceec6923c851804095cb7b4721f66fa898ef8a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify
+// RUN: clang-cc -fsyntax-only %s -verify
 
 typedef struct { unsigned long bits[(((1) + (64) - 1) / (64))]; } cpumask_t;
 cpumask_t x;
index 4447feb0b8e6baac34b0b54da43d5073ca339af1..9809544854d860b6d9b4c98d35aac453d3f41911 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #include <stdio.h>
 typedef int *pint;
index e1ebf575ac629cab4e50d07ce49c3fc10432ffec..4b44bf5b96a0779ac2cadd0140d923c95b5a8dba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s
+// RUN: clang-cc -fsyntax-only -pedantic -verify %s
 
 int test(char *C) { // nothing here should warn.
   return C != ((void*)0);
index 77bfc9c3768b478c1cf60ee0f8b17276b7b1f96a..5977b4d1e0cbbd73b3129ff6856cf36343a850d0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 void a() {
 __complex__ int arr;
index f7e5f638847d1d8f1c5ecdddf183f7bcec96a157..3d86c20eb2482432d69e852b477cdfefbee4fcc5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 float a;
 
index e457c72bee4694afb3c2d113dc7527b067899a95..24ec223ae6a21c135ead533cf414df7c6ef845b4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 struct foo { int a, b; };
 
index ae973d6b2b8494864c1dc7b06f1feb881052f486..c068113e9b8ab2249c72b7055188d217774ff21c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 void foo() {
   *(0 ? (double *)0 : (void *)0) = 0;
   // FIXME: GCC doesn't consider the the following two statements to be errors.
index e1ad1a51ba99eb8d30e037d18020e43147c934eb..1c7486a6133e7c0d692730b8abf24143cf987405 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 const char* test1 = 1 ? "i" : 1 == 1 ? "v" : "r";
 
index 03aeb2a0b3a0d2685a1d3f27be35809c86dc80af..dd91c48236594944af3d37d08357fd9838ec8647 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];});
 int x;
index 3590583cd5ea43350d24354e24511200a89bd300..4e08bfff2cbbd0276925d2889a17ec5d5825d5ff 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #include <stdint.h>
 
index d47cc3556b3f9d27f6017b9e2a2f00d626fcfdbb..146d9e9bb92b511d7e0a8225f4970277c8f0058f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 
 // Math stuff
 
index b1c5e2af108ab9e82fd068110bda29610031f3b9..3914641751d90bfebfb43333879248f9f6e379cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify -pedantic
+// RUN: clang-cc -fsyntax-only %s -verify -pedantic
 
 // Math stuff
 
index 3f240b02e5a2a1851dece2018afce8f62f86e72b..bf876f344a8f5b38418cdc30240d4a9c842883f3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int x __attribute__((constructor)); // expected-warning {{'constructor' attribute only applies to function types}}
 int f() __attribute__((constructor));
index adf938f29bc138b145b02d4e0f6a6bb4742ee685..09808b5af2e83d22935abac598d2c0095ac00564 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef long unsigned int __darwin_size_t;
 typedef long __darwin_ssize_t;
 typedef __darwin_size_t size_t;
index 78a9ee1d4bfb1e96d26b7f962dfadb8d7856735f..0e10bdd8c122f26577537008f50d9cc5752dd19a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %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 89bc49447508466b6520703073df1543db717f53..1b789a142ade0dc175abefbe5b191ed42973f49b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -std=c99 -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -std=c99 -verify -pedantic %s
 
 int x[10];
 int x[] = {1,2,3};
index 0207b4aacc56b2968eec39b06579bfcf9c90665b..e325cc83521ab410065c402fa830103aeee36712 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 typedef char T[4];
 
 T foo(int n, int m) {  }  // expected-error {{cannot return array or function}}
index 4efac17cfd1f8b0169e6dcbd8cee635e5d8fc8b8..5dac99131b6b5191d60417aaf481e5cf54fe0f00 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f5 (int z) { 
   if (z) 
index a72d0aef0cc3c983b1c26b85cff72151b4ee5d81..6e8a27bf5733744ab8de519ade4ee4a5eb7a80c1 100644 (file)
@@ -1,2 +1,2 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 void f(int i = 0); // expected-error {{C does not support default arguments}}
index 83f7f8389cd249d1f2cd5708746722ba9e472de3..fad56430a07fc0fe10b1d5195c633ae4b1b88856 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -std=c90 %s
+// RUN: clang-cc -fsyntax-only -verify -std=c90 %s
 void
 foo (void)
 {
index f604701d1210f16fe22448fc1998e45a038db845..cfbe80224bf25a1aaf25c4368665e947f3234e92 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -arch x86_64 %s
+// RUN: clang-cc -fsyntax-only -verify -arch x86_64 %s
 
 int complete_array_from_init[] = { 1, 2, [10] = 5, 1, 2, [5] = 2, 6 };
 
index 3f385d16c18c4a3ff817d604fa8541735fca053b..90ed1456d24de07c0ed9a606c0af988dd258403b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 dbc250abc3b64fdfcb92f273de9119f64ece312a..adb9375512371f2310359a86a1d5f1386b877e8a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic
+// RUN: clang-cc %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 7dd7dd67d37eab788787b2cdac8b6506464d515b..b3ea9c50668404205308811adf0958d96f3b8577 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 struct xx { int bitf:1; };
 
 struct entry { struct xx *whatever; 
index 4949ee3a83fcb728f292952595c236040f6df43f..b2b17dc335911e8bab86d9fcbe66dcb4d0dc93fb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -std=c99
+// RUN: clang-cc %s -fsyntax-only -verify -std=c99
 // rdar://6095180
 
 #include <assert.h>
index 849e8d5ae8b51f7658b67a32a6961098b3b48e5e..64079866ca9943cacdd02eb39ec49d55c47d2012 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -std=c89
+// RUN: clang-cc %s -fsyntax-only -verify -std=c89
 // rdar://6095180
 
 #include <assert.h>
index 8bf42f7d7ddf45b4fea2ce0789d791eb3abd4ecd..d348d9e190d6cc944d58e07c01fe1902313f2228 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -pedantic -fsyntax-only
+// RUN: clang-cc %s -verify -pedantic -fsyntax-only
 
 // PR1966
 _Complex double test1() {
index ad0277baac9c4504ae9db2caaf6fd8c37ea52d54..422a9e6f2287b7c254821942d7c5fb88c2db3aba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef __attribute__(( ext_vector_type(2) )) float float2;
 typedef __attribute__(( ext_vector_type(3) )) float float3;
index 2b8f40fa5b0f87be1c96950920b52eeed5184030..afe31fb8294fa61bddf8d8c33288acc9fa6e859f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s
+// RUN: clang-cc -fsyntax-only -pedantic -verify %s
 struct one {
   int a;
   int values[]; // expected-note 3{{initialized flexible array member 'values' is here}}
index ae0d0fe1509140d7b6231df97e33bfb747203b58..763a8f4b86b460357e566ce0157667589ed2bcfa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -Wfloat-equal -verify %s
+// RUN: clang-cc -fsyntax-only -Wfloat-equal -verify %s
 
 int f1(float x, float y) {
   return x == y; // expected-warning {{comparing floating point with ==}}
index c08f532688b4fff241b9f84dcc433b993be68ba5..183a95d0ab44f4ecd1d1209420737ceae9ff37c2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // Check C99 6.8.5p3
 void b1 (void) { for (void (*f) (void);;); }
index a1cd0b84b3769f47e13abb3bdfe2c94a66262cb6..cb823318592eb4a62be3c8289bb90595478787ce 100644 (file)
@@ -1,4 +1,4 @@
-//RUN: clang -fsyntax-only -verify %s
+//RUN: clang-cc -fsyntax-only -verify %s
 
 #include <stdarg.h>
 
index 9237a5970e9d1ae4e154bc0949c8cdbc712c7e4f..cbeadc20b82cac0e34b68dd8748f532f5bbab461 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // Define this to get vasprintf on Linux
 #define _GNU_SOURCE
index 83e4d74b6ad19a48be6f3fc016fe739f99e67740..6b410018f4b724867559a987aeb0cbe5749be4e6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -pedantic
+// RUN: clang-cc %s -verify -pedantic
 typedef int unary_int_func(int arg);
 unary_int_func *func;
 
index fc2e1995f26f15248654e55e358a310535dab1c8..28593b0678d132667de15145d87a7b93c491ef4f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // PR3588
 void g0(int, int);
index 90ade3380b942b1ce4585898672cf56569e47fb4..c240896adf5269008e7a86b8347550158f1fcdf9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic
+// RUN: clang-cc %s -fsyntax-only -verify -pedantic
 // PR1892
 void f(double a[restrict][5]);  // should promote to restrict ptr.
 void f(double (* restrict a)[5]);
index 2b15f29bf420f06bf9479d3368b0a593d2c74f4f..3a9880ce7f7583eb274fe9ea35fc6b1967321bf2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify
+// RUN: clang-cc %s -verify
 
 int foo() {
         int a;
index 6b831f14d1b1afaf662c172f8104d44f96bdd81e..480b1b41e906743896fa66b2abb5f996c19d2899 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fheinous-gnu-extensions
+// RUN: clang-cc %s -verify -fheinous-gnu-extensions
 
 int foo() {
         int a;
index d8770755a12c102c4995654af7839d7b50341f26..6bc354139950707804e64ea7ce2170611a8b3b20 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic -fpascal-strings
+// RUN: clang-cc %s -fsyntax-only -verify -pedantic -fpascal-strings
 
 #include <stdint.h>
 #include <limits.h>
index 376eb9865a067cc49735570061c4420400827b89..1d1df40bd6a34ce16db53e2999826ec6b4e3174e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f1(int a) {
     if (a); // expected-warning {{if statement has empty body}}
index 411f27262a74db6dd37954e5385b9ec5360a74df..c932bb28dccaab1b8458fb116a63df10e2196d49 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -std=c++98 %s
+// RUN: clang-cc -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 e022b6d8fd57d8adfea3b31962ffb67e03105653..696a2b926c9b6108312fce4ff6a103b5855c6a1a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 f36aa09b5fbbfcdff72ede64bf1f4aec9025a739..9bd5c05892ecea9b5bf52626d1431c9c52708d2d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -ffreestanding %s
+// RUN: clang-cc -fsyntax-only -verify -ffreestanding %s
 
 int malloc(int a) { return a; }
 
index 2ad35185b25279326648b2c6f639530f01b79744..cd99b54553189f524dc5833c0174a054550e2f26 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // PR3592
 static void* malloc(int);
index fe83bd93e33ee6ccb86ab79b51703afce6f829bd..ce34ad6d1c651b0fe4efc709af4b529eef2bdd0b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 
 static char *test1(int cf) {
   return cf ? "abc" : 0;
index 91f5dd103f637d6c20156895058d514e966cfe3b..8873e76098cac6bb2aadb356d406349240f9c21e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 typedef int int32_t;
 typedef unsigned char Boolean;
index ea42d0c1c801eff13081d8c826b8c091fe9b3a4e..2c2594680a11670c4d246a4976ef7af676bbe3e1 100644 (file)
@@ -1,5 +1,5 @@
-/* RUN: clang -fsyntax-only %s -std=c89 &&
- * RUN: not clang -fsyntax-only %s -std=c99 -pedantic-errors
+/* RUN: clang-cc -fsyntax-only %s -std=c89 &&
+ * RUN: not clang-cc -fsyntax-only %s -std=c99 -pedantic-errors
  */
 
 int A() {
index 28962531c96578bd54bc7e7a22e8b580eeeb2082..71a5724a1ffa8565e7419fa3cee7a724c6ee6abf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify -pedantic
+// RUN: clang-cc -fsyntax-only %s -verify -pedantic
 
 foo() { // expected-warning {{type specifier missing, defaults to 'int'}}
 }
index 9747327364be78469164d8885647279c6c5dfc3d..a62f9a8ba70990fae302e199f8753e4c889dfd00 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %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 c8b104a47d88e163c01669785569fa879902107b..aedfe50bbfdd42a8868bedab20da6c9171d25bf3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct foo; // expected-note 3 {{forward declaration of 'struct foo'}}
 
index de957403a3a82f7d1008e919d31b03825e6c9f1d..8468cf47ab68c6c56e8e2cce6390e61d0af81db7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct foo; // expected-note 4 {{forward declaration of 'struct foo'}}
 
index 37637e108c38f0f6f08e009424770b3d7fddca19..539820ae418c04c1cc6f1d79bfc5568f445b8c2a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify < %s
+// RUN: clang-cc -fsyntax-only -verify < %s
 typedef float CGFloat;
 typedef struct _NSPoint { CGFloat x; CGFloat y; } NSPoint;
 typedef struct _NSSize { CGFloat width; CGFloat height; } NSSize;
index 73c6887889b4066a51462be8724a54815c5ffcf1..9430f312ad68f6be25152207ae377cce5fd04391 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 #include <stdint.h>
 
index c2fad4bfe604f50a22ed568b0b3f9c1fef31f2c5..5bbab7d9af96161a0b54548e2332438b2c755f5f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple=i686-linux-gnu -fsyntax-only -verify %s
+// RUN: clang-cc -triple=i686-linux-gnu -fsyntax-only -verify %s
 
 // Check types are the same through redeclaration
 unsigned long x;
index 17f316884ee4234c532f6f5e122880fa83e17391..e9130c80a90e52941808f846178a5ef17c1db1e3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 void test() {
     char = 4;  // expected-error {{expected identifier}}
index 8eaefa6cd10031a89decb90b7e70bae856a5be44..724d0ea368ba16a8ba36e5120b1f61d2de7d2617 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 int a;
 struct {int x;} x = a; // expected-error {{incompatible type initializing 'int', expected 'struct <anonymous>'}}
index 9777a27a0edb822e931cfc34c99b78fe7e776edb..73e2e446f1311329448a3c2f22372a3f61b238b2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 typedef struct _zend_module_entry zend_module_entry;
 struct _zend_module_entry {
index 83a0c5e24cbc80ebfa68bd8e4fc6fdaae545528f..0e562d7c7e7b18e4036eba77acbaa806716124bb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // C DR #316, PR 3626.
 void f0(a, b, c, d) int a,b,c,d; {}
index b434f5b77938b4650ca2653e027dd3b108429575..b810ccf15b72d0a969bcdf013835b8086b3e4ec5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 struct simple { int i; };
 
index e6d60c462c28a2bcb49d9f6082a5130b023a1845..f4c25f511429ea9ed2316f71c8e39de1b71f6ff8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 void foo(void);
 void foo(void) {} 
index 5e387f38083658aa759fde36cdb694f411bfd425..58dcbcfc52323ca452aacff8e7b3c8dde26d80ab 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fms-extensions
+// RUN: clang-cc %s -verify -fms-extensions
 
 #define M __asm int 0x2c
 #define M2 int
index 0264ad4c58a1971241cf40bfc2dca8a212bb8a8f..53b22d6989310547bed99715a62569a22a7ece07 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 9a64ce4320b00505053bce7f8e377a27b731adcf..3d9b329abe65f08ed70eac5a91da7f0b064596b8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int f1(int x) __attribute__((nonnull)); // expected-warning{{'nonnull' attribute applied to function with no pointer arguments}}
 int f2(int *x) __attribute__ ((nonnull (1)));
index 0d33b775519900955c9f137c9172e354918f97c2..5e52de7245a7d1032f2e562d9359dd1f4700395c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER)
 
index 4df59aa11e782e3297cb102fd39b85ba8f491205..62b38821334768bf00775eb8be0be482f53d3664 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 20722929662354ee6e063a3b2639caaf5c3e547f..0d5db3a98454833ebf683ae0e7b8b8dc7427edd5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute can only be applied to a function}}
 
index 3a924b00825c5d7935728942bf30de832ade76d5..87d5eaf39c9912fab10d77c1d1a4de17a1411a44 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic
+// RUN: clang-cc %s -fsyntax-only -verify -pedantic
 
 typedef struct S S; // expected-note 3 {{forward declaration of 'struct S'}}
 void a(S* b, void* c) {
index 9aebe9cdcebb8248136435cc17081ce0849bcd89..b3be37e7f185fcab032ca1a5d9038cb34340aa08 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic
+// RUN: clang-cc %s -fsyntax-only -verify -pedantic
 
 typedef const char rchar;
 int a(char* a, rchar* b) {
index c86136bf3e0f992c14989f7322d098f462eb787d..25be5539783e6ef193937d3c7ea05700dbc4b4eb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i686-apple-darwin9 %s -fsyntax-only -verify
+// RUN: clang-cc -triple i686-apple-darwin9 %s -fsyntax-only -verify
 
 #include <stddef.h>
 
index a426025cffa4dc4065c33031ce1df41796bcf00d..51398fa0a55471609e0bf9d7f953d8a2b3d9a42e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i686-apple-darwin9 -fsyntax-only -verify %s
+// RUN: clang-cc -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 81818020de3167e3213b0f92218464f2e672c9ab..fe8bf8608bc351e4d52c5c2cccf305b754ec8909 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f1(void) {
   int x, y, z;
index 097950ccc63d87208609394437428331a44d390a..7b3fe5038f9674ea8c15fc57bce25867f25b14cb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void abcdefghi12(void) {
  const char (*ss)[12] = &__func__;
index bce63550ccbdd5a363ad9c6026184d8e9b72862a..e8ccb3636b8e102b7a082ae18c2b18146a2b3fca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 char *funk(int format);
 enum Test {A=-1};
index ff402b296d842f0f1e83f128fb2948f3f09d2a50..631c7b35a992f37f6441a1f37b7c89aa26a4fedf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify
+// RUN: clang-cc -fsyntax-only %s -verify
 // Test case for: 
 //   <rdar://problem/6248119> @finally doesn't introduce a new scope
 
index 7de91f27df6e91b8eadf62abbdb6640e30a5c5e7..636f770e3ee0fb63253ce8677722e6ee99304e63 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -ast-dump %s 2>&1 | grep ImplicitCastExpr | count 2
+// RUN: clang-cc -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 4bb7c51bbf9b977d6e3a7b96ff61dce3589dcbef..e7b9f3c8eafc5ac8fd334a90f62ce0fbffd0b1ed 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify
+// RUN: clang-cc -fsyntax-only %s -verify
 
 void a() {goto A; // expected-error {{use of undeclared label}}
 // expected-error {{expected '}'}}
index 97e047314803728f12ecf0da61fa5cd56efa2d91..26c90c8e6d4f4bead02281414305843a88962ae1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 int f(int a) { } // expected-note {{previous definition is here}}
 int f(int);
 int f(int a) { } // expected-error {{redefinition of 'f'}}
index 71c9d2fd39173137cd50b4999132f799d584736c..20cecbf3f301739b09b908e7b5567852e89f704d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int test1(int x) {
   goto L; // expected-error{{illegal jump}}
index 8bf54fde9f5995245b29fcd9dff623105ca2e77e..db56e8bf17d80efae9f9aafd30698af7391616b0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int foo(int x) {
   return x == x; // expected-warning {{self-comparison always results}}
index 37d0adc5966e7f6453fe9967c5c72f85c9123b6b..e9451b81bc66e46985f327e706180076ccce7cf4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 int x __attribute__((sentinel)); //expected-warning{{'sentinel' attribute only applies to function or method types}}
 
 void f1(int a, ...) __attribute__ ((sentinel));
index d5ae5c1e903a80f77167a6acacee6338addf5e78..5acbe12ac33eaf883a2234338e3541cca60984f5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 
 void test() {
   char c;
index 9ab3146ee76e21fa8ccc8f9cfce410ca82196980..e6592f3bb65301849f2387ae7908b536b0e4563f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -arch i386 -fsyntax-only -verify %s
+// RUN: clang-cc -arch i386 -fsyntax-only -verify %s
 
 #include <stdint.h>
 
index 4e938f575fb90aeb64b1b1839d6fc8d78d53f621..353bbfc252974447312d8b9973ac31b37a64e816 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 10b9e47214ac328dbcf70153452fbbe9a0391bda..3af984ada45ed4f973676bfeeef955d741ebd857 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 typedef unsigned __uint32_t;
 
index 734be804e6e5b3b1f275bca2747f41678ca64cc1..063e8e32c02d007de75971eec0561f08b761e2d8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify
+// RUN: clang-cc -fsyntax-only %s -verify
 
 struct S {
  int one;
index 489ff471fab31a1a2d51f2fb648d429b7312f689..35d8fb1aa0c27432c1beb46193f938c475c5f3f2 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang %s -fsyntax-only -pedantic -verify
+/* RUN: clang-cc %s -fsyntax-only -pedantic -verify
  */
 
 extern struct {int a;} x; // expected-note {{previous definition is here}}
index 3f95b7a71b8401e265f4fc7ce6706426f37b0090..9d9f52787051547577374a70ef5205ffd459122a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 // PR3459
 struct bar {
        char n[1];
index 2b5a889580f59525e698f32ddb3ff497712e587f..8250c14d442099eba062cda118b68760280b4b6f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 // Packed structs.
 struct s {
index 25e1d4d88a1f2f4f7cf35e2f21e70b74ec16c9a8..5999f342aefab20569c8ef33acf592e13cd19dd1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f (int z) { 
   while (z) { 
index ea8d622551086927ad893dd0d9794b4f9e2ce470..3a830bf4283debabcca1c6640bbf2699d4905173 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 // PR3310
 struct a x1; // expected-note 2{{forward declaration of 'struct a'}}
index 2e3129184429c1d209b15ae4d106df2a3dc9b533..19847c6d1e918a91743454d4481750bd437471aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 unsigned char *foo = "texto\
 que continua\
 e continua";
index 58597b18096aa1c10bc8805bad5c33ef59e2e2fa..ea761f17e7d65d347c00d680b81be9a58866f889 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 typedef union   {
        union wait *__uptr;
index 47de16be7ac5a93434a03e9dce48b6f880f78d92..2b68b7877318e072d7a33d779a4f06d7b12e47aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s
+// RUN: clang-cc -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 7977e7e71fc7553929a47b041a228b3646095bd2..496bdd3b0f493f0c263fb724ab17fce0f1d186a4 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang %s -fsyntax-only -pedantic -verify
+/* RUN: clang-cc %s -fsyntax-only -pedantic -verify
  */
 struct incomplete;
 
index e646604ae38928604b1817b9c50334c84e28bf73..fc0e05ead2922a4e7a6f632d9527511dce5ad4de 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef int unary_int_func(int arg);
 unary_int_func add_one;
index 48c4863513e34f920d1213b97d7271100119cb5a..9ec622612eccb60f95c500155594661591049693 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // size_t coming from a system header.
 #include <stddef.h>
index b621743373c44b62f873692b3407d3389bb501fb..ef9ec76f467b99387a6cc2453870706b1cd1af6b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -fno-lax-vector-conversions
+// RUN: clang-cc -fsyntax-only -verify %s -fno-lax-vector-conversions
 
 typedef float float4 __attribute__((vector_size(16)));
 typedef int int4 __attribute__((vector_size(16)));
index 703792fcdc56314cd3897950fee2766b54bedf49..7a9bb4879bc2bf96b40edc5c6705440ff560b046 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang %s -verify -fsyntax-only -pedantic
+// RUN: clang-cc %s -verify -fsyntax-only -pedantic
 
 typedef int (*a)[!.0]; // expected-warning{{size of static array must be an integer constant expression}}
index da02588461353ee3f38a7809b430ff9d701ffb95..40dfd89c4fdb07dcb4ab8a0df52f84203996b605 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -pedantic -verify
+// RUN: clang-cc %s -pedantic -verify
 
 // rdar://6097662
 typedef int (*T)[2];
index 3a3869ab6dfbbbe406fc3b3151089da48fd5492c..249f06e07d9494c9132cf327348adffc5e691126 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef struct {
         int a; int : 24; char b;
 } S;
index a44d1c8fed437a24279f4883c233bc167e4d5f57..b3d6efb7d3749cab4ac3c82d7a6e21a8e74a1a78 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -fno-math-errno %s
+// RUN: clang-cc -fsyntax-only -verify -fno-math-errno %s
 
 int foo(int X, int Y);
 
index 9c1977ff24271054a7e2975c20d4f8fd9b68e474..40c0bde4e0cfaf2e35eaf8d3f123d930dc1948ac 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only
+// RUN: clang-cc %s -fsyntax-only
 
 typedef float CGFloat;
 
index 3e51b8628c3d13dc2645baa931b937d30e25a485..680abb714b91c5e60162b9cebb5d8085d9cfea41 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -triple=x86_64-unknown-freebsd7.0 %s
+// RUN: clang-cc -fsyntax-only -verify -triple=x86_64-unknown-freebsd7.0 %s
 
 // PR2631
 char* foo(char *fmt, __builtin_va_list ap)
index 037a8f136d898012f761e76c3241b223abb70de7..129fd17cd5338e9f2471c6aeae3b3e68b91ee73c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int outer1; // expected-note{{previous definition is here}}
 extern int outer2; // expected-note{{previous definition is here}}
index b340177f9c5ee03dc10b791a14467b9dc9f702a1..434e4ce291d27e1d273d41a74a2c59f62a851f1a 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -fsyntax-only -verify %s &&
-// RUN: clang -fsyntax-only -verify %s -triple x86_64-apple-darwin9
+// RUN: clang-cc -fsyntax-only -verify %s &&
+// RUN: clang-cc -fsyntax-only -verify %s -triple x86_64-apple-darwin9
 
 void f1(int a)
 {
index 548c08e7e32aed66450fbbd767d38a11cbc595d1..3c0cd9020c85e31bd8764d57a0b8f214e9a0911a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 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 111430b1c1efc8993385bf8e72c96197e605a693..15f29b91e944c3a1a070c167fe1fa1dc3f2e2009 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s -verify
+// RUN: clang-cc -fsyntax-only %s -verify
 
 typedef long long t1 __attribute__ ((vector_size (8)));
 typedef char t2 __attribute__ ((vector_size (16)));
index eb009b9cd59dd4aef4147db9b1b4fc100544dcc0..d0d9cf053ede39dc99621100ba10c0308e4fad2b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 //typedef __attribute__(( ext_vector_type(4) ))  float float4;
 typedef float float4 __attribute__((vector_size(16)));
index 74ac1346539d3489508c2a8769431bc247d4e5eb..252e9ff62e5331b360e643beb37fc34ec34fae6a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only -pedantic
+// RUN: clang-cc %s -verify -fsyntax-only -pedantic
 
 int test1() {
   typedef int x[test1()];  // vla
index d0571fc4e1225b0ce84ff396c58673fde92e57ec..6799146a5ff98181fec7821a2709ebd9dd4999e2 100644 (file)
@@ -1,4 +1,4 @@
-/* RUN: clang -fsyntax-only %s -verify
+/* RUN: clang-cc -fsyntax-only %s -verify
  */
 
 typedef void Void;
index aa59b955c9c0275d8707709999c8bb9da4493120..a4d3f5be31897defff2f39ea8aa4f38eaffaeaa8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -ffreestanding -pedantic -verify %s
+// RUN: clang-cc -fsyntax-only -ffreestanding -pedantic -verify %s
 
 void foo(float _Complex c) { // expected-warning{{complex numbers are an extension in a freestanding C99 implementation}}
 }
index b7171fec7a551451c53693eea4b16e2f7c70c727..16376009ab13a26e9020668d116c4d7639f07b31 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify 
+// RUN: clang-cc %s -fsyntax-only -verify 
 #include <wchar.h>
 
 int check_wchar_size[sizeof(*L"") == sizeof(wchar_t) ? 1 : -1];
index 798e0aa99d165fd2ac317a45352b830d37968039..4672801fd7bb3a4a48e1ba9cd933e67e40c7014d 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang -triple x86_64-unknown-unknown %s -fsyntax-only -verify &&
-// RUN: clang -triple i686-unknown-unknown %s -fsyntax-only -verify
+// RUN: clang-cc -triple x86_64-unknown-unknown %s -fsyntax-only -verify &&
+// RUN: clang-cc -triple i686-unknown-unknown %s -fsyntax-only -verify
 
 void f() {
   int* i = __null;
index dfe0a657982cd719984a266878e1111fd25aeb82..023058813941c3ee0f72cfe626338e7dc76e25ba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -std=c++0x
+// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
 
 #ifndef __GXX_EXPERIMENTAL_CXX0X__
 #define __CONCAT(__X, __Y) __CONCAT1(__X, __Y)
index 2184116dd2d3c2299e0f6b5ef9bf3915096effb6..9c9f0e19ef3c644c1c618833698391beef53e970 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 int f(double);
 int f(int);
 
index 3d0e57f6e3aec94465a0b00f65d735222695cfec..4e436d6e98b2ce1aaea550fdc836e75233625864 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 // PR clang/3175
 
 void bar(int*);
index 75b872feb01376d23fbec512e74fd1e8a7fec050..c96eda4480323d3c3499c9ec80473a155c84635f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -std=c++98 %s 
+// RUN: clang-cc -fsyntax-only -verify -std=c++98 %s 
 
 // Verify that we can't initialize non-aggregates with an initializer
 // list.
index 5860ed4af7889808cb4fd96846432c943b17e7b2..f77fa03328f61169394c524c309d6cfcb9d1377a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 struct X {
   union {
     float f3;
index 78e348ae1f693e887cabeece957fcdf9d46e551a..8e5f76bcacfa73a2e72284b242689f829c4e911c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int &foo(int);
 double &foo(double);
index 53448d119a8296fb942c7060a444b0ecbd77d746..486a688d9437f61f3d9fcf3555ec76dc74916e81 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 namespace N {
   struct X { };
index 8b4b3aeb88c920e3cf03d237d28b41c780c53210..837fb0423b9b53d1a5c58a900df71d9d1f947cca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -fblocks
+// RUN: clang-cc -fsyntax-only -verify %s -fblocks
 
 void tovoid(void*);
 
index e606a518d7f5f403bda8092767bd8f757e922046..c5ad30e471c4c271e8c8a40043249935869be077 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 
 // Bool literals can be enum values.
 enum {
index 9c9c3780403c4aa248741d037f880ae76b46f837..983a000b2cf94c605093c28d7d0b2d6faecd1a53 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -print-stats
+// RUN: clang-cc %s -fsyntax-only -print-stats
 #ifdef __APPLE__
 #include <Carbon/Carbon.h>
 #endif
index 1166b1016ec5f89d08652c618b76ad084971f27b..a5569c0c767b488f40adad4ce88c18f7d67b661b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 class C { };
 
 C c;
index 628253b4953f1400341a84dd69a0a4b359695923..d2a8114f7b06f54e8076266da53eaedcf5af3dd5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 class C {
 public:
   auto int errx; // expected-error {{error: storage class specified for a member declaration}}
index 300d3499b3f0e033d258dfde94bd5c71c7976141..55d3c76d06382af7f36c2dadee37f8c45dd2112f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 babb8271088127e148272a8e696aa93748990bb7..7c9cee59da6f28b7c7d37cead1108197bce693b3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 
 void test() {
   int x;
index 8424cf28d98db05833533e8c59100ee51c785f1c..39d61db0dc9499173d40ffee18db5a8daa6d9cf4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct A {};
 
index ded901074958b1de2be5ac2100c35e6f8cb78e0d..81d56eac9c394f74ce68bf42c9ced5d2cec4339e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 class A { 
   int m;
 };
index 68099ecac962221d8c9aab70c32faa19822d3246..4e3f4177c40dff3c32292ce249f51f25bb51459f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 typedef int INT;
 
 class Foo {
index f9dd6005b90c43ec45d7e10030dc6ca53e7ae581..b5dca080d44bd88d5fba32ba7da28789f9f996da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 class X { 
 public:
   operator bool();
index 74d925a3d58eb6fecc8fcaf58564eb1fbddda16b..638afd0555b781ce8b925c1439afbdee0917cf21 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 struct ConvToBool {
   operator bool() const;
 };
index edded175822847fa95ee389abba05fcf72935a66..59b793e3f28c68ef28f02b36bb8627a3e8988269 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 class Z { };
 
 class Y { 
index a56a886f55dbe7a2e0953bec8037fbf2e650f1be..5b1fbaa46052e60d72e9555a2ac2cc3dc7f347f6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 class X {
 public:
   explicit X(const X&);
index bed526d399a030b61c8f8b9a78b1e4f15a41f0c5..10c15ccc9061b38474a0567c6202e4943194913e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s
+// RUN: clang-cc -fsyntax-only -pedantic -verify %s
 // C++ [dcl.init.aggr]p2
 struct A { 
   int x;
index 0cc9d7e055811413fb1e50510ec4ac13e9792d22..227834a26a4ff6db2341bd0bdc692d87af68b8da 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic-errors %s 
+// RUN: clang-cc -fsyntax-only -verify -pedantic-errors %s 
 
 void f() {
   int a;
index 28444207d86666cc80c04ade82d64cde5df28507..be264ad62b130790fa25912c0a6583a4443fbc37 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 f3d726fbeed907f781b53874ae5a73bbc51d90d0..f99e45415dc48fc9d21a7d7d2a3533d8b5c78ecd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f(int i, int j, int k = 3);
 void f(int i, int j, int k);
index a5d23ffaa48803fb9d88bed673ee92ae0996efc0..b2a5c45787c910a8dd1af867986748b779558a1d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s
+// RUN: clang-cc -fsyntax-only -pedantic -verify %s
 
 template<typename T, int Size> void f() {
   T x1;
index fa9fff48a9f9c03d4fbd400defed0f45f76bffa8..e15ddde9d91f05d53ca883dd70b785ed91719677 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 class A { };
 class B : public A { };
 class C : public A { };
index f5b35cbfd39a31e62beaedc7f7430931f6f5bd2d..3ba5fd5946622b8e4e28f6b7578a3a881baefd00 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 class A {
 public:
   ~A();
index 8f4fbb2db6ffc2df773570aaea35e183749004c9..149b65c8d71d3fe3b778347018f37d6acf41f38e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 
 int x(1);
 int (x2)(1);
index 8adaadedc436bc2c6f16a1ab76fa8ccdb3bd2e0d..4e4a48325c1c6d96443dd4b08c8fc84b89a9ead2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 
 void test() {
   int x;
index 1fa8c3dc2a33872feae1f516a9958cdfa48c4366..42c5e0132a82e36132010519075c57fcb9699df2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct A {};
 struct B : A {};
index fe4e210814c72c88f7db0eceec2b4649af6ae7bb..c7bf46a5b142da0ea63d12425746d569df836028 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 9657113429387227a7356cbb995f74bdcc82fee8..9668c84693d3cdb5808b820fc9ed5aa687ffcab0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 enum E {
   Val1,
   Val2
index 23983a1dbd0b0958162ffc46064c86592d1da907..6a2f30d33e5eb350b43baaeaf7d5e4c20c9ae517 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 
 void choice(int);
 int choice(bool);
index 51aeab85f9856dfc079a9fafa4bdfa725885e403..ae85ff45353d7c99181a09ed2f490dba321cb4ec 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // PR2942
 typedef void fn(int);
index baad312a1557c8689304819863d4bdd298cf5a2c..9f6783731d33ea2161cbcc2c53983825f983a31c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 int foo(int);
 
 namespace N {
index dd3e550e1d75c3d3489706edaa46a226e8d4e3cf..f1d5aac7fc990492b1b899ec44907b23239201cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f() const; // expected-error {{type qualifier is not allowed on this function}}
 
index 9db742e732f8fcf79f2802a3b773436af91d44a0..0be7ddb53ae8d6697ab05daf98bd94d046b312aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct SimpleValueInit {
   int i;
index 64ffe8bce8d6f5d6b228fd545fffc8cbca334997..32d04e2da40bff107b5fd994e4e4c819c92a5854 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // C++-specific tests for integral constant expressions.
 
index f771810e6fa9a520785adf0221fef906d02ba8a4..6fa8dd3463d306538933f231722e395f5770a175 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 x; // expected-error{{C++ requires a type specifier for all declarations}}
 
index 7e04052c4021d6e657a0ad756a9213cd55b43a8e..eaad97cc82a0e076f6e8d3d69a79df121370512d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 class A { };
 
 class B1 : A { };
index 6f25da0cd6abe1f17b17aa8361c46b17b408e708..40f3221667af76bbf28d0b106d2c2b6e98580ca9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 extern "C" {
   extern "C" void f(int);
 }
index d5f9347ece39d6571af9ddef4e0f5675c39b8800..58e5be955f63b1f97c671a4e7087769bc15ecdf4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 class X{
 public:
index 3203067c1e95051dfbde8e380c5a4a79e5041d74..871bc9945685acc1b6064652080480140915e3e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 // XFAIL
 // fails due to exact diagnostic matching
 
index 449ff9f73d8c855b8061ae2f01ba15270bd41d25..daee25533fd4465007984f8f14420d23bb3d9b1b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct A {};
 enum B { Dummy };
index ec4e29a89fd1f30f4c1edde6b48369e2b098d222..b84ea178e1e2252dc2ad9f22e66f6d5a846a8e49 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang %s -fsyntax-only -verify -fms-extensions
+// RUN: clang-cc %s -fsyntax-only -verify -fms-extensions
 
 void f() throw(...) { }
index ea7737e8a94800ed0bfebd8a18b841473e69bfeb..24a0a4603d7975c2f2d2cc8793fefdc2dcc71bf9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 namespace A { // expected-note 2 {{previous definition is here}}
   int A;
   void f() { A = 0; }
index 4b4d435f2091c0cf0319d7e52c7df2438203604a..7aaa99175f0aad15913c98cbfca0d1b3b5350e19 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -std=c++98 -verify %s 
+// RUN: clang-cc -fsyntax-only -std=c++98 -verify %s 
 namespace A {
   struct C {
     static int cx;
index 76112641affcbbfbf0777729eb737766fcf852cf..5037a8d32457ceea26597867b459a750b6c3db17 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #include <stddef.h>
 
index 8a0df9403a0e09d28b5b454822b37327f3ac0a8c..bd11f92f7e6295692324efc49dc6a50d5a812601 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f() {
   void *p = malloc(sizeof(int) * 10); // expected-error{{no matching function for call to 'malloc'}}
index 281f4ce34356c33fcf8e5ae8bf5b0fc20c1e4668..755e27adbac8a7286c87962c12f8e56aa33abab0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s 
+// RUN: clang-cc -fsyntax-only %s 
 class X { };
 
 int& copycon(X x);
index eed8223862dd0e0fc926fd836983eda0ebaf8621..94f352efc76c10b42c31257f2fef296d4e95849b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s
+// RUN: clang-cc -fsyntax-only -pedantic -verify %s
 int* f(int) { return 0; }
 float* f(float) { return 0; }
 void f();
index 96378bafb3307325843cef9d0adec8b0049c891e..2bc832f558f7867bab97a95dcde179187972812a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 void f();
 void f(int);
 void f(int, float); 
index 07936e7eecc5be40c0ac8c2276f237c3b3ca64c1..96e570da654b7b441b9cca3e31d50fd50acf63f5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct X {
   int& f(int) const; // expected-note 2 {{candidate function}}
index 242493076c7463889e8c3ec9b643518ce41a51d8..5989dc272639fe9c8c9035ac3e0838cdb16b6bb9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 struct yes;
 struct no;
 
index 8008b20007448dfb1e4a0539523f3c28a6b30a6a..fc17faf6634f41fc673d1fcaf17a4705de1e82f5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 struct X { 
   X();
   X(int); 
index d51354e16993012824b602b86715400615be3f67..2bf8a35d8bfca21e5e5aee6ac3806ee3d8b50219 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 class X { };
 
 X operator+(X, X);
index 689a7b37a563c56854123dc39f72183274bf549b..01e503ddac6c8a318aa472c098fd50dea16a099a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s 
+// RUN: clang-cc -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 2783710fcbdf46fa100b541085ec564c27e0fb3b..254a18de1f32aa5d4ee5713525a1238fa958234c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 namespace Ns {
   int f(); // expected-note{{previous declaration is here}}
 
index cb82f3189c7749b2e576dc8a1cfe42a3bed5d14b..a1591d01d4576b7e4773d3f2ca5418afebcfe94d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 namespace foo {
   namespace wibble {
     struct x { int y; };
index 902655238baf2c9fecfd501e74a2f17730d1898e..1cb19f0312e4be1e72e1e4a383f86fa3d38417a5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -ast-print %s 2>&1 | grep "N::M::X<INT>::value"
+// RUN: clang-cc -ast-print %s 2>&1 | grep "N::M::X<INT>::value"
 namespace N {
   namespace M {
     template<typename T>
index 8ee7745b925629d23be9a86bd498a1c90b78a1e1..9067a8661d7cc2d6f47630e5254ac1aeaaf3c41e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 int g(int);
 
 void f() {
index e6d635242dab2e54294cf8e729052e6b2c0c036c..fd5ca8cf39d4bb8ef0499481f3674e6250c2bb05 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 enum test { testval = 1 };
 struct structure { int m; };
index b39d1f0a69a47d739f9d65e8362401f2231d1552..16b8659711e2a2b03b6853b364919b95e2d6dc35 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -std=c++98 -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -std=c++98 -pedantic %s
 
 void fnptrs()
 {
index 9eadac7edd3a381915edeb2e6b5fd118cda90767..457de297b0082f698df971fcc12163b97a61de57 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 int* ret_local() {
   int x = 1;
index df46814753955594adefbc0c274070db9fc75a17..d3057602a08e934fe79d337a0abb08b77e85b52f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -std=c++0x %s
+// RUN: clang-cc -fsyntax-only -verify -std=c++0x %s
 
 typedef int&& irr;
 typedef irr& ilr_c1; // Collapses to int&
index bfd8af5fa978a429c74858c90f50e63514ef3776..d6925fe032e912abc34e2f6f98980ef5d131741c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -pedantic
+// RUN: clang-cc %s -fsyntax-only -pedantic
 
 void foo() { 
   return foo();
index 7e1ee467adf6bb6b5e7b0cd45bf41a3e9cccac13..caf76033af704fe80052e565acb570de63fed81f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -std=c++0x
+// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
 
 int f();
 
index bf7561d1d8e8fc6e842dee6ba9dc382968def264..8399e77085b3f784c92a9036ac45f858f1b9ab45 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct A {};
 struct B : public A {};             // Single public base.
index 0da412ab290618db44a1a90827f17b441987c987..3d92a532ae1a23c1d3ba2b4771c26997cc109246 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 int f()
 {
        return 10;
index 5442514abc9a36c7a8ae77a429834431388369d9..b3bb08d7e6a21172d55efe1f872d6b07464f25a8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 template<int N> void f(int (&array)[N]);
 
 template<> void f<1>(int (&array)[1]) { }
index b8bf4b7d3aafb38d28d2af3bd30c26bff73d0f1a..0577d3c2b9bf1733f676c4afb84e25c91ee0264e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 int x = this; // expected-error {{error: invalid use of 'this' outside of a nonstatic member function}}
 
 void f() {
index cb5d0f84548c105c055958e0abdc61fa1d96d1af..653deaa5fbca6cb0c8380039ee96dfd87174492d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct A; // expected-note 3 {{forward declaration of 'struct A'}}
 
index 64191a29d93e1d1e7353e34670d176915c050c50..1840456bde8e6746aa7203b2205514bac6a254c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 
 void f() {
   float v1 = float(1);
index 7c2de6991272b06745d19a512e6366187c0d4415..dd31ef020c6ae8cededd52317f160cf48df3c895 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 class X { 
 public:
   virtual int f();
index d008b01c34b7a38084e04023eca8ed8f79d4ae20..1a2e329b2a44411b0695ffa5d88c722ea2db2760 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 #define T(b) (b) ? 1 : -1
 #define F(b) (b) ? -1 : 1
 
index c7e7d45284c0f3e72eff6bbdb05d9e1fede99c75..10be77cd1a6a892d736291569f3d72b0349e6a6a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 typedef int INT;
 typedef INT REALLY_INT; // expected-note {{previous definition is here}}
 typedef REALLY_INT REALLY_REALLY_INT;
index 80a70a7b562fb5c0e2d3c36a7b45e03faa537bc6..f9ad7592187c0d8af21d8fc3ce0d0c69324c5cc1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 void f()
 {
index c6941b947ee1aba6a940d7a85fc944bb140bc64e..0a4bb773d396e2911a7ec3275c0989a7dcc8cbca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 struct X {
   operator bool();
 };
index 505c06d46055c283d58d103d9b43e522d7213f04..767b49b76f3f0e53e6d5636ef5c1e69c841222b9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 // XFAIL
 // fails due to exact diagnostic matching
 
index ac108e6ad55e347d531cc8df2b739bb8ca39ea91..1c5fe74a154d60f8ce23bc0414c9b99bc8fabd20 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -fblocks %s
+// RUN: clang-cc -fsyntax-only -verify -fblocks %s
 
 extern char version[];
 
index ad82edd5d8b61418e5f3f965fa1109de63ea68c3..c2ac77b30479b58e10830a73f1d2f2475e21dd60 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 class A {
   virtual void f();
index dfbf35d17b2834ed94ffd72efb0eb538fd7940bd..3368da223a48ee7d0e9f12cb9f50c234ecca367f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 // rdar://6425550
 int bar();
 void do_something(int);
index e3cd77a195fa18c004eccc97a3c17f6f082b9ae1..fc258da7d1a6608c00017f5b391190d84f3f047d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s 
+// RUN: clang-cc -fsyntax-only -pedantic -verify %s 
 wchar_t x;
 
 void f(wchar_t p) {
index 07e89120fb87b535cb2e96e120e7427ad38d4f08..e43c1a0ab03256dd7ad25660fe09bbaa0786893e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Subclass
 {
index 903f53c25ea59524f1667d147248aab4db8d594b..50a301688905ba489954c1e128d9a0633a0b1399 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 @protocol NSObject
 - (oneway void)release;
index 6a33b98b366b68295c17e43d19dd3cd1d5eaf4ad..39358cd62a6c4476c7f378d2be333c63f065cc66 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @compatibility_alias alias4 foo; // expected-warning {{cannot find interface declaration for 'foo'}}
 
index 4eb2007d197c9d75f0d02119f709ac8025d5c328..e0baf4e4d374ed5ec6e19a0eb18255b75dc79c66 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // Note: GCC doesn't produce any of the following errors.
 @interface Super @end // expected-note {{previous definition is here}}
index 820a2f09c7942f4dea0012318177a9035320d8f5..1b6c10d29c6b6f04b5cdd9589e48680d23debfee 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 struct S { int a; };
 
index 5bbdd6a715e38e01886037a1d97d0076d7be5108..4aa56c4e889322a0af2a912ead40ab6c690faaf4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only
+// RUN: clang-cc %s -fsyntax-only
 
 @interface Test {
        double a;
index 8490e6dd60415aa7508cd54340b13faaa37508e1..f4d057b2b8303a0ff47dfc9bc851c2202fe73e03 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 @class NSString;
 
index 87d6f2140a7ccb5ed6d8a9452f5b1ffc76109cc6..52f654ab5d7b18b84e4de79a6f3077a72fcde21c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 @interface A {
   int X __attribute__((deprecated));
index 12d0b31ce83281e3aa46051a6b66b428f7e8c3e5..3efb8cfa40ce40e8b1898c209a139dac0e0b1722 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 __attribute__((__objc_exception__))
 @interface NSException {
index 1f2db346a1bda35804d13d1f322ce5f9babe5553..20da639c3cb9c6a02c6f2449f7cb6ae836473255 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 static id __attribute((objc_gc(weak))) a;
 static id __attribute((objc_gc(strong))) b;
 
index de90a1eccbaaea196a004d45df9534a0fe109822..64ff3d199314b78a3ca080ac9e02f99138acbce8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface I
 - (id) retain;
index 422018359a888b719b3957efc2611ab7fb33edeb..231c9a23f8ad504e55de794b2147dac64dad91a2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -fblocks
+// RUN: clang-cc -fsyntax-only -verify %s -fblocks
 
 @interface NSObject {
   struct objc_object *isa;
index 8e72be6e37ed5c89008ad1700b9d5dfcc061b0f7..6d525a990ca1dfe0439baa39df89d2eff3a7045c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -fblocks %s
+// RUN: clang-cc -fsyntax-only -verify -fblocks %s
 @protocol NSObject;
 
 void bar(id(^)(void));
index a1f8c8722e1f1b79fface912c5ac856fbcbf3711..6b1804b3e20c1fc43f707e4951ae6982a2fab358 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #include <stddef.h>
 
index 33894a2c0b788252e2a1a8a0c0d619c1392fb540..18b3ee3452b7f50fe36260a18355336e09b90d72 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 @protocol P;
 
index 84f4c1953e5e0c20c71edd54e3521c5c4c1a784b..6ae775848e78bdf48c9e48a12d83b1c55cd4f163 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface MyClass1 @end
 
index 7bbba8bc4bdbefa7728d8c28e10e90b4ad36713d..76048cc2f74cfb693fdc56bc104dcd34bc1a4250 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef struct objc_class *Class;
 @interface NSObject
@@ -19,4 +19,4 @@ typedef struct objc_class *Class;
   [[self class] classMethod];
 }
 
-@end
\ No newline at end of file
+@end
index a709008460099a6e32a5614adf795b698e8d27ba..bda465783b5dcffdd02b9b5eaca2aef183d0e443 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Foo
 @end
index 985a4c147f9766cd2de562359a2d18ee395749b8..ae0cab0b5d41ff3dee97342a2515f6bbd0ce3bd4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface SUPER
 - (int) meth;
index 54988501136aa4cf24b1157b970620ae0ff0be87..4181ac097b455a378254a4f8f886833b41bdb1dc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Foo // expected-note {{previous definition is here}}
 @end
index a67927f3be45e6e4110e5772e216bc8affc7a777..01b532464c289867289e53d192e981fbe2498a89 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify 
+// RUN: clang-cc %s -fsyntax-only -verify 
 
 @interface X 
 {
index 00f3204c6287b7bb9879d49b9314c85c56dbac50..a9712b23a6a8d3adc32db6d46837bb725a830851 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol P1 @end
 @protocol P2 @end
index 2c625fa0bc0b6cd800ef4c7ab3a6e6020d0ee619..da8a3267662f632caac6a2acb17edfc6e040ca01 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol SUPER;
 
index d13b218cc78d37bf76096435227d76b6240b1a30..f50b293ade36b9ecda4365ad80f6117b26e18c20 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Foo
 - (int)  garf; // expected-note {{ previous declaration is here}}
index a3a185221b30ae86832e5e94428f0172ffe6cfd7..5cd8a75104359a8cc282a7bd8f05611e5bd48bca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef int INTF3; // expected-note {{previous definition is here}}
 
index a62f0f0047f57691f59b6fd97700432457a5ad84..cba93825a4e0187bf031d01515d5df05a06751c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface MyBase 
 - (void) rootInstanceMethod;
index da6811eeb8ddfab27cb2413fe81c1edd2765cfbc..8f0f3d8826c2d74ad4377db505faf505b0c2f30b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface INTF1 @end
 
index 543c285d7cf23026a08ad3099fc13930bfe4ec09..cba4481a5b68b1f6001d42ea2bc0a6f5cb28fe41 100644 (file)
@@ -1,7 +1,9 @@
-// RUN: clang %s -print-stats &&
-// RUN: clang %s -disable-free &&
-// RUN: clang -x objective-c-header -o %t %s && clang -token-cache %t %s &&
-// RUN: clang -x objective-c-header -o %t %s && clang -token-cache %t %s -E %s -o /dev/null
+// RUN: clang-cc %s -print-stats &&
+// RUN: clang-cc %s -disable-free &&
+// RUN: clang-cc -x objective-c-header -o %t %s && 
+// RUN: clang-cc -token-cache %t %s &&
+// RUN: clang-cc -x objective-c-header -o %t %s && 
+// RUN: clang-cc -token-cache %t %s -E %s -o /dev/null
 #ifdef __APPLE__
 #include <Cocoa/Cocoa.h>
 #endif
index 1bcbd0edc0657e1c144c8c23d74a8916025d0614..86845c0358d2f42c42fa54f060c2b0de66bf3ffa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index 583acb065622b31ab871eeabde25ffd0f43f4681..3c27b5f0d3cd6dde0f79e80e9db6f9dc1dbd5cfd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -pedantic -fsyntax-only -verify %s
+// RUN: clang-cc -pedantic -fsyntax-only -verify %s
 typedef signed char BOOL;
 
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
index ab5262e3392ac6e9c7076ad43df2d87a30949f6b..4bca895ecb3dcb457290e3b437964ef004f24787 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 #define nil (void *)0;
 #define Nil (void *)0;
index d063d95cc24265363a47074260dfe1646df60e6b..c24b67b15ed1d6fc8dc6cc8f7c207e1437543555 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #define nil (void *)0;
 #define Nil (void *)0;
index b47c96078649cb03846d57989334b6ccc4c76a7d..2d8f19d806a714cf5ce302c3b466c3b600d4f1ca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #define nil (void *)0;
 
index bda9050164be3a2ba7b67cf6b757d722dae297ac..598901148a8a383ff683091783e1083c6498ac73 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 extern void foo();
 
index 9905fc4298a57ffb603aabb005803037b488cdd5..afd8a4949ed648abb00f241b210de55b3867b124 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -pedantic -verify %s
+// RUN: clang-cc -fsyntax-only -pedantic -verify %s
 
 #define nil (void *)0;
 
index 2edb181e83bc9b81b2670e5a4bb213eb72f6e126..32176755ef76d28b525d2dc288e07713cf0a70fc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 @interface Derived
 @end
index 27b832b7369aba874a9933fb95330fa5f34404ab..faca6937cb74a337e2c4e77316ad9b06bf3d5508 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 #define nil (void *)0;
 #define Nil (void *)0;
index d13ba385d89041b623eb1ba42dcef3c96dd3c430..af9267e499f60373bd861753d062a6738f5621b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol MyProtocol
 @end
index 4f0a277e74e1c6a7b697b54fe855199d58df5eec..caa93b49e6f328fc3b49942d07985800b679838d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -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 4abc9fdddbd862d73b0a9ba1478a6cf24031ac85..ccbadf69ada037d1272a107e62865f9eacc01d5a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 typedef signed char BOOL;
 typedef int NSInteger;
 
index 71a2b297478338cc8786bf9fa01bbb4a2158a9f2..cd7f89b61d0ddd336f7cb3851aa7d693c8ca8216 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 
 @protocol NSObject
 @end
index 260482a6da9593dcaa0e94079047e17d41449055..831f151cbe265e00d1e9435e817c62fb4bef9d63 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface A
 @end
index eb313df029b7ac1ed0a49ce9264529156209f024..31d4834ff0af56e188e3d94ce9b86f7f47f2e555 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol P0
 @end
@@ -64,4 +64,4 @@ void f10(int cond, id<P0,P1> x0, id<P0,P2> x1) {
 
 int f11(int cond, A* a, B* b) {
   return (cond? b : a)->x; // expected-error{{'A' does not have a member named 'x'}}
-}
\ No newline at end of file
+}
index 8fdcf97afd3ff167e1d329395f3d1e0d3bba753b..7d50ba60750c73f8602fb0f678cb257e24addd2a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 // XFAIL
 // <rdar://problem/6212771>
 
index 4792fa6644dd909771319f822f3b493674183f8c..ec3613b2aa9bc541479daf0dbf25aaee2a56a804 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -pedantic %s
+// RUN: clang-cc -fsyntax-only -verify -pedantic %s
 @protocol NSObject
 @end
 
index 3f27b2c1772b5526083eb581c4e20f00878ed425..20ed15722477c6aaa956330e12c5cb4ceaee0c92 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface INTF 
 {
index bd60f55f0cc17c8684062ca9eb120e25f51360de..f516a9326a953bfa8ec2d4142fc291d4aa053016 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface ReadOnly 
 {
index 6dcdc38dc300a8ebb67572d32d9f0420a0aaed71..a5e2cb918e0638769e4ad78a2d1069ef9a736254 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface B1 {
 @public
index 82e23c4b63fcad1e74db3b4d88a6f7d92a48bb3f..0450d7ba9debf22917ca1fd112ad9a2e2e16f2be 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 @protocol MyProto1 
 @optional
index 3b646ac5f9c59fdf4e202fb924367eb53fae515d..9c94c78a8717b3b50bdfcbb64f4fd6d9cda7fdab 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fobjc-gc -fsyntax-only -verify %s
+// RUN: clang-cc -fobjc-gc -fsyntax-only -verify %s
 
 @interface INTF
 {
index 3918923409eeb709c3f10d63f8dafebfbf315a3d..342449d99752dfcb2b9324cec6313b23c22a69cc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 // rdar://6597252
 Class test1(Class X) {
@@ -16,4 +16,4 @@ void test2() {
            @"baz"
            " b\0larg";  // expected-warning {{literal contains NUL character}}
   
-}
\ No newline at end of file
+}
index 9de32949033c6e74116c07c417f1d4d241b1726e..d3ca424a0460ab5478c61694fdc68ac01f3103f1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @class NSArray;
 
index 42c21705b50b3fb89e42bcfd0185d9f40fef0d85..4b8490291ad0182305bda5f6400d56a3f0276502 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 //===----------------------------------------------------------------------===//
 // The following code is reduced using delta-debugging from
index 5eb36e704aed8cbcbf7a9ce768b13d7333f3b069..d8eb311cf446e7f76358c648694fa4459244ec62 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @class FOO, BAR;
 @class FOO, BAR;
index 866aee9069e983662acfa0ef0046cc823d571a3c..5d6670e0f67ca4085c146198308abc49349dedb6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fms-extensions
+// RUN: clang-cc %s -verify -fms-extensions
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
 typedef struct _NSRange { } NSRange;
 
index 758f10112b41a01b972e1237e3e350f4fdbe58b1..399c6ec22c6029112c53f731cd8be1f058289249 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 /* Test attempt to redefine 'id' in an incompatible fashion.  */
 
 typedef int id;   // expected-error {{typedef redefinition with different types}}
index d7c916146fd12fee2b17b8aecd6647d013997cd1..134753726cbb6133bfe9b510cc8d72866b50f7a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 // id is now builtin. There should be no errors. 
 id obj; 
index ad8c45e5e0a874aa339d595613d159cc643a8436..862265ca64762a331cc95387fd86ed850803acad 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -pedantic -fsyntax-only -verify %s
+// RUN: clang-cc -pedantic -fsyntax-only -verify %s
 
 @protocol MyProto1 
 @end
index b974b39a3a8b59c64957d3170274257890eb16d4..8af228e60de240286960ca96e26024c4df3207b0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 // rdar://5957506
 
 @interface NSWhatever :
index 50dd2f95457c4a7ea9454dbd9c08818227329bf9..ec03a00ca75ef11d319a6961847379b2cd6a0670 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 @interface A
 {
   int ivar;
index 637de8e3ac6cfc77a50ef0d8a3f3a987dcbe912a..70b140d109185e268b92c52d1c8d53e32bc4c8b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 typedef struct objc_object {} *id;
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index e110959d15a75a9ea284b3c0f34528f826388cfa..d054e714f3b2ed46726d458cd3436bbd41be61ed 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -triple i686-apple-darwin9  %s
+// RUN: clang-cc -fsyntax-only -verify -triple i686-apple-darwin9  %s
 // FIXME: must also compile as Objective-C++ 
 
 // <rdar://problem/6487662>
index 8f164a9f73607d9ff541717b92513c70381e6d6a..b4dfff683bb123e9ed979d14a740e7ffe455a383 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface I1 {
 @private
index f9929964d3bfb5e579baf8a2a4f0eb9b432fdb04..667c632aa5cd42d50e7816c876ef090e2e78235b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface XX
 int x;  // expected-error {{cannot declare variable inside a class, protocol or category}}
index 27d4147cc698593cfaed1a24b560c5b80c5bef5a..6eacba05f4ae814814bcf30c55096670245c1cf8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 // rdar://6124613
 void test1() {
index 9db5f79fb651ec76cd2d9a50cf75f497b72b60e6..b65c061546f7c07612b132350133139518abe44a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Super @end
 Super s1; // expected-error{{Objective-C type cannot be statically allocated}}
index 829ec5dc97e2afcf475c0d6348208f16c3e5f67b..e79df96942ccf9d61afa9da28da582d2eed65d98 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef struct NotAClass {
   int a, b;
index e4a5b4e600dd9fa422116c9eb76453ac23df4858..4077f91a9a6674a7f8acd17736d60c135f5e6623 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @class NSString, NSArray;
 
index ad8f603772e8ef08acf5f8fd02c03bc4bc927f8a..ca3cc4cf1d46aecd06c1d1918c35467258ad2080 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface MySuperClass
 {
index e599e9da016a59c133a47751fd72b0dd0501220c..b168976da136798eb9cdef238f002752d0517703 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 
 @interface Test {
    int x;
index 814d465baf3426eea84aa6bb65026d2bafd8f77f..85ede5786d5b57689bda2d266c95a42828eda7a6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Sprite {
   int sprite, spree;
index 1833a0f457b2cd6445895a17a079cf7c73fd6889..ab9f6b163c57d7fdfb3a364c0aadf2a871b718d9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 struct S; // expected-note{{forward declaration of 'struct S'}}
 typedef int FOO();
index 76434471d149eec3456636df68b4c62fde6bcc59..63768ffb50ea27e3ab9c561ddbbc5ca32442bb67 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @implementation INTF // expected-warning {{cannot find interface declaration for 'INTF'}}
 @end
index 7dc4fc67b3f90af09f74a6797c88cdb67f5ac62a..94db01482613aa4d125da3117fbbb4518af0745b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface foo
 - (void)meth;
index 571089a615265d91e6514a90522a39262bd46b5c..4b045914c0958a475fc60a374d281a054a499c1b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -checker-cfref -verify %s
+// RUN: clang-cc -checker-cfref -verify %s
 typedef signed char BOOL;
 typedef int NSInteger;
 typedef unsigned int NSUInteger;
index 5b2cab6a3910a82d023b64a44b001db077e2a317..003cea4bd703ce9648a1a0287cd37a1858c6e497 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify -fsyntax-only %s
+// RUN: clang-cc -verify -fsyntax-only %s
 
 @class NSString;
 
index 2e36a15264b7691567253e497ff19062ac49ef15..23fc675a4e9297a846c4cdb4be0209e2a89fdd8e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface foo
 @end
index c2fb7ca4386749148de58c08d74a2968925c67fd..042aed9284b3cda32a8c753bafdb8b0ed2731f40 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
@@ -51,4 +51,4 @@ typedef NSUInteger XDSourceLanguage;
 // GCC doesn't currently warn about this.
 + (NSUInteger) compartmentsForClassifier: (id <XDSCClassifier>) classifier withSpecification: (XDSCDisplaySpecification *) displaySpec { // expected-warning {{conflicting types for 'compartmentsForClassifier:withSpecification:'}}
 }
-@end 
\ No newline at end of file
+@end 
index 7948eed580e7cffbb3dcbc6379e7d86dd023b8aa..94194053e1281863db4bf38d5a53c2dde8ef52ca 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface foo
 - (int)meth;
index d31a2b58b9d6f65b8cc46e5719b4a7b74ad1935a..84cdd70259fad1ae1e1b837e3bc33844369f7f3c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -ast-print %s
+// RUN: clang-cc -ast-print %s
 extern void abort(void);
 #define CHECK_IF(expr) if(!(expr)) abort()
 
index 08a579b0a8786321215f2b0642c78f0c0f197a84..64a0bc4c323d07e289cb2bd1cb0b0c37fecb808f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s
+// RUN: clang-cc %s
 // TODO: We don't support rewrite of method definitions
 
 @interface Intf 
index 9939e349547a7e32df546d0062e5cd2ebc50fff4..dd0bca93644eac7ce1e5bc292e24b7a529d4de99 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef signed char BOOL;
 
 @protocol NSObject
index 28c2e1a308461c690eb225e8d5cf2d84ad2d4328..8ed583faebc772d3c100511be09d03cd8b5740d8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef struct { int y; } Abstract;
 
index f5a20f5a74168414130001ad16b29126bf8252bc..3b2548b92c116d7ae68875b43a76ae3f3f7efa77 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface NSObject {}
 
index 4dfbc74662752bc9e29c5d4dbe7d5cb5baaf8ea3..917ad6b3ee92cda86f69f1ed5596de15385fb515 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef int NSInteger;
 
index 484322e29edafef0f3eb8eface39516241ad863e..9351cb91579ae3dfc56cfa974a3fbca672414510 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 - im0 { int a; return 0; // expected-error{{missing context for method declaration}}
 // expected-error{{expected '}'}}
index 62a8be72e7dca6492d0c34062ecc828179dd83bb..3848fa28c9273e93d52511b27b827e7f4886cae2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Foo
 @end
index 391f25e4d840225a196b0ff6ab4788ccc2016429..aba0befb7fe7f86f9c7f9c99435a88bf1a80ccbd 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface A
 - (void) setMoo: (int) x;      //  expected-note {{previous definition is here}}
index 792c24d748f5fd711997c27fea22649620e83567..82fd3c8ba6ff943473904c42ce0563f289d7bac2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface MyClass1 
 @end
index 00201c88a441c3553848a6df8be18738d9b6c345..7ce015f886ecb4ecf11ce3837b286e85f4ed488c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface MyClass
 @end
index 9e646f82f73a73974efe3598e55fa10fb7553338..fbb01dfb1f797eca39b994033a7e3c6f62989333 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface INTF
 - (void) meth;
index 20437b70ec1605289b418ef906bf28b61fc105ae..2d0758b1fa8db918bf8a94d62ba6154b91b51e26 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 - (void)compilerTestAgainst;  // expected-error {{missing context for method declaration}}
 
 void xx();  // expected-error {{expected method body}}
index 155955c483f3fcb64eb01e12f1ba5808708149d5..4946210c8dcc673c513018391f59296cb3941628 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 
 @interface Subclass
 + (int)magicNumber;
index 5243a72f69ae07ea893d271af04400169297c1e7..3544cb139aabdb66eba8b8982af792bee1d4f797 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef struct CGColor * __attribute__ ((NSObject)) CGColorRef;
 static int count;
index 8fde620e71e86e7d9db472050a7ee0baffe3c637..a52ce8831accda256a2a816cda2f9ed9f540681b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -fobjc-gc -verify %s
+// RUN: clang-cc -fsyntax-only -fobjc-gc -verify %s
 struct S {
        __weak id  p;  // expected-warning {{__weak attribute cannot be specified on a field declaration}}
 };
index 64e26059dfe19267b794398fb998966e34084f41..40bb142d8dfaac3d2f57614c9ffe3e88c678dfdb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 @interface I 
 {
index 26fde7bbf19fd8cec87ee6d73328c9d435ca3889..81b8ee199cb296e8d02368058bb4b90ed7f54e43 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -Wreadonly-setter-attrs -verify %s  -fblocks
+// RUN: clang-cc -fsyntax-only -Wreadonly-setter-attrs -verify %s  -fblocks
 
 // Check property attribute consistency.
 
index d28608aecfb1e5ce1a4fbcfff77e5368ff7a9e30..e8e60914716d53fa9738cb42879415e3dadbd32a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface NSSound
 @end
index b6ac1b7c420dceec2df29f06c7faadd6980cca53..50fb63bc006bb3a457b7956c8ad95ea4cf525f49 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -Wreadonly-setter-attrs -verify %s
+// RUN: clang-cc -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 bcf8299a4f0cba2d8480a6593e0a168855897d0e..d0e40dcf86ed2fe2ed5783655b3da5574a5e93c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface NSObject 
 + alloc;
index 4472a8f6955d47b9c5b4aaf66a05aa8e2dfbcc30..159e06b07afaf0d0c5b1733e5ac2b009905958e3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Tester 
 @property char PropertyAtomic_char;
index 6e92f2530251cfddf77d39014535f446636a9aeb..a66b3d5e1e16666a2528ed24d1abf343cfc787d9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 @interface I 
 {
index b3000967fc1d2db6d29d39bde8917871a97addb7..56db28274c1a8f5de49c14e4999c3ffca0af1187 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 @interface Object 
 @end
index 1a3124087a16afcffa078e125f54fe860f62b688..f463aae629108f12c846bb4ae7dbc61a49ccfa58 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 @protocol P1 @end
 @protocol P2 @end
index a51994d3d49e5c274d993ebe320b2b83dc42082a..8f77cf1ad212c3b17e58b3f0aeb480f83b7533c8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 # 1 "<command line>"
 # 1 "/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h" 1 3
 typedef signed char BOOL;
index ef7a98ad89c0feefe69be83fc12512fb77a988f7..5812b97427aacf763a3cb5249bf52fae7ef15aeb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef struct _NSZone NSZone;
 
index 8ca0afc1ed434e26676756ea7d164b52405e8b5d..49bd409f27c50767a330385262163c6e3adeb36b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
 typedef struct _NSZone NSZone;
index e684c5ecae3a9fa844f67cc5226040f419b52f70..c97f388911908907457d3e481a24bdf7d9e8e07c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify
+// RUN: clang-cc %s -fsyntax-only -verify
 // rdar://5967199
 
 typedef signed char BOOL;
index 9aafcc9ef61b5549f24b0f4f2c8305827585b3de..752f9c09ebf68a94f6ce5a12ed8d3a58a1299650 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 @protocol NSObject  - (BOOL)isEqual:(id)object; @end
index 243b774870d8f52ec059348b9d2d304d5c91c450..c1c5dca11490ab985dfccb336c1d4fb907554d7e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Object
 + (id)new;
index 2b86a9e65d9cfbe5b29d00806cea50f37a2a20a6..c245e36819cc9e567872a29baa7eebcc7195e2b1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 // Test that a property can be synthesize in a category
 // implementation with no error.
 
index fdf78315c62bdddfb2b67b06daf17677df19a77e..bf9e8cbd9d9f0b6b28a314548def8be8a98cc57f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol P
   @property(readonly) int X;
index 673dc25aa8120dc6254c0c9f978c61eda42f6593..edeff09dfadd77df5d8dcaab1da70e5928e0090f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface A
  -(int) x;
index e1913be0e36a19b0f1536cd8c9fe732c96b76b9e..7b956b5f7b4d015200d49546da95e5903e95c2e8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface I {
   int Y;
index 7669e44dab846dfcd0d97dcf8a4cfa135a941baf..6c06b90a9f0a7dec332f5ab52df7b5ebb1a6d9b1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only -verify 
+// RUN: clang-cc %s -fsyntax-only -verify 
 
 // <rdar://problem/6497242> Inherited overridden protocol declared objects don't work
 
index a0bc929c46b5f45eaa75d179f4b08082c07ecb05..75c1e97c4ee97a9bb64f3a8551c50a17d3427336 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 // Test that arithmatic types on property and its ivar have exact match.
 
 @interface Test4 
index 23af00646a97d81d55e8c809ef0a141bd27e7e01..1aa94ce71b257c4d482ae8b71a600ab4343fe055 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // PR3234
 
index 28ad942b59c91215be5487a41cf8c40ab68d7a03..31d415e2ace917c6897ebda157fee1cbde3c6d56 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -triple x86_64-apple-darwin9 -verify %s 
+// RUN: clang-cc -fsyntax-only -triple x86_64-apple-darwin9 -verify %s 
 
 typedef signed char BOOL;
 
index 211185f2b62bcfe53662037698a07fb5b54fc561..95ec15aa1e0cc9a819294410d50295e5a830390e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 
 @interface Object
index 8817787ddbe914928a53f782cdc6f6c6a2ab6a74..ffd5129c8e5ae620fdbaa6119eba7f6230c476fb 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -Werror -verify %s
+// RUN: clang-cc -fsyntax-only -Werror -verify %s
 
 @interface MyClass {
     const char *_myName;
index 30d56081c5c8b70c7cba2032d40b04c9a7f92c71..22e5e4af66d8e4153e519b0e467e492f274e80e2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface A
 -(float) x;    // expected-note {{declared at}}
index 489e3a7ab65585a6b606f3ebb0d45aa95bfb65ff..9b0380ede88ed796016a5e3db9f1a79ab7a51f0d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface I0 
 @property(readonly) int x;
index 2e5edbd5c506d64923f42255a196c770c67bb6fd..293432fc828f754f0379dc39398a566b12c036c1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -triple i386-apple-darwin9 -fsyntax-only -verify %s
+// RUN: clang-cc -triple i386-apple-darwin9 -fsyntax-only -verify %s
 
 @interface foo
 @property(nonatomic) int foo __attribute__((weak_import));
index aa5be257954caed620af4ff06bf74b6403bb276a..a0c6e41f9d38c733fbaa3d3a0d6e015dd8670d79 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef signed char BOOL;
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
 
index 647c5e74a651fc866887c989e3d356af590b33f6..3e70c05096524f6300ad8fc86e9bcf6ab2fb312d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 // rdar://5986251
 
 @protocol SomeProtocol
index 1934091fe934f949ae3c2855a2d32bfa9787a697..ae8441132c7783218615bc4f4dc9edd1a73918a8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 __attribute ((unavailable))
 @protocol FwProto; // expected-note{{marked unavailable}}
index dff2866020d553121a04ffb450c2538953f1a7d1..cc1c3231d5e516a4c0eb86889ed3752a0940055b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol fproto;
 
index 427e74417ab460641443ca1a21bbc26aab051b46..9393fde3c3c754b2ba457e02be2a84a466714c47 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @class Protocol;
 
index 836d5b2350712918ef4fac277fed84d892c74cc4..40da96e0961d3ee3a0e19456232aab82a62a4f49 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol B;
 @protocol C < B > // expected-warning{{cannot find protocol definition for 'B'}} // expected-note{{previous definition is here}}
index 4e636d7e1c77893c2e9029bd825f403789ed1e55..5e737a8fae079239d6179db3fa3026adcb58c3ce 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 @interface FF
 - (void) Meth;
index 3b4adcfb5b6f176da29d7e8949c08659326dd8d4..a55923c2105836d8ceda884e54f3db656ec92565 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s
+// RUN: clang-cc -verify %s
 
 @protocol P
 @end
index a4be20b4a5c59312813ba70fe5cf078edcd9658c..3c7f84a181f1a319ddbf6ec48b0b45c4627a8ca1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -pedantic -fsyntax-only -verify %s
+// RUN: clang-cc -pedantic -fsyntax-only -verify %s
 
 @protocol MyProto1 
 @end
index 42c499580988bbbb5ada6b6f563b50b156dee5c9..1aace211c844cef82ce9ae314cb236dd4dab53c2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol P0
 -bar;
index 5d721e509ed5990ccc6fee70e278dfe1f9cad500..64d0c3acf036c3d260182905b89f3693d04d4566 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 @interface NSObject @end
 
 @protocol ProtocolA
index ec02c2ba7db9786f97ef1586ec6ac3c1e3a18526..4f928229cd1c5a79691f06203d9d831f5f1913bf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 @protocol NSObject
 - retain;
 - release;
index c8e4080c5e3b41bf7d447552169ad8c8d8d6a4bf..6ca2bb875b5d40fef6b3b53e382e784d07f6be32 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol PROTO1
 @required 
index e5fff2da630d7e136be6dd68add3fbd9a4f5ecb6..a882809f1c731925aac9a68bbdc413adb130ab47 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface INTF1 @end
 
index 5ffe73fd9389e5a89df158a219a0581a732f8c4c..de66dedda70a2882c9fc0966614e497d4ebdb5e8 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface NSObject @end
 @protocol XCElementP @end
index a490fa26fd873f89c34ace0b9d1903fc62eda88a..34a33c72f833ed90c8c850c0244e75fd211014ed 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
index 8b7067fbe2af4477f0536106e6f1605980fba754..f8e4a07cba584b8ff6685d4d98401b92cb9791ad 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 // XFAIL
 // <rdar://problem/6211479>
 
index 1fd1d444a12879b8a50f1ab5c25be4ac5160ceb7..ee77015041dbd23febbae94998bc41b7f42ff68d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -verify %s 
+// RUN: clang-cc -verify %s 
 
 @interface Lancelot @end
 @implementation Lancelot
index 7bd25444c7e9120bf4abd7ce2884dc00b23837b4..7c30f79ceaecd4ce1034296cf459b03376df28e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -fsyntax-only
+// RUN: clang-cc %s -fsyntax-only
 
 @interface NSObject
 + alloc;
index a0b389e1ad6c63202aad8c465ef4a66e2f6be857..3c37e9e830265c0261acd4a933560f4716be1cba 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -ast-print %s
+// RUN: clang-cc -ast-print %s
 
 @interface current 
 {
index e14d3b15c19757dad063efc45ac5376cb4c3411f..3f078f6543eeaf76f1d068046f64ae82773154a2 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: clang %s -verify -fsyntax-only &&
-// RUN: clang %s -verify -fsyntax-only -DDECLAREIT
+// RUN: clang-cc %s -verify -fsyntax-only &&
+// RUN: clang-cc %s -verify -fsyntax-only -DDECLAREIT
 
 // a declaration of NSConstantString is not required.
 #ifdef DECLAREIT
index ef4c0ebc3f0f8bb17c5cb2ceed5af8f3647aeadd..1ab0752faa38d66487885d1f4e409d5cafa94a92 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
 @class NSInvocation, NSMethodSignature, NSCoder, NSString, NSEnumerator;
index 4c963629481759b3601db8bc4b1934da5e40da6b..3b0887f26eff8ab9d60c7447cc3648db20551b99 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface B
 +(int) classGetter;
index 7fe79e22ccc61923deb5075765506b3f209793c7..9afd4eb983c57f4275d60bd6bf63921edfa96650 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Foo
 - iMethod;
index 365da92dd4b177ee3b37efcec4ce2d0cf93d40d7..d4914fd895f9a6f1cf65eec9292a07a80fe6c636 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
 typedef struct _NSZone NSZone;
index 16e119db80c4bcefd69bdaa1622383a1b3d6befb..bcb4e506d5fdd013e338687535858abfda9e0e51 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef struct _NSZone NSZone;
 
index 1bb3f87aa5ae006adbc0c99e17895dddd7c89b1d..128815602d4d22a76196155a7434b3464e1d3f4f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
 typedef struct _NSZone NSZone;
index 6d162ac4e21b009c25b7bee6a40df6fca8a4d749..114b6ca5f6f423a6eef3497d4b8fda69230efeb3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface _Child
 + (int) flashCache;
index 9ad3593c6c4d03cdb8797108d3eba4b95862e32f..05245523fb6aee83eb48392f8de3f6574f53cb93 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol P1
 - (void) P1proto;
index ba233f8c4e61123c5ac06d71fa58be8ff2f37f96..0d670f8c08092b0fab226c646f4ff3658c397e02 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @class SUPER, Y;
 
index 117f418ab1c1e0dc27a8569ad7b92f04e38b8402..572d55f26854d05fa7410b40a9fb77455acf46de 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @protocol p1, p4;
 @protocol p2 @end
index cbe15a1abb57f608c5bbec7d76bcbe451fb71448..88c6f1054c8d1fb52b2df97a6a18eae9237d9db9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang %s -verify -fsyntax-only
+// RUN: clang-cc %s -verify -fsyntax-only
 #include <stdio.h>
 
 @interface Greeter
index 077982abbf51283f328ed41f779a09e174851862..3c8998f983ceec5895cd60324bf12a605f332aa9 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 #include <stdarg.h>
 
index 777666dfd938334e32c83aa19abbb90e1f4ab618..4ab89b7e1e2cafd5f52f0ffea83f181ab53828d4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface Object 
 - (void)foo;
index a342acb156fd4ffee14cece479793fe49efb8e53..be222eea058fa96c575350b6c860b09a7946a50c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -fobjc-gc -verify %s
+// RUN: clang-cc -fsyntax-only -fobjc-gc -verify %s
 
 struct S {
        __weak id w; // expected-warning {{__weak attribute cannot be specified on a field declaration}}
index e48e06a7fd50f3600a1ab9c1514f344899fc167e..9e0e8cb4b3af376d03497f91c8751715034cedd2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 typedef signed char BOOL;
 typedef unsigned int NSUInteger;
index 34f75a023d3d6579bb91c256232fa106e75cef4f..3d421a878e59168866d62f83ad31ea776ee7836e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify -fblocks %s
+// RUN: clang-cc -fsyntax-only -verify -fblocks %s
 @protocol NSObject;
 
 void bar(id(^)(void));
index d6cbc04f942e81cce8d6054b9238d585302ff939..00b6d747c3da5ad6cc946c77a2e60ac699f05d01 100644 (file)
@@ -1,5 +1,6 @@
-// RUN: clang %s -print-stats &&
-// RUN: clang -x objective-c++-header -o %t %s && clang -token-cache %t %s
+// RUN: clang-cc %s -print-stats &&
+// RUN: clang-cc -x objective-c++-header -o %t %s && 
+// RUN: clang-cc -token-cache %t %s
 #ifdef __APPLE__
 #include <Cocoa/Cocoa.h>
 #endif
index c8221d470eef14d78049fc72355ae8e47430dd70..2cc0936b2ed276bf697157ad184a612d8337378d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 extern "C" {
 @class Protocol;
 }
index 3ad3508c0a711cddf44c4a9d9bb5086e5443a5c4..cedfcfdb9e4b26ac00460ee89e9257a7c0738ff3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 namespace C {
 
index 397a471257037775be5d77eaafe36d8101c03c2b..8ab22e1ca73ec4efe7ccf603d911c50ddc0c0f70 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 @interface Foo
 @end
 
index ec02c2ba7db9786f97ef1586ec6ac3c1e3a18526..4f928229cd1c5a79691f06203d9d831f5f1913bf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 @protocol NSObject
 - retain;
 - release;
index 79f747fe8a19cc7039962127a92aa9e9e70a620c..2875f9352737f7cbccb8dabd8d4f682f2722e8ea 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 @interface A 
 - (void)asm;
index 70028c7e58119ac1c2e3360fe63474c02a709c5b..eeed09e61637b2440753c453e505360eb6b4b297 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 extern char version[];
 
index bd2ef147bde9bcb01411dcd89ffb1966935a1dae..d1fbf6b69079cd4e66c00b3bfa134a5da99a013d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // <rdar://problem/6463729>
 @class XX;
index ff381329283ea11574d319c286a5a4ee21a6c1f5..475c7b951923d77365524f078a35d7c54fae7516 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 template<typename T> class A;
 
index e77555f2f976355a34839f978083949f3680a78c..c4388a7c155666848bd079fc8120b462c96d5d4b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 namespace N {
   template<typename T> class A { };
 
index 86100ef71d759aa0d57a970fe45146a456ec9b25..e0e1cba9a53e15dfaac682dab78fa848a7363b3e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 template<typename T, typename U = float> struct A { };
 
 typedef A<int> A_int;
index 90ab39f32e90815ddcbd53137d30661ca4d50c3e..b3dc3b2dca26c86e2687781e8169599bb7205c76 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 template<typename T, typename U = int> struct A; // expected-note 2{{template is declared here}}
 
 template<> struct A<double, double>; // expected-note{{forward declaration}}
index cc0da1942d49d4af937efdebbc92efc4efeef119..572227cb61de5df8430e34bbcd2206c7fa35125a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 template<typename T, int N = 2> struct X; // expected-note{{template is declared here}}
 
index b56d8cdf693885373734dd22ba38d435c3d0a96c..aa3b4b1b671ef5cc58b768c6230cc8bc1696c6aa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 
 // FIXME: The Fibonacci/FibonacciEval dance is here to work around our
 // inability to parse injected-class-name<template-argument-list>.
index e9871bb5c926aed9e67cd366e6d72ee154f4a747..fdcf6ee92cae740c2e31c41e1855075e7996cf6e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 // Tests that dependent expressions are always allowed, whereas non-dependent
 // are checked as usual.
index d67645e04178f411fe2db6c103e1956d3d6f891d..29279b4368996e96a721778111b8632d1b76d701 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s -std=c++0x
+// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
 
 #ifndef __GXX_EXPERIMENTAL_CXX0X__
 #define __CONCAT(__X, __Y) __CONCAT1(__X, __Y)
index 665746cfd4de195e94b1a06977386025a2742ce9..a7acf22a45a1c1fbe11201b00e01cd8c8a8e7e69 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 
 template<typename T, T I, int J>
 struct adder {
index 2ea0641b00771b883718aee2288915e6bebd3289..13ee3ab525ba69a2817db03e4c22097a086fa254 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 template<int I, int J>
 struct Bitfields {
index b2c43ee76e0e465f3b30b947e0d5120d18d0e473..aa898dd05652bc8d86da2faedb65ffbc9545a788 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only %s
+// RUN: clang-cc -fsyntax-only %s
 typedef char one_byte;
 typedef char (&two_bytes)[2];
 typedef char (&four_bytes)[4];
index dbfbd47060045924f3d52340f0c2ccd85542e4e8..8e2a3758b0d713468e73073aa7b7ba3b1905254a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 template<typename T>
 struct X {
index 3497cbec0228c9cb0f5c5a8f0e48828b0fdebc80..5baf2ad1b2324e0d3752d0e843e06d7964b34674 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 template<typename T>
 class X {
 public:
index 3e7c464d2cf8babb54183ce73fd12a97b7d545f2..abdc37a0620af53e8b2abaa30b5f5e42db94c05f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 template<typename T>
 struct add_pointer {
index 10c2de0381488e49a6f76ee15ab8f424172b88e1..869662268dd24b805c5994a3a867772bd4a660c0 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 3060fdc6fd6d030775c63e069e04508662614bdd..ecb1fb73f9018eac0861a6eda39307adaf89d896 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 template<typename T, typename U = const T> struct Def1;
 
 template<> struct Def1<int> { 
index 9d6b047f37722291292064c67c32a4110ca9012b..740832c5ba3910a59f455c87f163dd3758e9657d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -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 b9379d6690e0cc8dcf3c3ce2ec9411da6dc793e2..521edf66f24cfb47d5bb34d4cb9777c9c501250c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 template<typename T> struct A { };
 
index 06317d88d485054e29d583900825f85e6ae861b7..522c4e1cbb5ce29cf7c22164c31194ee224cb3fc 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -ftemplate-depth=5 -verify %s
+// RUN: clang-cc -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 8db2bc34296e2be0daf521ff01ff4b4a4c1e970f..f856268d6ee24cf2bf41600fa7a3f9db315555e5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 namespace N { 
   namespace M {
index 74e61bbb2749f9f227354f8473fab411a60ea544..bf4ae1187696b625d412f42a4d3e114b60bd3049 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 namespace std {
   template<typename T> class vector { };
index e11dfe9f75d68e73478515430e92e85ff7cc0557..57b6ee22410c9b40e935fde581cde7f1dcaed00a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -std=c++0x -verify %s
+// RUN: clang-cc -fsyntax-only -std=c++0x -verify %s
 template<typename T> struct X;
 template<int I> struct Y;
 
index 1994e3d965cb31244c24b32d0d4fe4d40abe7030..764bb7bae073f84cf598e3aa5e850043180dc1be 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -std=c++98 -verify %s
+// RUN: clang-cc -fsyntax-only -std=c++98 -verify %s
 template<typename T> struct X;
 template<int I> struct Y;
 
index b974c622a4f8fa940f5b71be97c78ccf16a1bdfd..e873b8e2a61de819029a58bae8ccd42b06f4458e 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 template<typename T, 
          int I, 
          template<typename> class TT>
index 381947269e99b7d0f2d8c665a51ed18da047a00d..4faa72b8e3d8048bb2faec58761c0c7b05a0c493 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -std=c++98 -verify %s
+// RUN: clang-cc -fsyntax-only -std=c++98 -verify %s
 template<int N> struct A; // expected-note 5{{template parameter is declared here}}
 
 A<0> *a0;
index 781ada9cfe78d81d92190abee09ef107032acaed..a5e9f75fa77a9b6059ebdc70231bee17f430543f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 
 template<template<typename T> class X> struct A; // expected-note 2{{previous template template parameter is here}}
 
index 94e4505f40549be672e0bc866dbe272a884d46ff..b322dae98b903d1b305d49a655b2eea452dfbc41 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
 template<typename T> class A; // expected-note 2 {{template parameter is declared here}}
 
 // [temp.arg.type]p1
index 1f10cc49c10281cc03e9349f39583695dc7ab4c5..c042f0849a04040452e1e568315512468966147c 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s 
+// RUN: clang-cc -fsyntax-only -verify %s 
 
 class X;
 
index e61f9d544061c61aa349d3110bc634130a3bbb90..09b6ebd1597e6cd3e7e1a08342a8fe670d1fe33e 100644 (file)
@@ -442,7 +442,7 @@ class Clang_CompileTool(Tool):
             else:
                 cmd_args.extend(arglist.renderAsInput(input.source))
             
-        jobs.addJob(Jobs.Command(self.toolChain.getProgramPath('clang'), 
+        jobs.addJob(Jobs.Command(self.toolChain.getProgramPath('clang-cc'), 
                                  cmd_args))
         
 class Darwin_X86_CC1Tool(Tool):
index 65560ecf8720b288ac1e70f54ed1cca3bb886e2a..36afd66e793719035513d789afe66ca91d9c7a8b 100644 (file)
@@ -8,7 +8,7 @@
 // RUN: xcc -ccc-print-phases -### -arch ppc -arch ppc %s | grep 'linker,' | count 1 &&
 
 // Check that -ccc-clang-archs is honored.
-// RUN: xcc -ccc-clang-archs i386 -### -arch ppc -arch i386 %s 2>&1 | grep 'clang"' | count 1
+// RUN: xcc -ccc-clang-archs i386 -### -arch ppc -arch i386 %s 2>&1 | grep 'clang-cc"' | count 1
 
 int main() {
   printf("Hello, World!\n");