Mercurial > hg > CbC > CbC_llvm
view clang/test/Index/file-macro-refs.c @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
#define FOO FOO FOO // RUN: c-index-test -file-refs-at=%s:3:2 %s | FileCheck %s // RUN: env CINDEXTEST_EDITING=1 c-index-test -file-refs-at=%s:3:2 %s | FileCheck %s // CHECK: macro expansion=FOO:1:9 // CHECK-NEXT: macro definition=FOO =[1:9 - 1:12] // CHECK-NEXT: macro expansion=FOO:1:9 =[3:1 - 3:4] // CHECK-NEXT: macro expansion=FOO:1:9 =[4:1 - 4:4]