Chromium Code Reviews
DescriptionGet more consistent decisions if a statement is constant in templates
The tool was saying some template-dependent values were both const
and not const because when the template parameters meet some criteria
it collapses them out of the AST. If we always check the entire
subtree of expressions to verify they are evaluatable we get more
consistent results.
Also don't try to turn this_type_of_name into kThisTypeOfName, as
the author explicitly wrote it that way and we end up with the ever
fun kThis_type_of_name instead.
R=dcheng@chromium.org
BUG=677285
Review-Url: https://codereview.chromium.org/2616213003
Cr-Commit-Position: refs/heads/master@{#442262}
Committed: https://chromium.googlesource.com/chromium/src/+/b9a1485ee7f50c3980f8055d8f64ea4d30220720
Patch Set 1 #
Total comments: 7
Patch Set 2 : consistant-consts #
Messages
Total messages: 20 (11 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||