| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | warn-type-safety-mpi-hdf5.c | 32 __attribute__(( pointer_with_type_tag(mpi,1,3) )); 36 __attribute__(( pointer_with_type_tag(mpi,1,3), pointer_with_type_tag(mpi,4,6) )); 195 MPI_Datatype my_int_datatype __attribute__(( type_tag_for_datatype(mpi,int) )); 198 MPI_Datatype my_s1_datatype __attribute__(( type_tag_for_datatype(mpi,struct S1) )); 202 MPI_Datatype my_s2_datatype __attribute__(( type_tag_for_datatype(mpi,struct S2) )); 205 MPI_Datatype my_e1_datatype __attribute__(( type_tag_for_datatype(mpi,enum E1) )); 240 __attribute__(( type_tag_for_datatype(mpi, struct S1_compat, layout_compatible) )); 245 __attribute__(( type_tag_for_datatype(mpi, struct S3_compat, layout_compatible) )); 250 __attribute__(( type_tag_for_datatype(mpi, struct S4_compat, layout_compatible) )); 255 __attribute__(( type_tag_for_datatype(mpi, union U1_compat, layout_compatible) )); [all …]
|
| H A D | warn-type-safety.c | 13 …__attribute__(( pointer_with_type_tag(mpi,0,7) )); // expected-error {{attribute parameter 2 is ou… 16 …__attribute__(( pointer_with_type_tag(mpi,3,7) )); // expected-error {{attribute parameter 2 is ou… 19 …__attribute__(( pointer_with_type_tag(mpi,1,0) )); // expected-error {{attribute parameter 3 is ou… 22 …__attribute__(( pointer_with_type_tag(mpi,1,3) )); // expected-error {{attribute parameter 3 is ou… 30 …__attribute__(( pointer_with_type_tag(mpi,x,2) )); // expected-error {{attribute requires paramete… 33 …__attribute__(( pointer_with_type_tag(mpi,1,x) )); // expected-error {{attribute requires paramete… 41 __attribute__(( pointer_with_type_tag(mpi,1,2) )); 49 __attribute__(( type_tag_for_datatype(mpi,1,2) )); // expected-error {{expected a type}} 52 …__attribute__(( type_tag_for_datatype(mpi,not_a_type) )); // expected-error {{unknown type name 'n… 55 __attribute__(( type_tag_for_datatype(mpi,int,int) )); // expected-error {{expected identifier}} [all …]
|
| H A D | attr-type-safety.c | 9 extern struct A datatype_wrong2 [[clang::type_tag_for_datatype(mpi,1,2)]]; // expected-error {{expe… 11 extern struct A datatype_wrong3 [[clang::type_tag_for_datatype(mpi,not_a_type)]]; // expected-error… 13 extern struct A datatype_wrong4 [[clang::type_tag_for_datatype(mpi,int,int)]]; // expected-error {{… 15 extern struct A datatype_wrong5 [[clang::type_tag_for_datatype(mpi,int,not_a_flag)]]; // expected-e… 17 extern struct A datatype_wrong6 [[clang::type_tag_for_datatype(mpi,int,layout_compatible,not_a_flag… 28 [[clang::pointer_with_type_tag(mpi,0,7)]] // expected-error {{attribute parameter 2 is out of boun… 31 [[clang::pointer_with_type_tag(mpi,3,7)]] // expected-error {{attribute parameter 2 is out of bound… 34 [[clang::pointer_with_type_tag(mpi,1,0)]] // expected-error {{attribute parameter 3 is out of bound… 37 [[clang::pointer_with_type_tag(mpi,1,3)]] // expected-error {{attribute parameter 3 is out of bound… 40 [[clang::pointer_with_type_tag(mpi,0x8000000000000001ULL,1)]] // expected-error {{attribute paramet…
|
| H A D | warn-type-safety.cpp | 11 extern struct ompi_predefined_datatype_t ompi_mpi_float __attribute__(( type_tag_for_datatype(mpi,f… 12 extern struct ompi_predefined_datatype_t ompi_mpi_int __attribute__(( type_tag_for_datatype(mpi,i… 13 extern struct ompi_predefined_datatype_t ompi_mpi_null __attribute__(( type_tag_for_datatype(mpi,v… 25 …__attribute__(( pointer_with_type_tag(mpi,5,6) )); // expected-error {{attribute parameter 2 is ou… 28 …__attribute__(( pointer_with_type_tag(mpi,2,5) )); // expected-error {{attribute parameter 3 is ou… 31 …__attribute__(( pointer_with_type_tag(mpi,1,5) )); // expected-error {{attribute is invalid for th… 34 …__attribute__(( pointer_with_type_tag(mpi,2,1) )); // expected-error {{attribute is invalid for th… 37 __attribute__(( pointer_with_type_tag(mpi,2,4) )); // no-error 43 …__attribute__(( pointer_with_type_tag(mpi,a,5) )); // expected-error {{attribute requires paramete…
|
| H A D | 128bitint.c | 24 void MPI_Send(void *buf, int datatype) __attribute__(( pointer_with_type_tag(mpi,1,2) )); 26 static const int mpi_int __attribute__(( type_tag_for_datatype(mpi,int) )) = 10;
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/ |
| H A D | optin.mpi.MPI-Checker.rst | 1 .. title:: clang-tidy - clang-analyzer-optin.mpi.MPI-Checker 3 …:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#optin-mpi-mpi-checker 5 clang-analyzer-optin.mpi.MPI-Checker 8 The clang-analyzer-optin.mpi.MPI-Checker check is an alias, please see 9 …zer Available Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#optin-mpi-mpi-checker>`_
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
| H A D | MPITypes.h | 25 namespace mpi { 50 clang::ento::mpi::Request> 56 struct ProgramStateTrait<mpi::RequestMap> 57 : public ProgramStatePartialTrait<mpi::RequestMapImpl> {
|
| H A D | MPIBugReporter.cpp | 21 namespace mpi { namespace 24 const CallEvent &MPICallEvent, const ento::mpi::Request &Req, in reportDoubleNonblocking() 50 const ento::mpi::Request &Req, const MemRegion *const RequestRegion, in reportMissingWait()
|
| H A D | MPIChecker.cpp | 23 namespace mpi { namespace 190 MGR.registerChecker<clang::ento::mpi::MPIChecker>(); in registerMPIChecker()
|
| H A D | MPIChecker.h | 28 namespace mpi {
|
| H A D | MPIBugReporter.h | 23 namespace mpi {
|
| H A D | MPIFunctionClassifier.cpp | 19 namespace mpi { namespace
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/mpi/ |
| H A D | MPITidyModule.cpp | 17 namespace mpi { namespace 30 static ClangTidyModuleRegistry::Add<mpi::MPIModule>
|
| H A D | BufferDerefCheck.h | 17 namespace mpi { 47 Optional<ento::mpi::MPIFunctionClassifier> FuncClassifier;
|
| H A D | TypeMismatchCheck.h | 18 namespace mpi { 48 Optional<ento::mpi::MPIFunctionClassifier> FuncClassifier;
|
| H A D | BufferDerefCheck.cpp | 18 namespace mpi { namespace
|
| H A D | TypeMismatchCheck.cpp | 19 namespace mpi { namespace
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/mpi/ |
| H A D | type-mismatch.rst | 1 .. title:: clang-tidy - mpi-type-mismatch 3 mpi-type-mismatch
|
| H A D | buffer-deref.rst | 1 .. title:: clang-tidy - mpi-buffer-deref 3 mpi-buffer-deref
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/mpi/ |
| H A D | BUILD.gn | 1 static_library("mpi") {
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | MPIFunctionClassifier.h | 21 namespace mpi {
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | CMakeLists.txt | 71 add_subdirectory(mpi)
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/ |
| H A D | BUILD.gn | 93 deps += [ "//clang-tools-extra/clang-tidy/mpi" ]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/ |
| H A D | list.rst | 28 mpi/* 291 `mpi-buffer-deref <mpi/buffer-deref.html>`_, "Yes" 292 `mpi-type-mismatch <mpi/type-mismatch.html>`_, "Yes" 412 …mpi.MPI-Checker <clang-analyzer/optin.mpi.MPI-Checker.html>`_, `Clang Static Analyzer optin.mpi.MP…
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.cpp | 815 MemberPointerInfo mpi = pointer.getMemberInfo(); in CreatePointerType() local 816 clang::QualType class_type = GetOrCreateType(mpi.ContainingType); in CreatePointerType() 821 switch (mpi.Representation) { in CreatePointerType()
|