3 Commits

Author SHA1 Message Date
Jie Fu
74197925dc [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)
                   ^
2024-06-29 21:42:26 +08:00
Jie Fu
407afbf1bc [clang][examples] Remove unused variable 'key' in LLVMPrintFunctionNames.cpp (NFC)
/llvm-project/clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp:33:28: error: unused variable 'key' [-Werror,-Wunused-variable]
  static llvm::AnalysisKey key;
                           ^
1 error generated.
2023-11-07 13:09:20 +08:00
William Moses
3c11ac5118
[Clang] Add codegen option to add passbuilder callback functions (#70171) 2023-11-06 22:26:38 -06:00