]> granicus.if.org Git - clang/blob - test/Driver/debug-prefix-map.c
clang-cl: make /Wall turn on both -Wall and -Wextra (PR25563)
[clang] / test / Driver / debug-prefix-map.c
1 // RUN: %clang -### -fdebug-prefix-map=old %s 2>&1 | FileCheck %s -check-prefix CHECK-INVALID
2 // RUN: %clang -### -fdebug-prefix-map=old=new %s 2>&1 | FileCheck %s -check-prefix CHECK-SIMPLE
3 // RUN: %clang -### -fdebug-prefix-map=old=n=ew %s 2>&1 | FileCheck %s -check-prefix CHECK-COMPLEX
4 // RUN: %clang -### -fdebug-prefix-map=old= %s 2>&1 | FileCheck %s -check-prefix CHECK-EMPTY
5
6 // CHECK-INVALID: error: invalid argument 'old' to -fdebug-prefix-map
7 // CHECK-SIMPLE: fdebug-prefix-map=old=new
8 // CHECK-COMPLEX: fdebug-prefix-map=old=n=ew
9 // CHECK-EMPTY: fdebug-prefix-map=old=