
This option complements -funique-source-file-names and allows the user to use a different unique identifier than the source file path. Reviewers: teresajohnson Reviewed By: teresajohnson Pull Request: https://github.com/llvm/llvm-project/pull/142901
12 lines
389 B
C
12 lines
389 B
C
// RUN: %clang -funique-source-file-names -### %s 2> %t
|
|
// RUN: FileCheck --check-prefix=SRC < %t %s
|
|
|
|
// SRC: "-cc1"
|
|
// SRC: "-funique-source-file-identifier={{.*}}unique-source-file-names.c"
|
|
|
|
// RUN: %clang -funique-source-file-names -funique-source-file-identifier=foo -### %s 2> %t
|
|
// RUN: FileCheck --check-prefix=ID < %t %s
|
|
|
|
// ID: "-cc1"
|
|
// ID: "-funique-source-file-identifier=foo"
|