Skip to content

Commit f07af12

Browse files
committed
Refactoring: modernize g_inputFiles and the parameters of readFileOrDirectory
1 parent 6ca67aa commit f07af12

File tree

4 files changed

+147
-113
lines changed

4 files changed

+147
-113
lines changed

src/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ add_library(_doxygen STATIC
283283
xmlgen.cpp
284284
)
285285

286+
# LLVM/clang headers give a lot of warnings with -Wshadow and -Wcast-align so we disable them for
287+
# the one file that includes them
288+
set_source_files_properties(clangparser.cpp PROPERTIES COMPILE_FLAGS "-Wno-shadow -Wno-cast-align")
289+
286290
##foreach(lex_file ${LEX_FILES})
287291
##add_library(_doxygen STATIC ${GENERATED_SRC}/${lex_file}.l.h)
288292
##endforeach()

0 commit comments

Comments
 (0)