Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeCompletion/macros-in-modules.m @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 1f2b6ac9f198 |
children |
line wrap: on
line source
// RUN: rm -rf %t && mkdir %t // RUN: echo 'module Foo { header "foo.h" }' > %t/module.modulemap // RUN: echo '#define FOO_MACRO 42' > %t/foo.h // RUN: c-index-test -code-completion-at=%s:%(line+4):1 -I %t -fmodules-cache-path=%t -fmodules %s | FileCheck %s @import Foo; int x = /*here*/1; // CHECK: FOO_MACRO