File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,11 @@ New check aliases
328328 <clang-tidy/checks/bugprone/copy-constructor-mutates-argument>`
329329 keeping initial check as an alias to the new one.
330330
331+ - Renamed :doc: `google-build-namespaces ` to
332+ :doc: `misc-anonymous-namespace-in-header
333+ <clang-tidy/checks/misc/anonymous-namespace-in-header>`
334+ keeping initial check as an alias to the new one.
335+
331336Changes in existing checks
332337^^^^^^^^^^^^^^^^^^^^^^^^^^
333338
Original file line number Diff line number Diff line change 1+ // RUN: clang-tidy %s -checks='-*,google-build-namespaces,google-build-using-namespace' -header-filter='.*' -- | FileCheck %s -implicit-check-not="{{warning|error}}:"
2+ #include " ../misc/Inputs/anon-namespaces.h"
3+ // CHECK: warning: do not use unnamed namespaces in header files [google-build-namespaces]
14using namespace spaaaace ;
25// CHECK: :[[@LINE-1]]:1: warning: do not use namespace using-directives; use using-declarations instead [google-build-using-namespace]
36
You can’t perform that action at this time.
0 commit comments