Home
last modified time | relevance | path

Searched refs:const_index (Results 1 – 25 of 709) sorted by relevance

12345678910>>...29

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
H A Dcppcoreguidelines-pro-bounds-constant-array-index.cpp22 constexpr int const_index(int base) { in const_index() function
40 a[const_index(7)] = 3; in f()
46 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
60 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
65 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) { in const_index() function
44 a[const_index(7)] = 3; in f()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
69 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp24 constexpr int const_index(int base) {
44 a[const_index(7)] = 3; in g2()
50 a[const_index(6)] = 3; // OK, constant index and inside bounds
64 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds
69 a[const_index(6)] = 3; // OK, constant index and inside bounds
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp23 constexpr int const_index(int base) { in const_index() function
43 a[const_index(7)] = 3; in f()
49 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
63 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
68 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dcppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp23 constexpr int const_index(int base) { in const_index() function
43 a[const_index(7)] = 3; in f()
49 a[const_index(6)] = 3; // OK, constant index and inside bounds in f()
63 a[const_index(7)] = 3; // flagged by clang-diagnostic-array-bounds in g()
68 a[const_index(6)] = 3; // OK, constant index and inside bounds in g()

12345678910>>...29