[clang-tools-extra] r261868 - [clang-tidy] update links to Google Code Style in docs
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 25 06:31:11 PST 2016
Author: hokein
Date: Thu Feb 25 08:31:10 2016
New Revision: 261868
URL: http://llvm.org/viewvc/llvm-project?rev=261868&view=rev
Log:
[clang-tidy] update links to Google Code Style in docs
Summary: Because of the recent Google Code shutdown links to the Google Code Style up there are no longer relevant.
Reviewers: alexfh, hokein
Subscribers: cfe-commits
Patch by Kirill Bobyrev!
Differential Revision: http://reviews.llvm.org/D17602
Modified:
clang-tools-extra/trunk/clang-tidy/google/AvoidCStyleCastsCheck.h
clang-tools-extra/trunk/clang-tidy/google/ExplicitConstructorCheck.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
clang-tools-extra/trunk/clang-tidy/readability/NamedParameterCheck.h
clang-tools-extra/trunk/clang-tidy/readability/NamespaceCommentCheck.h
clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-namespaces.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-using-namespace.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/google-explicit-constructor.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-casting.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-namespace-comments.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/google-runtime-operator.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/llvm-namespace-comment.rst
clang-tools-extra/trunk/docs/clang-tidy/checks/readability-named-parameter.rst
Modified: clang-tools-extra/trunk/clang-tidy/google/AvoidCStyleCastsCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/google/AvoidCStyleCastsCheck.h?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/AvoidCStyleCastsCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/AvoidCStyleCastsCheck.h Thu Feb 25 08:31:10 2016
@@ -19,7 +19,7 @@ namespace readability {
/// Finds usages of C-style casts.
///
-/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Casting#Casting
+/// https://google.github.io/styleguide/cppguide.html#Casting
///
/// Corresponding cpplint.py check name: 'readability/casting'.
///
Modified: clang-tools-extra/trunk/clang-tidy/google/ExplicitConstructorCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/google/ExplicitConstructorCheck.h?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/ExplicitConstructorCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/ExplicitConstructorCheck.h Thu Feb 25 08:31:10 2016
@@ -18,7 +18,7 @@ namespace google {
/// Checks that all single-argument constructors are explicit.
///
-/// See http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Explicit_Constructors
+/// See https://google.github.io/styleguide/cppguide.html#Explicit_Constructors
class ExplicitConstructorCheck : public ClangTidyCheck {
public:
ExplicitConstructorCheck(StringRef Name, ClangTidyContext *Context)
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=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/OverloadedUnaryAndCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/OverloadedUnaryAndCheck.h Thu Feb 25 08:31:10 2016
@@ -19,7 +19,7 @@ namespace runtime {
/// Finds overloads of unary `operator &`.
///
-/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Operator_Overloading#Operator_Overloading
+/// https://google.github.io/styleguide/cppguide.html#Operator_Overloading
///
/// Corresponding cpplint.py check name: 'runtime/operator'.
class OverloadedUnaryAndCheck : public ClangTidyCheck {
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=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h Thu Feb 25 08:31:10 2016
@@ -27,7 +27,7 @@ namespace build {
/// For extension-less header files, using an empty string or leaving an
/// empty string between "," if there are other filename extensions.
///
-/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Namespaces#Namespaces
+/// https://google.github.io/styleguide/cppguide.html#Namespaces
///
/// Corresponding cpplint.py check name: 'build/namespaces'.
class UnnamedNamespaceInHeaderCheck : public ClangTidyCheck {
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=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/google/UsingNamespaceDirectiveCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/google/UsingNamespaceDirectiveCheck.h Thu Feb 25 08:31:10 2016
@@ -19,7 +19,7 @@ namespace build {
/// Finds using namespace directives.
///
-/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Namespaces#Namespaces
+/// https://google.github.io/styleguide/cppguide.html#Namespaces
///
/// The check implements the following rule of the Google C++ Style Guide:
///
Modified: clang-tools-extra/trunk/clang-tidy/readability/NamedParameterCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/readability/NamedParameterCheck.h?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/readability/NamedParameterCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/readability/NamedParameterCheck.h Thu Feb 25 08:31:10 2016
@@ -21,7 +21,7 @@ namespace readability {
/// The check implements the following rule originating in the Google C++ Style
/// Guide:
///
-/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Declarations_and_Definitions#Function_Declarations_and_Definitions
+/// https://google.github.io/styleguide/cppguide.html#Function_Declarations_and_Definitions
///
/// All parameters should be named, with identical names in the declaration and
/// implementation.
Modified: clang-tools-extra/trunk/clang-tidy/readability/NamespaceCommentCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/readability/NamespaceCommentCheck.h?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/readability/NamespaceCommentCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/readability/NamespaceCommentCheck.h Thu Feb 25 08:31:10 2016
@@ -21,7 +21,7 @@ namespace readability {
///
/// http://llvm.org/docs/CodingStandards.html#namespace-indentation
///
-/// http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Namespaces
+/// https://google.github.io/styleguide/cppguide.html#Namespaces
class NamespaceCommentCheck : public ClangTidyCheck {
public:
NamespaceCommentCheck(StringRef Name, ClangTidyContext *Context);
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-namespaces.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-namespaces.rst?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-namespaces.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-namespaces.rst Thu Feb 25 08:31:10 2016
@@ -7,6 +7,6 @@ google-build-namespaces
Finds anonymous namespaces in headers.
-http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Namespaces#Namespaces
+https://google.github.io/styleguide/cppguide.html#Namespaces
Corresponding cpplint.py check name: 'build/namespaces'.
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-using-namespace.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-using-namespace.rst?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-using-namespace.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/google-build-using-namespace.rst Thu Feb 25 08:31:10 2016
@@ -6,7 +6,7 @@ google-build-using-namespace
Finds using namespace directives.
-http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Namespaces#Namespaces
+https://google.github.io/styleguide/cppguide.html#Namespaces
The check implements the following rule of the Google C++ Style Guide:
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/google-explicit-constructor.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/google-explicit-constructor.rst?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/google-explicit-constructor.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/google-explicit-constructor.rst Thu Feb 25 08:31:10 2016
@@ -6,4 +6,4 @@ google-explicit-constructor
Checks that all single-argument constructors are explicit.
-See http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Explicit_Constructors
+See https://google.github.io/styleguide/cppguide.html#Explicit_Constructors
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-casting.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-casting.rst?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-casting.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-casting.rst Thu Feb 25 08:31:10 2016
@@ -6,7 +6,7 @@ google-readability-casting
Finds usages of C-style casts.
-http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Casting#Casting
+https://google.github.io/styleguide/cppguide.html#Casting
Corresponding cpplint.py check name: 'readability/casting'.
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-namespace-comments.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-namespace-comments.rst?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-namespace-comments.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/google-readability-namespace-comments.rst Thu Feb 25 08:31:10 2016
@@ -8,4 +8,4 @@ Checks that long namespaces have a closi
http://llvm.org/docs/CodingStandards.html#namespace-indentation
-http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Namespaces
+https://google.github.io/styleguide/cppguide.html#Namespaces
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/google-runtime-operator.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/google-runtime-operator.rst?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/google-runtime-operator.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/google-runtime-operator.rst Thu Feb 25 08:31:10 2016
@@ -6,6 +6,6 @@ google-runtime-operator
Finds overloads of unary ``operator &``.
-http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Operator_Overloading#Operator_Overloading
+https://google.github.io/styleguide/cppguide.html#Operator_Overloading
Corresponding cpplint.py check name: 'runtime/operator'.
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/llvm-namespace-comment.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/llvm-namespace-comment.rst?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/llvm-namespace-comment.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/llvm-namespace-comment.rst Thu Feb 25 08:31:10 2016
@@ -8,4 +8,4 @@ Checks that long namespaces have a closi
http://llvm.org/docs/CodingStandards.html#namespace-indentation
-http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Namespaces
+https://google.github.io/styleguide/cppguide.html#Namespaces
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/readability-named-parameter.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/readability-named-parameter.rst?rev=261868&r1=261867&r2=261868&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/readability-named-parameter.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/readability-named-parameter.rst Thu Feb 25 08:31:10 2016
@@ -9,7 +9,7 @@ Find functions with unnamed arguments.
The check implements the following rule originating in the Google C++ Style
Guide:
-http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Function_Declarations_and_Definitions#Function_Declarations_and_Definitions
+https://google.github.io/styleguide/cppguide.html#Function_Declarations_and_Definitions
All parameters should be named, with identical names in the declaration and
implementation.
More information about the cfe-commits
mailing list