Typos found by running "codespell" (#2542)
This commit is contained in:
parent
f6da17eda5
commit
75b1ade316
|
@ -796,7 +796,7 @@ def isTernaryOperator(token):
|
|||
|
||||
|
||||
def getTernaryOperandsRecursive(token):
|
||||
"""Returns list of ternary operands including nested onces."""
|
||||
"""Returns list of ternary operands including nested ones."""
|
||||
if not isTernaryOperator(token):
|
||||
return []
|
||||
result = []
|
||||
|
|
|
@ -706,7 +706,7 @@
|
|||
<item>
|
||||
<widget class="QLabel" name="label_addons_require_python">
|
||||
<property name="text">
|
||||
<string>Note: Addons require <a href="https://www.python.org/">Python</a> beeing installed.</string>
|
||||
<string>Note: Addons require <a href="https://www.python.org/">Python</a> being installed.</string>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
|
|
|
@ -223,7 +223,7 @@ struct ForwardTraversal {
|
|||
if (stepTok && updateRecursive(stepTok) == Progress::Break)
|
||||
return Progress::Break;
|
||||
}
|
||||
// TODO: Shoule we traverse the body?
|
||||
// TODO: Should we traverse the body?
|
||||
// updateRange(endBlock->link(), endBlock);
|
||||
return Progress::Continue;
|
||||
}
|
||||
|
@ -250,7 +250,7 @@ struct ForwardTraversal {
|
|||
tok = skipTo(tok, scope->bodyEnd, end);
|
||||
if (!analyzer->lowerToPossible())
|
||||
return Progress::Break;
|
||||
// TODO: Dont break, instead move to the outer scope
|
||||
// TODO: Don't break, instead move to the outer scope
|
||||
if (!tok)
|
||||
return Progress::Break;
|
||||
} else if (Token::Match(tok, "%name% :") || Token::simpleMatch(tok, "case")) {
|
||||
|
|
|
@ -108,7 +108,7 @@ struct ForwardAnalyzer {
|
|||
virtual bool updateScope(const Token* endBlock, bool modified) const = 0;
|
||||
/// If the value is conditional
|
||||
virtual bool isConditional() const = 0;
|
||||
/// The condtion that wil be assumes during analysis
|
||||
/// The condition that will be assumed during analysis
|
||||
virtual void assume(const Token* tok, bool state) = 0;
|
||||
virtual ~ForwardAnalyzer() {}
|
||||
};
|
||||
|
|
|
@ -2366,7 +2366,7 @@ struct SingleValueFlowForwardAnalyzer : ValueFlowForwardAnalyzer {
|
|||
value.infoString());
|
||||
value.errorPath.emplace_back(tok, info);
|
||||
} else {
|
||||
// TODO: Dont set to zero
|
||||
// TODO: Don't set to zero
|
||||
value.intvalue = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue