2013-07-17 02:27:29 +08:00
|
|
|
// RUN: %clang --help | FileCheck %s -check-prefix=HELP
|
|
|
|
// HELP: isystem
|
|
|
|
// HELP-NOT: ast-dump
|
2013-07-19 04:29:38 +08:00
|
|
|
// HELP-NOT: driver-mode
|
2013-07-17 02:27:29 +08:00
|
|
|
|
|
|
|
// RUN: %clang --help-hidden | FileCheck %s -check-prefix=HELP-HIDDEN
|
2013-07-19 04:29:38 +08:00
|
|
|
// HELP-HIDDEN: driver-mode
|
2013-07-17 02:27:29 +08:00
|
|
|
|
|
|
|
// RUN: %clang -dumpversion | FileCheck %s -check-prefix=DUMPVERSION
|
2019-03-26 02:06:20 +08:00
|
|
|
// DUMPVERSION: {{[0-9]+\.[0-9.]+}}
|
2013-07-17 02:27:29 +08:00
|
|
|
|
|
|
|
// RUN: %clang -print-search-dirs | FileCheck %s -check-prefix=PRINT-SEARCH-DIRS
|
|
|
|
// PRINT-SEARCH-DIRS: programs: ={{.*}}
|
|
|
|
// PRINT-SEARCH-DIRS: libraries: ={{.*}}
|
2017-04-05 05:46:50 +08:00
|
|
|
|
|
|
|
// Test if the -print-resource-dir option is accepted without error.
|
|
|
|
// Allow unspecified output because the value of CLANG_RESOURCE_DIR is unknown.
|
|
|
|
// RUN: %clang -print-resource-dir | FileCheck %s -check-prefix=PRINT-RESOURCE-DIR
|
|
|
|
// PRINT-RESOURCE-DIR: {{.+}}
|