spellfixes
This commit is contained in:
parent
dade326a99
commit
c192e4d669
|
@ -4137,7 +4137,7 @@ Token *Tokenizer::simplifyAddBracesPair(Token *tok, bool commandWithCondition)
|
||||||
}
|
}
|
||||||
Token * tokBracesEnd=NULL;
|
Token * tokBracesEnd=NULL;
|
||||||
if (tokAfterCondition->str()=="{") {
|
if (tokAfterCondition->str()=="{") {
|
||||||
// already surounded by braces
|
// already surrounded by braces
|
||||||
tokBracesEnd=tokAfterCondition->link();
|
tokBracesEnd=tokAfterCondition->link();
|
||||||
} else {
|
} else {
|
||||||
Token * tokEnd = simplifyAddBracesToCommand(tokAfterCondition);
|
Token * tokEnd = simplifyAddBracesToCommand(tokAfterCondition);
|
||||||
|
|
|
@ -236,7 +236,7 @@ private:
|
||||||
TEST_CASE(varid50); // #3760 - explicit
|
TEST_CASE(varid50); // #3760 - explicit
|
||||||
TEST_CASE(varid51); // don't set varid for template function
|
TEST_CASE(varid51); // don't set varid for template function
|
||||||
TEST_CASE(varid52); // Set varid for nested templates
|
TEST_CASE(varid52); // Set varid for nested templates
|
||||||
TEST_CASE(varid53); // #4172 - Template instanciation: T<&functionName> list[4];
|
TEST_CASE(varid53); // #4172 - Template instantiation: T<&functionName> list[4];
|
||||||
TEST_CASE(varid_cpp_keywords_in_c_code);
|
TEST_CASE(varid_cpp_keywords_in_c_code);
|
||||||
TEST_CASE(varidFunctionCall1);
|
TEST_CASE(varidFunctionCall1);
|
||||||
TEST_CASE(varidFunctionCall2);
|
TEST_CASE(varidFunctionCall2);
|
||||||
|
@ -3630,7 +3630,7 @@ private:
|
||||||
tokenizeDebugListing(code, false, "test.cpp"));
|
tokenizeDebugListing(code, false, "test.cpp"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void varid53() { // #4172 - Template instanciation: T<&functionName> list[4];
|
void varid53() { // #4172 - Template instantiation: T<&functionName> list[4];
|
||||||
ASSERT_EQUALS("\n\n##file 0\n"
|
ASSERT_EQUALS("\n\n##file 0\n"
|
||||||
"1: A < & f > list@1 [ 4 ] ;\n",
|
"1: A < & f > list@1 [ 4 ] ;\n",
|
||||||
tokenizeDebugListing("A<&f> list[4];", false, "test.cpp"));
|
tokenizeDebugListing("A<&f> list[4];", false, "test.cpp"));
|
||||||
|
|
Loading…
Reference in New Issue