/
githubmirror
/
julia
Обзор
Документация
Войти
/
githubmirror
/
julia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/clangsa/GCChecker.cpp
24 строки
714 B
Keno Fischer
clangsa: Refactor for increased precision (#61960)
02 июн 2026, 05:08
Не верифицирован
02 июн 2026, 05:08
c2779f3
Код
Авторство
О чём код?
// This file is a part of Julia. License is MIT: https://julialang.org/license #include "GCChecker.h" #include "clang/StaticAnalyzer/Frontend/CheckerRegistry.h" namespace clang { namespace ento { void registerGCChecker(CheckerManager &mgr) { mgr.registerChecker<jl_gc_checker::GCChecker>(); } } // namespace ento } // namespace clang #ifdef CLANG_PLUGIN extern "C" const char clang_analyzerAPIVersionString[] = CLANG_ANALYZER_API_VERSION_STRING; extern "C" void clang_registerCheckers(clang::ento::CheckerRegistry ®istry) { registry.addChecker<jl_gc_checker::GCChecker>( "julia.GCChecker", "Validates julia gc invariants", "https://docs.julialang.org/en/v1/devdocs/gc-sa/" ); } #endif