We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7537f95 + 9a3340a commit 97bfeadCopy full SHA for 97bfead
src/test/run-make/llvm-pass/llvm-function-pass.so.cc
@@ -28,7 +28,12 @@ namespace {
28
29
bool runOnFunction(Function &F) override;
30
31
- const char *getPassName() const override {
+#if LLVM_VERSION_MAJOR >= 4
32
+ StringRef
33
+#else
34
+ const char *
35
+#endif
36
+ getPassName() const override {
37
return "Some LLVM pass";
38
}
39
src/test/run-make/llvm-pass/llvm-module-pass.so.cc
@@ -27,7 +27,12 @@ namespace {
27
bool runOnModule(Module &M) override;
0 commit comments