diff options
author | Tobias Hieta <tobias@hieta.se> | 2022-10-25 09:59:10 +0200 |
---|---|---|
committer | Tobias Hieta <tobias@hieta.se> | 2022-10-25 09:59:39 +0200 |
commit | fd1d93db71066bedc11944bd32f3540b8084b060 (patch) | |
tree | 914bfe9b8849ab07a018a403fa5bddffd595c3ed /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 772fc63f5bb50996370797e55682dd65960d921a (diff) | |
download | llvm-fd1d93db71066bedc11944bd32f3540b8084b060.zip llvm-fd1d93db71066bedc11944bd32f3540b8084b060.tar.gz llvm-fd1d93db71066bedc11944bd32f3540b8084b060.tar.bz2 |
[clang-format] Mark pragma region lines as StringLiterals
In our code-base we auto-generate pragma regions the regions
look like method signatures like:
`#pragma region MYREGION(Foo: bar)`
The problem here was that the rest of the line after region
was not marked as stringliteral as in the case of pragma mark
so clang-format tried to change the formatting based on the
method signature.
Added test and mark it similar as pragma mark.
Reviewed By: owenpan
Differential Revision: https://reviews.llvm.org/D136336
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions