================
@@ -1394,7 +1394,7 @@ bool Preprocessor::HandleModuleContextualKeyword(Token
&Result) {
LookUpIdentifierInfo(*NextTok);
if (Result.getIdentifierInfo()->isImportKeyword()) {
- if (NextTok->isOneOf(tok::identifier, tok::less, tok::colon,
+ if (NextTok->isOneOf(tok::identifier, tok::colon,
----------------
hubert-reinterpretcast wrote:
I think the `<` check is still needed?
```cpp
export module M;
#define PLATFORM_API unistd.h>
import <PLATFORM_API; // OK
```
https://github.com/llvm/llvm-project/pull/191004
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits