|
@@ -5815,6 +5815,14 @@ macro _CPP_STYLE(EXCLUDE[], Files...) {
|
|
|
ADD_LINTER_CHECK(cpp_style tools/cpp_style_checker/cpp_style_checker DEPENDS contrib/libs/clang16/tools/clang-format EXCLUDE $EXCLUDE FILES $Files CONFIGS devtools/ya/handlers/style/style_config)
|
|
|
}
|
|
|
|
|
|
+#tag:test
|
|
|
+### @usage STYLE_CPP()
|
|
|
+###
|
|
|
+### Run clang-format test on all cpp sources of current module
|
|
|
+macro STYLE_CPP() {
|
|
|
+ _ADD_LINTER_CHECK(cpp_style tools/cpp_style_checker/cpp_style_checker DEPENDS contrib/libs/clang16/tools/clang-format CONFIGS build/config/tests/cpp_style/config.clang-format)
|
|
|
+}
|
|
|
+
|
|
|
### @usage: CLANG_EMIT_AST_CXX_RUN_TOOL(Tool Args... [SOURCES ...] [OPTS ...] [IN ...] [IN_NOPARSE ...] [TOOL ...] [OUTPUT_INCLUDES ...] [INDUCED_DEPS ...] [IN_DEPS ...] [STDOUT out-file-name] [STDOUT_NOAUTO out-file-name] [CWD cwd])
|
|
|
###
|
|
|
### Emit Clang ASTs from .cpp files listed in SOURCES parameter (CXXFLAGS and LLVM_OPTS are passed in, while CFLAGS and C_FLAGS_PLATFORM are not) and run tool Tool with Args... .
|