Skip to content
This repository was archived by the owner on Jun 1, 2020. It is now read-only.

fix compilation error: parseIRFile -> ParseIRFile #5

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix compilation error: parseIRFile -> ParseIRFile
  • Loading branch information
patricklam committed Sep 25, 2014
commit 6bb3e2281473f75ab283560e9e2dac38a3483979
2 changes: 1 addition & 1 deletion src_llvm/access_debug_metadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ int main(int argc, char **argv) {

// Parse the input LLVM IR file into a module.
SMDiagnostic Err;
std::unique_ptr<Module> Mod(parseIRFile(argv[1], Err, getGlobalContext()));
std::unique_ptr<Module> Mod(ParseIRFile(argv[1], Err, getGlobalContext()));
if (!Mod) {
Err.print(argv[0], errs());
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src_llvm/analyze_geps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ int main(int argc, char **argv) {

// Parse the input LLVM IR file into a module.
SMDiagnostic Err;
std::unique_ptr<Module> Mod(parseIRFile(argv[1], Err, getGlobalContext()));
std::unique_ptr<Module> Mod(ParseIRFile(argv[1], Err, getGlobalContext()));
if (!Mod) {
Err.print(argv[0], errs());
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src_llvm/bb_toposort_sccs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ int main(int argc, char **argv) {

// Parse the input LLVM IR file into a module.
SMDiagnostic Err;
std::unique_ptr<Module> Mod(parseIRFile(argv[2], Err, getGlobalContext()));
std::unique_ptr<Module> Mod(ParseIRFile(argv[2], Err, getGlobalContext()));
if (!Mod) {
Err.print(argv[0], errs());
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src_llvm/replace_threadidx_with_call.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ int main(int argc, char **argv) {

// Parse the input LLVM IR file into a module.
SMDiagnostic Err;
std::unique_ptr<Module> Mod(parseIRFile(argv[1], Err, getGlobalContext()));
std::unique_ptr<Module> Mod(ParseIRFile(argv[1], Err, getGlobalContext()));
if (!Mod) {
Err.print(argv[0], errs());
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src_llvm/simple_bb_pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ int main(int argc, char **argv) {

// Parse the input LLVM IR file into a module.
SMDiagnostic Err;
std::unique_ptr<Module> Mod(parseIRFile(argv[1], Err, getGlobalContext()));
std::unique_ptr<Module> Mod(ParseIRFile(argv[1], Err, getGlobalContext()));
if (!Mod) {
Err.print(argv[0], errs());
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src_llvm/simple_module_pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ int main(int argc, char **argv) {

// Parse the input LLVM IR file into a module.
SMDiagnostic Err;
std::unique_ptr<Module> Mod(parseIRFile(argv[1], Err, getGlobalContext()));
std::unique_ptr<Module> Mod(ParseIRFile(argv[1], Err, getGlobalContext()));
if (!Mod) {
Err.print(argv[0], errs());
return 1;
Expand Down