4 ms·
But also: http://clang.llvm.org/doxygen/classclang_1_1MultipleIncludeOpt.html#details http://clang.llvm.org/doxygen/classclang_1_1MultipleIncludeO...: "Impleme
by Someone 13y ago
But also: http://clang.llvm.org/doxygen/classclang_1_1MultipleIncludeOpt.html#details http://clang.llvm.org/doxygen/classclang_1_1MultipleIncludeO...:
"Implements the simple state machine that the Lexer class uses to detect files subject to the 'multiple-include' optimization.
The public methods in this class are triggered by various events that occur when a file is lexed, and after the entire file is lexed, information about which macro (if any) controls the header is returned."
Modules improve things, but that doesn't mean one can do nothing to speed up lexing without them.