[clang-tidy] Provide links to the google style guide for checks derived from it.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 17 Jul 2014 08:23:24 +0000 (08:23 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 17 Jul 2014 08:23:24 +0000 (08:23 +0000)
llvm-svn: 213233

clang-tools-extra/clang-tidy/google/NamedParameterCheck.h
clang-tools-extra/clang-tidy/google/OverloadedUnaryAndCheck.h
clang-tools-extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h
clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h

index 4e37b4b..2037ce9 100644 (file)
@@ -18,6 +18,7 @@ namespace readability {
 
 /// \brief Find functions with unnamed arguments.
 ///
+/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Declarations_and_Definitions#Function_Declarations_and_Definitions
 /// Corresponding cpplint.py check name: 'readability/function'.
 class NamedParameterCheck : public ClangTidyCheck {
 public:
index c3fbb1d..1adb4d8 100644 (file)
@@ -18,6 +18,7 @@ namespace runtime {
 
 /// \brief Finds overloads of unary operator &.
 ///
+/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Operator_Overloading#Operator_Overloading
 /// Corresponding cpplint.py check name: 'runtime/operator'.
 class OverloadedUnaryAndCheck : public ClangTidyCheck {
 public:
index 4034623..14d6dcb 100644 (file)
@@ -18,6 +18,7 @@ namespace build {
 
 /// \brief Finds anonymous namespaces in headers.
 ///
+/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Namespaces#Namespaces
 /// Corresponding cpplint.py check name: 'build/namespaces'.
 class UnnamedNamespaceInHeaderCheck : public ClangTidyCheck {
 public:
index 3410666..940abb6 100644 (file)
@@ -18,6 +18,7 @@ namespace build {
 
 /// \brief Finds using namespace directives.
 ///
+/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Namespaces#Namespaces
 /// Corresponding cpplint.py check name: 'build/namespaces'.
 class UsingNamespaceDirectiveCheck : public ClangTidyCheck {
 public: