Skip to content

Commit e0bbbf5

Browse files
Merge from 'master' to 'sycl-web' (#5)
CONFLICT (content): Merge conflict in clang/test/Misc/nvptx.languageOptsOpenCL.cl
2 parents 5ab867b + a779a16 commit e0bbbf5

File tree

525 files changed

+97768
-5587
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

525 files changed

+97768
-5587
lines changed

clang-tools-extra/clang-tidy/google/AvoidCStyleCastsCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ namespace readability {
2525
/// This check is similar to `-Wold-style-cast`, but it suggests automated fixes
2626
/// in some cases. The reported locations should not be different from the
2727
/// ones generated by `-Wold-style-cast`.
28+
///
29+
/// For the user-facing documentation see:
30+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-readability-casting.html
2831
class AvoidCStyleCastsCheck : public ClangTidyCheck {
2932
public:
3033
AvoidCStyleCastsCheck(StringRef Name, ClangTidyContext *Context)

clang-tools-extra/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ namespace readability {
1818

1919
// Check for underscores in the names of googletest tests, per
2020
// https://github.com/google/googletest/blob/master/googletest/docs/faq.md#why-should-test-suite-names-and-test-names-not-contain-underscore
21+
///
22+
/// For the user-facing documentation see:
23+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-readability-avoid-underscore-in-googletest-name.html
2124
class AvoidUnderscoreInGoogletestNameCheck : public ClangTidyCheck {
2225
public:
2326
using ClangTidyCheck::ClangTidyCheck;

clang-tools-extra/clang-tidy/google/DefaultArgumentsCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ namespace google {
1818
/// Checks that default parameters are not given for virtual methods.
1919
///
2020
/// See https://google.github.io/styleguide/cppguide.html#Default_Arguments
21+
///
22+
/// For the user-facing documentation see:
23+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-default-arguments.html
2124
class DefaultArgumentsCheck : public ClangTidyCheck {
2225
public:
2326
DefaultArgumentsCheck(StringRef Name, ClangTidyContext *Context)

clang-tools-extra/clang-tidy/google/ExplicitConstructorCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ namespace google {
1818
/// Checks that all single-argument constructors are explicit.
1919
///
2020
/// See https://google.github.io/styleguide/cppguide.html#Explicit_Constructors
21+
///
22+
/// For the user-facing documentation see:
23+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-explicit-constructor.html
2124
class ExplicitConstructorCheck : public ClangTidyCheck {
2225
public:
2326
ExplicitConstructorCheck(StringRef Name, ClangTidyContext *Context)

clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ namespace build {
2222
/// specified explicitly, and such use isn't intended in any case.
2323
///
2424
/// Corresponding cpplint.py check name: 'build/explicit_make_pair'.
25+
///
26+
/// For the user-facing documentation see:
27+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-build-explicit-make-pair.html
2528
class ExplicitMakePairCheck : public ClangTidyCheck {
2629
public:
2730
ExplicitMakePairCheck(StringRef Name, ClangTidyContext *Context)

clang-tools-extra/clang-tidy/google/GlobalNamesInHeadersCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ namespace readability {
2727
///
2828
/// For extension-less header files, using an empty string or leaving an
2929
/// empty string between ";" if there are other filename extensions.
30+
///
31+
/// For the user-facing documentation see:
32+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-global-names-in-headers.html
3033
class GlobalNamesInHeadersCheck : public ClangTidyCheck {
3134
public:
3235
GlobalNamesInHeadersCheck(StringRef Name, ClangTidyContext *Context);

clang-tools-extra/clang-tidy/google/IntegerTypesCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ namespace runtime {
2525
/// with `u?intXX(_t)?`.
2626
///
2727
/// Corresponding cpplint.py check: 'runtime/int'.
28+
///
29+
/// For the user-facing documentation see:
30+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-runtime-int.html
2831
class IntegerTypesCheck : public ClangTidyCheck {
2932
public:
3033
IntegerTypesCheck(StringRef Name, ClangTidyContext *Context);

clang-tools-extra/clang-tidy/google/OverloadedUnaryAndCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ namespace runtime {
2121
/// https://google.github.io/styleguide/cppguide.html#Operator_Overloading
2222
///
2323
/// Corresponding cpplint.py check name: 'runtime/operator'.
24+
///
25+
/// For the user-facing documentation see:
26+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-runtime-operator.html
2427
class OverloadedUnaryAndCheck : public ClangTidyCheck {
2528
public:
2629
OverloadedUnaryAndCheck(StringRef Name, ClangTidyContext *Context)

clang-tools-extra/clang-tidy/google/TodoCommentCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ namespace readability {
1919
/// Finds TODO comments without a username or bug number.
2020
///
2121
/// Corresponding cpplint.py check: 'readability/todo'
22+
///
23+
/// For the user-facing documentation see:
24+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-readability-todo.html
2225
class TodoCommentCheck : public ClangTidyCheck {
2326
public:
2427
TodoCommentCheck(StringRef Name, ClangTidyContext *Context);

clang-tools-extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ namespace build {
3030
/// https://google.github.io/styleguide/cppguide.html#Namespaces
3131
///
3232
/// Corresponding cpplint.py check name: 'build/namespaces'.
33+
///
34+
/// For the user-facing documentation see:
35+
/// http://clang.llvm.org/extra/clang-tidy/checks/google-build-namespaces.html
3336
class UnnamedNamespaceInHeaderCheck : public ClangTidyCheck {
3437
public:
3538
UnnamedNamespaceInHeaderCheck(StringRef Name, ClangTidyContext *Context);

0 commit comments

Comments
 (0)