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 d8278b6 commit c92dfefCopy full SHA for c92dfef
clang/lib/Analysis/UnsafeBufferUsage.cpp
@@ -1677,15 +1677,6 @@ std::string getUserFillPlaceHolder(StringRef HintTextToUser = "placeholder") {
1677
return s;
1678
}
1679
1680
-// Return the text representation of the given `APInt Val`:
1681
-static std::string getAPIntText(APInt Val) {
1682
- SmallVector<char> Txt;
1683
- Val.toString(Txt, 10, true);
1684
- // APInt::toString does not add '\0' to the end of the string for us:
1685
- Txt.push_back('\0');
1686
- return Txt.data();
1687
-}
1688
-
1689
// Return the source location of the last character of the AST `Node`.
1690
template <typename NodeTy>
1691
static std::optional<SourceLocation>
0 commit comments