forked from qt-creator/qt-creator
Clang: Disable a clangformat test for vanilla clang
...that requires a custom patch to work. Change-Id: I954286f47112b660dc6ee681dac2250a9e8da0df Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -198,7 +198,14 @@ TEST_F(ClangFormat, IndentLambdaWithReturnType)
|
|||||||
"}"));
|
"}"));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(ClangFormat, IndentFunctionArgumentLambdaWithNextLineScope)
|
#ifndef KEEP_LINE_BREAKS_FOR_NON_EMPTY_LINES_BACKPORTED
|
||||||
|
# define DISABLED_FOR_VANILLA_CLANG(x) DISABLED_##x
|
||||||
|
#else
|
||||||
|
# define DISABLED_FOR_VANILLA_CLANG(x) x
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// This test requires the custom clang patch https://code.qt.io/cgit/clang/llvm-project.git/commit/?h=release_100-based&id=9b992a0f7f160dd6c75f20a4dcfcf7c60a4894df
|
||||||
|
TEST_F(ClangFormat, DISABLED_FOR_VANILLA_CLANG(IndentFunctionArgumentLambdaWithNextLineScope))
|
||||||
{
|
{
|
||||||
insertLines({"foo([]()",
|
insertLines({"foo([]()",
|
||||||
"{",
|
"{",
|
||||||
|
Reference in New Issue
Block a user