[clang-tools-extra] r213233 - [clang-tidy] Provide links to the google style guide for checks derived from it.

Benjamin Kramer benny.kra at googlemail.com
Thu Jul 17 01:23:24 PDT 2014


Author: d0k
Date: Thu Jul 17 03:23:24 2014
New Revision: 213233

URL: http://llvm.org/viewvc/llvm-project?rev=213233&view=rev
Log:
[clang-tidy] Provide links to the google style guide for checks derived from it.

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

Modified: clang-tools-extra/trunk/clang-tidy/google/NamedParameterCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/google/NamedParameterCheck.h?rev=213233&r1=213232&r2=213233&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/NamedParameterCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/NamedParameterCheck.h Thu Jul 17 03:23:24 2014
@@ -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:

Modified: clang-tools-extra/trunk/clang-tidy/google/OverloadedUnaryAndCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/google/OverloadedUnaryAndCheck.h?rev=213233&r1=213232&r2=213233&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/OverloadedUnaryAndCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/OverloadedUnaryAndCheck.h Thu Jul 17 03:23:24 2014
@@ -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:

Modified: clang-tools-extra/trunk/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h?rev=213233&r1=213232&r2=213233&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h Thu Jul 17 03:23:24 2014
@@ -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:

Modified: clang-tools-extra/trunk/clang-tidy/google/UsingNamespaceDirectiveCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/google/UsingNamespaceDirectiveCheck.h?rev=213233&r1=213232&r2=213233&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/UsingNamespaceDirectiveCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/UsingNamespaceDirectiveCheck.h Thu Jul 17 03:23:24 2014
@@ -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:





More information about the cfe-commits mailing list