summaryrefslogtreecommitdiff
path: root/tools/cpplint.py
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2011-07-17 14:27:17 -0700
committer Elliott Hughes <enh@google.com> 2011-07-17 14:27:17 -0700
commit1f359b08f5ad33ae72e4073b86a9257fe1ed11e5 (patch)
tree3f22a152793289174822b023ad279e125a307418 /tools/cpplint.py
parentffe6736397d17457188727510f0a2953f69a383a (diff)
Improve CHECK_<op> logging.
This patch lets us show the lhs and rhs when a relational check fails. (I show both, even though that looks silly in cases like CHECK_EQ(rc, 0) where we'll say "rc=-1, 0=0", because it's helpful in cases like CHECK_LT(i, size()) where we want "i=4, size=2".) I had to add a few operator<<s for enums, and fix a bunch of signed/unsigned mismatches, and put the StringPiece operator<< in the right namespace. Change-Id: I390f38bd97b3f50e12182f36ff027ca067c48d69
Diffstat (limited to 'tools/cpplint.py')
0 files changed, 0 insertions, 0 deletions