mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Fix MSVC build.
I had some unnecessary `typename`s left in after addressing review. This compiled successfully with clang++ but MSVC reported an error. Fix the build error by removing the redundant `typename`s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240307 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
21a540abc4
commit
d5732752e8
@ -115,7 +115,7 @@ const char *FaultMaps::faultTypeToString(FaultMaps::FaultKind FT) {
|
||||
|
||||
raw_ostream &llvm::
|
||||
operator<<(raw_ostream &OS,
|
||||
const typename FaultMapParser::FunctionFaultInfoAccessor &FFI) {
|
||||
const FaultMapParser::FunctionFaultInfoAccessor &FFI) {
|
||||
OS << "Fault kind: "
|
||||
<< FaultMaps::faultTypeToString((FaultMaps::FaultKind)FFI.getFaultKind())
|
||||
<< ", faulting PC offset: " << FFI.getFaultingPCOffset()
|
||||
@ -124,8 +124,7 @@ operator<<(raw_ostream &OS,
|
||||
}
|
||||
|
||||
raw_ostream &llvm::
|
||||
operator<<(raw_ostream &OS,
|
||||
const typename FaultMapParser::FunctionInfoAccessor &FI) {
|
||||
operator<<(raw_ostream &OS, const FaultMapParser::FunctionInfoAccessor &FI) {
|
||||
OS << "FunctionAddress: " << format_hex(FI.getFunctionAddr(), 8)
|
||||
<< ", NumFaultingPCs: " << FI.getNumFaultingPCs() << "\n";
|
||||
for (unsigned i = 0, e = FI.getNumFaultingPCs(); i != e; ++i)
|
||||
@ -140,7 +139,7 @@ raw_ostream &llvm::operator<<(raw_ostream &OS, const FaultMapParser &FMP) {
|
||||
if (FMP.getNumFunctions() == 0)
|
||||
return OS;
|
||||
|
||||
typename FaultMapParser::FunctionInfoAccessor FI;
|
||||
FaultMapParser::FunctionInfoAccessor FI;
|
||||
|
||||
for (unsigned i = 0, e = FMP.getNumFunctions(); i != e; ++i) {
|
||||
FI = (i == 0) ? FMP.getFirstFunctionInfo() : FI.getNextFunctionInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user