We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42ed775 commit 55fad5eCopy full SHA for 55fad5e
clang/tools/amdgpu-arch/AMDGPUArchByKFD.cpp
@@ -17,7 +17,6 @@
17
#include "llvm/Support/MemoryBuffer.h"
18
#include "llvm/Support/Path.h"
19
#include <memory>
20
-#include <string>
21
22
using namespace llvm;
23
@@ -55,8 +54,8 @@ int printGPUsByKFD() {
55
54
++Lines) {
56
StringRef Line(*Lines);
57
if (Line.consume_front("gfx_target_version")) {
58
- Line.drop_while([](char C) { return std::isspace(C); });
59
- if (Line.consumeInteger(10, GFXVersion))
+ if (Line.drop_while([](char C) { return std::isspace(C); })
+ .consumeInteger(10, GFXVersion))
60
return 1;
61
break;
62
}
0 commit comments