[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

llvm-svn: 261868
This commit is contained in:
Haojian Wu 2016-02-25 14:31:10 +00:00
parent 6b00ef338e
commit bd63972cff
15 changed files with 15 additions and 15 deletions

View File

@ -19,7 +19,7 @@ namespace readability {
/// Finds usages of C-style casts. /// 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'. /// Corresponding cpplint.py check name: 'readability/casting'.
/// ///

View File

@ -18,7 +18,7 @@ namespace google {
/// Checks that all single-argument constructors are explicit. /// 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 { class ExplicitConstructorCheck : public ClangTidyCheck {
public: public:
ExplicitConstructorCheck(StringRef Name, ClangTidyContext *Context) ExplicitConstructorCheck(StringRef Name, ClangTidyContext *Context)

View File

@ -19,7 +19,7 @@ namespace runtime {
/// Finds overloads of unary `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'. /// Corresponding cpplint.py check name: 'runtime/operator'.
class OverloadedUnaryAndCheck : public ClangTidyCheck { class OverloadedUnaryAndCheck : public ClangTidyCheck {

View File

@ -27,7 +27,7 @@ namespace build {
/// For extension-less header files, using an empty string or leaving an /// For extension-less header files, using an empty string or leaving an
/// empty string between "," if there are other filename extensions. /// 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'. /// Corresponding cpplint.py check name: 'build/namespaces'.
class UnnamedNamespaceInHeaderCheck : public ClangTidyCheck { class UnnamedNamespaceInHeaderCheck : public ClangTidyCheck {

View File

@ -19,7 +19,7 @@ namespace build {
/// Finds using namespace directives. /// 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: /// The check implements the following rule of the Google C++ Style Guide:
/// ///

View File

@ -21,7 +21,7 @@ namespace readability {
/// The check implements the following rule originating in the Google C++ Style /// The check implements the following rule originating in the Google C++ Style
/// Guide: /// 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 /// All parameters should be named, with identical names in the declaration and
/// implementation. /// implementation.

View File

@ -21,7 +21,7 @@ namespace readability {
/// ///
/// http://llvm.org/docs/CodingStandards.html#namespace-indentation /// 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 { class NamespaceCommentCheck : public ClangTidyCheck {
public: public:
NamespaceCommentCheck(StringRef Name, ClangTidyContext *Context); NamespaceCommentCheck(StringRef Name, ClangTidyContext *Context);

View File

@ -7,6 +7,6 @@ google-build-namespaces
Finds anonymous namespaces in headers. 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'. Corresponding cpplint.py check name: 'build/namespaces'.

View File

@ -6,7 +6,7 @@ google-build-using-namespace
Finds using namespace directives. 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: The check implements the following rule of the Google C++ Style Guide:

View File

@ -6,4 +6,4 @@ google-explicit-constructor
Checks that all single-argument constructors are explicit. 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

View File

@ -6,7 +6,7 @@ google-readability-casting
Finds usages of C-style casts. 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'. Corresponding cpplint.py check name: 'readability/casting'.

View File

@ -8,4 +8,4 @@ Checks that long namespaces have a closing comment.
http://llvm.org/docs/CodingStandards.html#namespace-indentation 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

View File

@ -6,6 +6,6 @@ google-runtime-operator
Finds overloads of unary ``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'. Corresponding cpplint.py check name: 'runtime/operator'.

View File

@ -8,4 +8,4 @@ Checks that long namespaces have a closing comment.
http://llvm.org/docs/CodingStandards.html#namespace-indentation 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

View File

@ -9,7 +9,7 @@ Find functions with unnamed arguments.
The check implements the following rule originating in the Google C++ Style The check implements the following rule originating in the Google C++ Style
Guide: 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 All parameters should be named, with identical names in the declaration and
implementation. implementation.