aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/UnwrappedLineParser.cpp
diff options
context:
space:
mode:
authorSirraide <aeternalmail@gmail.com>2025-01-21 14:13:13 +0100
committerGitHub <noreply@github.com>2025-01-21 14:13:13 +0100
commit33656932b0e9098354b2e685d6ed70bd0bcb246a (patch)
tree0966504fcd2c427134d53d0ba4aee38c50f3cc34 /clang/lib/Format/UnwrappedLineParser.cpp
parent5d9c717597aef72e4ba27a2b143e9753c513e5c9 (diff)
downloadllvm-33656932b0e9098354b2e685d6ed70bd0bcb246a.zip
llvm-33656932b0e9098354b2e685d6ed70bd0bcb246a.tar.gz
llvm-33656932b0e9098354b2e685d6ed70bd0bcb246a.tar.bz2
[clang-format] Rename ExportBlockIndentation -> IndentExportBlock (#123493)
This renames the `ExportBlockIndentation` option and adds a config parse test, as requested in #110381.
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.cpp')
-rw-r--r--clang/lib/Format/UnwrappedLineParser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.cpp b/clang/lib/Format/UnwrappedLineParser.cpp
index 834693e..4258329 100644
--- a/clang/lib/Format/UnwrappedLineParser.cpp
+++ b/clang/lib/Format/UnwrappedLineParser.cpp
@@ -3167,8 +3167,7 @@ void UnwrappedLineParser::parseNamespace() {
}
void UnwrappedLineParser::parseCppExportBlock() {
- parseNamespaceOrExportBlock(/*AddLevels=*/Style.ExportBlockIndentation ? 1
- : 0);
+ parseNamespaceOrExportBlock(/*AddLevels=*/Style.IndentExportBlock ? 1 : 0);
}
void UnwrappedLineParser::parseNew() {