mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 04:29:42 +00:00
[llvm-remark-size-diff] Don't use enum name as auto variable name
This was confusing the clang-cmake-x86_64-avx2-linux buildbot (gcc version 5.4.0).
This commit is contained in:
parent
764cd491b1
commit
eb9ac2cc14
@ -135,13 +135,13 @@ struct DiffsCategorizedByFilesPresent {
|
||||
|
||||
static void printFunctionDiff(const FunctionDiff &FD, llvm::raw_ostream &OS) {
|
||||
// Describe which files the function had remarks in.
|
||||
auto FilesPresent = FD.getFilesPresent();
|
||||
const auto &FuncName = FD.FuncName;
|
||||
FilesPresent FP = FD.getFilesPresent();
|
||||
const std::string &FuncName = FD.FuncName;
|
||||
const int64_t InstDiff = FD.getInstDiff();
|
||||
assert(InstDiff && "Shouldn't get functions with no size change?");
|
||||
const int64_t StackDiff = FD.getStackDiff();
|
||||
// Output an indicator denoting which files the function was present in.
|
||||
switch (FilesPresent) {
|
||||
switch (FP) {
|
||||
case FilesPresent::A:
|
||||
OS << "-- ";
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user