diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-18 04:13:36 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-18 04:13:36 +0000 |
commit | 4f63507d054afab14e759f046db5f42e3b96f6fb (patch) | |
tree | f4a91e95fd475621d848e05045d17e4afb2ff22f /llvm/utils/KillTheDoctor/KillTheDoctor.cpp | |
parent | e47230f9b5fc6a7cfbbd897778718ba4ea420624 (diff) | |
download | bcm5719-llvm-4f63507d054afab14e759f046db5f42e3b96f6fb.tar.gz bcm5719-llvm-4f63507d054afab14e759f046db5f42e3b96f6fb.zip |
Support/PathV1: Deprecate get{Basename,Dirname,Suffix}.
llvm-svn: 122141
Diffstat (limited to 'llvm/utils/KillTheDoctor/KillTheDoctor.cpp')
-rw-r--r-- | llvm/utils/KillTheDoctor/KillTheDoctor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp index a623d6af8d9..7a89dd379b7 100644 --- a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp +++ b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp @@ -523,7 +523,7 @@ int main(int argc, char **argv) { errs().indent(ToolName.size()) << ": DLL Name : " << DLLName << '\n'; } - if (NoUser32 && sys::Path(DLLName).getBasename() == "user32") { + if (NoUser32 && sys::path::stem(DLLName) == "user32") { // Program is loading user32.dll, in the applications we are testing, // this only happens if an assert has fired. By now the message has // already been printed, so simply close the program. |