[PATCH] D33841: [clang-tidy] redundant keyword check

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 11 07:26:53 PDT 2017


alexfh added inline comments.


================
Comment at: docs/clang-tidy/checks/readability-redundant-keyword.rst:8
+
+`extern` is redundant in function declarations
+
----------------
xazax.hun wrote:
> alexfh wrote:
> > Could you explain, why you think `extern` is redundant in function declarations?
> Just to be clear here, do you think there is a case where extern is not redundant or you just want the documentation to be extended? 
Sorry for being unclear. I would expect a more in-depth explanation of why the keyword is redundant with references to the appropriate sections of the standard or some other authoritative source.


Repository:
  rL LLVM

https://reviews.llvm.org/D33841





More information about the cfe-commits mailing list