Skip to content

Commit

Permalink
[TargetParser] Add missing include to modulemap (#122768)
Browse files Browse the repository at this point in the history
Resolves warning when building with `LLVM_ENABLE_MODULES`

```
AArch64TargetParser.h:39:2: warning: missing submodule 'LLVM_Utils.TargetParser.AArch64FeatPriorities' [-Wincomplete-umbrella]
   39 | #include "llvm/TargetParser/AArch64FeatPriorities.inc"
      |  ^       ~~~~~~~
```
  • Loading branch information
cyndyishida authored Jan 14, 2025
1 parent 1594413 commit dcc141b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/include/module.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ extern module LLVM_Extern_Utils_DataTypes "module.extern.modulemap"
module TargetParserGen {
module AArch64TargetParserDef {
textual header "llvm/TargetParser/AArch64CPUFeatures.inc"
textual header "llvm/TargetParser/AArch64FeatPriorities.inc"
header "llvm/TargetParser/AArch64TargetParser.h"
extern module LLVM_Extern_TargetParser_Gen "module.extern.modulemap"
export *
Expand Down

0 comments on commit dcc141b

Please sign in to comment.