mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-14 09:56:33 +00:00

Close https://github.com/llvm/llvm-project/issues/62112 In the previous change, we'll stop parsing directly after we found reserved module names. But this may be too aggressive. This patch changes this. Note that the parsing will still be stopped if the module name is `module` or `import`.
8 lines
280 B
C++
8 lines
280 B
C++
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
// Demonstrate that we don't consider use of 'std' (potentially followed by
|
|
// zero or more digits) to be a reserved identifier if it is not the only part
|
|
// of the path.
|
|
export module std12Three;
|