Skip to content

Commit 7419792

Browse files
committed
[clang][examples] Fix build failure (NFC)
/llvm-project/clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp:36:20: error: cannot use incomplete type 'llvm::Module' as a range for (auto &F : M) ^
1 parent 74deadf commit 7419792

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "clang/Frontend/CompilerInstance.h"
1919
#include "clang/Frontend/FrontendPluginRegistry.h"
2020
#include "clang/Sema/Sema.h"
21+
#include "llvm/IR/Module.h"
2122
#include "llvm/IR/PassManager.h"
2223
#include "llvm/Passes/OptimizationLevel.h"
2324
#include "llvm/Passes/PassBuilder.h"

0 commit comments

Comments
 (0)