[llvm] a7878d4 - [modules] Fix warning: missing submodule 'LLVM_IR.FunctionProperties' (#181888)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 18 05:09:01 PST 2026


Author: Kai Nacke
Date: 2026-02-18T08:08:56-05:00
New Revision: a7878d4b7f34ffa21b3cd30012317c88c929f209

URL: https://github.com/llvm/llvm-project/commit/a7878d4b7f34ffa21b3cd30012317c88c929f209
DIFF: https://github.com/llvm/llvm-project/commit/a7878d4b7f34ffa21b3cd30012317c88c929f209.diff

LOG: [modules] Fix warning: missing submodule 'LLVM_IR.FunctionProperties' (#181888)

When compiling LLVM with LLVM_ENABLE_MODULES=ON, I get the warning

```
warning: missing submodule 'LLVM_IR.FunctionProperties' [-Wincomplete-umbrella]
```

Fix is to add file `FunctionProperties.def` to the module map.

Added: 
    

Modified: 
    llvm/include/module.modulemap

Removed: 
    


################################################################################
diff  --git a/llvm/include/module.modulemap b/llvm/include/module.modulemap
index 48b4622232ff9..9ce07f43f6e10 100644
--- a/llvm/include/module.modulemap
+++ b/llvm/include/module.modulemap
@@ -276,6 +276,7 @@ module LLVM_IR {
   // These are intended for (repeated) textual inclusion.
   textual header "llvm/IR/ConstrainedOps.def"
   textual header "llvm/IR/DebugInfoFlags.def"
+  textual header "llvm/IR/FunctionProperties.def"
   textual header "llvm/IR/Instruction.def"
   textual header "llvm/IR/Metadata.def"
   textual header "llvm/IR/FixedMetadataKinds.def"


        


More information about the llvm-commits mailing list