mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -350,7 +350,7 @@ public:
|
||||
return Segments;
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
std::vector<StringRef> CoverageMapping::getUniqueSourceFiles() const {
|
||||
std::vector<StringRef> Filenames;
|
||||
@@ -521,7 +521,7 @@ class CoverageMappingErrorCategoryType : public std::error_category {
|
||||
llvm_unreachable("A value of coveragemap_error has no message.");
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
static ManagedStatic<CoverageMappingErrorCategoryType> ErrorCategory;
|
||||
|
||||
|
@@ -315,7 +315,7 @@ struct SectionData {
|
||||
return std::error_code();
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
template <typename T, support::endianness Endian>
|
||||
std::error_code readCoverageMappingData(
|
||||
|
@@ -74,7 +74,7 @@ public:
|
||||
return C;
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
/// \brief Encode the counter.
|
||||
///
|
||||
|
@@ -54,7 +54,7 @@ class InstrProfErrorCategoryType : public std::error_category {
|
||||
llvm_unreachable("A value of instrprof_error has no message.");
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
static ManagedStatic<InstrProfErrorCategoryType> ErrorCategory;
|
||||
|
||||
|
@@ -49,7 +49,7 @@ static inline uint64_t ComputeHash(HashT Type, StringRef K) {
|
||||
const uint64_t Magic = 0x8169666f72706cff; // "\xfflprofi\x81"
|
||||
const uint64_t Version = 2;
|
||||
const HashT HashType = HashT::MD5;
|
||||
}
|
||||
} // namespace IndexedInstrProf
|
||||
|
||||
} // end namespace llvm
|
||||
|
||||
|
@@ -69,7 +69,7 @@ public:
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
std::error_code
|
||||
InstrProfWriter::addFunctionCounts(StringRef FunctionName,
|
||||
|
@@ -42,7 +42,7 @@ class SampleProfErrorCategoryType : public std::error_category {
|
||||
llvm_unreachable("A value of sampleprof_error has no message.");
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
static ManagedStatic<SampleProfErrorCategoryType> ErrorCategory;
|
||||
|
||||
|
Reference in New Issue
Block a user