
Update the Preprocessor's VisibleModuleSet when typo-correction creates an implicit module import so that we won't accidentally write an invalid SourceLocation into the preamble AST. This would later lead to infinite recursion when loading the preamble AST because we use the value in ImportLocs to prevent visiting a module twice. rdar://problem/24440990 llvm-svn: 260543
5 lines
121 B
C
5 lines
121 B
C
#include "preamble-with-implicit-import-A.h"
|
|
|
|
// Typo is defined in B, which is not imported.
|
|
void useTypeFromB(Typo *);
|