Skip to content

Commit

Permalink
[include_cleaner] IncludeSpeller.cpp - fix MSVC "not all control path…
Browse files Browse the repository at this point in the history
…s return a value" warning. NFC.
  • Loading branch information
RKSimon committed Jul 24, 2023
1 parent 7bf9c5b commit b0fd2fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang-tools-extra/include-cleaner/lib/IncludeSpeller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class DefaultIncludeSpeller : public IncludeSpeller {
Input.H.physical(), Input.Main->tryGetRealPathName(), &IsSystem);
return IsSystem ? "<" + FinalSpelling + ">" : "\"" + FinalSpelling + "\"";
}
llvm_unreachable("Unknown clang::include_cleaner::Header::Kind enum");
}
};

Expand Down

0 comments on commit b0fd2fd

Please sign in to comment.