astyle formatting
This commit is contained in:
parent
da1de50deb
commit
040da4ff32
|
@ -3307,14 +3307,14 @@ private:
|
|||
ASSERT_EQUALS("", errout.str());
|
||||
|
||||
check("int foo() {\n"
|
||||
" auto x = getX();\n"
|
||||
" if (x == nullptr)\n"
|
||||
" return 1;\n"
|
||||
" auto y = dynamic_cast<Y*>(x)\n"
|
||||
" if (y == nullptr)\n"
|
||||
" return 2;\n"
|
||||
" return 3;\n"
|
||||
"}\n");
|
||||
" auto x = getX();\n"
|
||||
" if (x == nullptr)\n"
|
||||
" return 1;\n"
|
||||
" auto y = dynamic_cast<Y*>(x)\n"
|
||||
" if (y == nullptr)\n"
|
||||
" return 2;\n"
|
||||
" return 3;\n"
|
||||
"}\n");
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
|
||||
// handleKnownValuesInLoop
|
||||
|
|
Loading…
Reference in New Issue