Description[gcc] Fix build failure caused by error: multi-line comment [-Werror=comment] in focus_traversal_unittest.cc
gcc toolchain throws a warning for using a trailing '\' in a comment which begins with '//'.
clang toolchain doesn't throw any warning for this hence its not captured by our bots.
Compiler option -Wno-comment appended after -Wall fixes the above issue but results in having inconsistent
comments.
The code snippet at [1] cleverly avoids these warnings as shown.
[1] https://code.google.com/p/chromium/codesearch#chromium/src/extensions/browser/content_hash_tree.h&l=23
R=mgiuca@chromium.org
TBR=sky@chromium.org
Committed: https://crrev.com/74335ef1219dd2178a5e754e4c4d2ea160eae3c9
Cr-Commit-Position: refs/heads/master@{#314745}
Patch Set 1 #
Messages
Total messages: 14 (6 generated)
|