[clang] [ObjC][Preprocessor] Handle @import directive as a pp-directive (PR #157726)

Michael Spencer via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 1 15:57:47 PDT 2025


https://github.com/Bigcheese commented:

The code changes here look fine, but it would be good to have some more test examples. Particularly around things like:
```
#define M modA
@import M;
```

and cases that shouldn't compile, like:

```
#define imp @import
imp M;
```

https://github.com/llvm/llvm-project/pull/157726


More information about the cfe-commits mailing list