This patch adds an "Alias Free Headers" check, based off the guidelines at http://google.github.io/styleguide/cppguide.html#Aliases, to the abseil module.
The purpose of the check is to eliminate using declarations from header files.
Differential D55410
[clang-tidy] check for flagging using declarations in headers Naysh on Dec 6 2018, 9:34 PM. Authored by
Details
This patch adds an "Alias Free Headers" check, based off the guidelines at http://google.github.io/styleguide/cppguide.html#Aliases, to the abseil module. The purpose of the check is to eliminate using declarations from header files.
Diff Detail Event Timeline
Comment Actions Have you run this check over any large code bases to see what its false positive rate looks like? I have to imagine we're going to need some escape hatch for system headers (we shouldn't complain about using declarations outside of the user's control).
|
Hm