CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
122 lines
1.4 KiB
C
122 lines
1.4 KiB
C
// RUN: %clang_cc1 -E -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
#define DATE_LBR __D\
|
|
ATE__
|
|
|
|
const char* test1(void) {
|
|
return __DATE\
|
|
__;
|
|
}
|
|
const char* test2(void) {
|
|
return DATE_LBR;
|
|
}
|
|
|
|
#define TIME_LBR __TIME_\
|
|
_
|
|
|
|
const char* test3(void) {
|
|
return __TIM\
|
|
E__;
|
|
}
|
|
|
|
const char* test4(void) {
|
|
return TIME_LBR;
|
|
}
|
|
|
|
#define LINE_LBR __LI\
|
|
NE__
|
|
|
|
int test5(void) {
|
|
return _\
|
|
_LINE__;
|
|
}
|
|
|
|
int test6(void) {
|
|
return LINE_LBR;
|
|
}
|
|
|
|
#define FILE_LBR __FI\
|
|
LE__
|
|
|
|
const char* test7(void) {
|
|
return __\
|
|
FILE__;
|
|
}
|
|
|
|
const char* test8(void) {
|
|
return FILE_LBR;
|
|
}
|
|
|
|
#define FILE_NAME_LBR __FILE_NA\
|
|
ME__
|
|
|
|
const char* test9(void) {
|
|
return __FILE_NAM\
|
|
E__;
|
|
}
|
|
|
|
const char* test10(void) {
|
|
return FILE_NAME_LBR;
|
|
}
|
|
|
|
#define BASE_FILE_LBR __BASE_FIL\
|
|
E__
|
|
|
|
const char* test11(void) {
|
|
return __BASE_\
|
|
FILE__;
|
|
}
|
|
|
|
const char* test12(void) {
|
|
return BASE_FILE_LBR;
|
|
}
|
|
|
|
#define INCLUDE_LEVEL_LBR __INCLUDE\
|
|
_LEVEL__
|
|
|
|
int test13(void) {
|
|
return __IN\
|
|
CLUDE_LEVEL__;
|
|
}
|
|
|
|
int test14(void) {
|
|
return INCLUDE_LEVEL_LBR;
|
|
}
|
|
|
|
#define TIMESTAMP_LBR __TIMESTA\
|
|
MP__
|
|
|
|
const char* test15(void) {
|
|
return __TIMESTA\
|
|
MP__;
|
|
}
|
|
|
|
const char* test16(void) {
|
|
return TIMESTAMP_LBR;
|
|
}
|
|
|
|
#define FLT_EVAL_METHOD_LBR __FLT_EVAL_METH\
|
|
OD__
|
|
|
|
int test17(void) {
|
|
return __FL\
|
|
T_EVAL_METHOD__;
|
|
}
|
|
|
|
int test18(void) {
|
|
return FLT_EVAL_METHOD_LBR;
|
|
}
|
|
|
|
#define COUNTER_LBR __COUNTE\
|
|
R__
|
|
|
|
int test19(void) {
|
|
return _\
|
|
_COUNTER__;
|
|
}
|
|
|
|
int test20(void) {
|
|
return COUNTER_LBR;
|
|
}
|