[LLVM 4.0] test/run-make/llvm-pass/

This commit is contained in:
Robin Kruppe 2016-12-06 17:23:04 +01:00
parent 692d7cfb0c
commit 9a3340a048
2 changed files with 12 additions and 2 deletions

View File

@ -28,7 +28,12 @@ namespace {
bool runOnFunction(Function &F) override;
const char *getPassName() const override {
#if LLVM_VERSION_MAJOR >= 4
StringRef
#else
const char *
#endif
getPassName() const override {
return "Some LLVM pass";
}

View File

@ -27,7 +27,12 @@ namespace {
bool runOnModule(Module &M) override;
const char *getPassName() const override {
#if LLVM_VERSION_MAJOR >= 4
StringRef
#else
const char *
#endif
getPassName() const override {
return "Some LLVM pass";
}