<div dir="auto">Hi Team,<div dir="auto">                 We are using clang libtooling infrastructure for performing static code analysis on some internal projects. However we have one .c file for which we are not able to perform static code analysis. We are getting the below error </div><div dir="auto">"Fatal Error: sorry,this include generates a translation unit too large for clang to process #include Dem_Deh.h". </div><div dir="auto"><br></div><div dir="auto">Actually that is true the header file is included more than 21,000 times in that c file and also the c file contains more than 500,000 lines of code. This c file is a generated file, not a hand written one.</div><div dir="auto"><br></div><div dir="auto"> I also tried to preprocess the c file using clang -E command and I  saw that  the c file was pre-processesed only partly. </div><div dir="auto"><br></div><div dir="auto">LLVM/Clang version used :11.0.0</div><div dir="auto">Operating systems: Windows 10</div><div dir="auto">I am using visual studio 2019 to build llvm/clang sources.</div><div dir="auto"><br></div><div dir="auto">However these internal projects are built separately using a hightech compiler(tricore-gcc.exe) and with the hightech compiler the compilation of this c file (which has lot of includes )goes through and binaries are built.</div><div dir="auto"><br></div><div dir="auto">So I would like to know if I need to pass some special flag to parse large files or is there any limit to the file size that clang can parse.</div><div dir="auto"><br></div><div dir="auto">Thanks in advance </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div></div>