Naysh marked an inline comment as done.
Naysh added inline comments.
Comment at: docs/clang-tidy/checks/abseil-alias-free-headers.rst:13
+The style guide http://google.github.io/styleguide/cppguide.html#Aliases
discusses this
+issue in more detail
aaron.ballman
aaron.ballman added inline comments.
Comment at: docs/clang-tidy/checks/abseil-alias-free-headers.rst:13
+The style guide http://google.github.io/styleguide/cppguide.html#Aliases
discusses this
+issue in more detail
Eugene.Zelenko wrote:
> Naysh wrote:
> > Euge
Eugene.Zelenko added inline comments.
Comment at: docs/clang-tidy/checks/abseil-alias-free-headers.rst:13
+The style guide http://google.github.io/styleguide/cppguide.html#Aliases
discusses this
+issue in more detail
Naysh wrote:
> Eugene.Zelenko wrote:
> > Mis
Naysh added inline comments.
Comment at: docs/clang-tidy/checks/abseil-alias-free-headers.rst:13
+The style guide http://google.github.io/styleguide/cppguide.html#Aliases
discusses this
+issue in more detail
Eugene.Zelenko wrote:
> Missing link to guidelines,
@
aaron.ballman added a comment.
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).
Eugene.Zelenko added inline comments.
Comment at: docs/clang-tidy/checks/abseil-alias-free-headers.rst:13
+The style guide http://google.github.io/styleguide/cppguide.html#Aliases
discusses this
+issue in more detail
Missing link to guidelines,
Repository:
Eugene.Zelenko added inline comments.
Comment at: docs/ReleaseNotes.rst:73
+
+ Flags using declarations in header files, and suggests that
+ these aliases be removed
Please highlight using with ``.
Comment at: docs/clang-tidy/checks/abseil-al
lebedev.ri added inline comments.
Comment at: clang-tidy/abseil/AliasFreeHeadersCheck.cpp:22
+ // Match all using declarations in header files.
+
Finder->addMatcher(usingDecl(isExpansionInFileMatching(".*\\.h.*")).bind("x"),
+this);
Relevant:
```
$ clang-t
steveire added a comment.
Would it make sense to make this a generic non-abseil check?
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55410/new/
https://reviews.llvm.org/D55410
___
cfe-commits mailing li
JonasToth added a comment.
Please upload with full context.
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55410/new/
https://reviews.llvm.org/D55410
___
cfe-commits mailing list
cfe-commits@lists.llvm.o
Naysh created this revision.
Naysh added reviewers: EricWF, JonasToth.
Herald added subscribers: cfe-commits, xazax.hun, mgorny.
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
11 matches
Mail list logo