[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)
                   ^
This commit is contained in:
Jie Fu 2024-06-29 21:42:26 +08:00
parent 74deadf196
commit 74197925dc

View File

@ -18,6 +18,7 @@
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendPluginRegistry.h"
#include "clang/Sema/Sema.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Passes/OptimizationLevel.h"
#include "llvm/Passes/PassBuilder.h"