mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix modules build after introduction of PassSupport.h include check
D78815 added a check that ensures that PassSupport.h and PassAnalysisSupport.h aren't included directly. However, as compiling this header into a module will try to parse it with a clean preprocessor state, this check is also triggered there. The check seems to make sense and it seems that compiling this header into its own module is a mistake, so this patch makes those two headers textual in the modulemap.
This commit is contained in:
parent
e2ba225180
commit
079aaa6492
@ -212,8 +212,8 @@ module LLVM_Pass {
|
|||||||
// PassSupport.h and PassAnalysisSupport.h are made available only through
|
// PassSupport.h and PassAnalysisSupport.h are made available only through
|
||||||
// Pass.h.
|
// Pass.h.
|
||||||
header "Pass.h"
|
header "Pass.h"
|
||||||
header "PassSupport.h"
|
textual header "PassSupport.h"
|
||||||
header "PassAnalysisSupport.h"
|
textual header "PassAnalysisSupport.h"
|
||||||
export *
|
export *
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user