Fixes the issue raised post-review in D113319 (cf. https://reviews.llvm.org/D113319#3337485).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D120324  
[clang-format] Avoid parsing "requires" as a keyword in non-C++-like languages. ClosedPublic Authored by curdeius on Feb 22 2022, 6:48 AM. 
Details Summary Fixes the issue raised post-review in D113319 (cf. https://reviews.llvm.org/D113319#3337485). 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Feb 22 2022, 7:09 AM This revision was landed with ongoing or failed builds.Feb 22 2022, 7:55 AM Closed by commit rG071f870e7ff0: [clang-format] Avoid parsing "requires" as a keyword in non-C++-like languages. (authored by curdeius).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 410537 clang/lib/Format/UnwrappedLineParser.cpp
 clang/unittests/Format/FormatTestJS.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||