Augmented CHECK_ functionality -- you may now use << to provide
more information. As an example, used it once. R=csilvers DELTA=41 (35 added, 0 deleted, 6 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=3291
This commit is contained in:
parent
a126b698db
commit
8a17c59d5e
|
@ -903,8 +903,13 @@ void IncludePicker::MarkVisibility(
|
|||
|
||||
// insert() leaves any old value alone, and only inserts if the key is new.
|
||||
filepath_visibility_map_.insert(make_pair(quoted_filepath_pattern, vis));
|
||||
CHECK_(filepath_visibility_map_[quoted_filepath_pattern] == vis &&
|
||||
"Same file seen with two different visibilities");
|
||||
CHECK_(filepath_visibility_map_[quoted_filepath_pattern] == vis)
|
||||
<< " Same file seen with two different visibilities: "
|
||||
<< quoted_filepath_pattern
|
||||
<< " Old vis: "
|
||||
<< filepath_visibility_map_[quoted_filepath_pattern]
|
||||
<< " New vis: "
|
||||
<< vis;
|
||||
}
|
||||
|
||||
void IncludePicker::InsertIntoFilepathIncludeMap(
|
||||
|
|
Loading…
Reference in New Issue