forked from OSchip/llvm-project
parent
5a7cfea6b4
commit
effdb198c2
|
@ -658,8 +658,8 @@ bool ParsePrintfString(FormatStringHandler &H,
|
||||||
const char *beg, const char *end, const LangOptions &LO,
|
const char *beg, const char *end, const LangOptions &LO,
|
||||||
const TargetInfo &Target, bool isFreeBSDKPrintf);
|
const TargetInfo &Target, bool isFreeBSDKPrintf);
|
||||||
|
|
||||||
bool ParseFormatStringHasSArg(const char *beg, const char *end, const LangOptions &LO,
|
bool ParseFormatStringHasSArg(const char *beg, const char *end,
|
||||||
const TargetInfo &Target);
|
const LangOptions &LO, const TargetInfo &Target);
|
||||||
|
|
||||||
bool ParseScanfString(FormatStringHandler &H,
|
bool ParseScanfString(FormatStringHandler &H,
|
||||||
const char *beg, const char *end, const LangOptions &LO,
|
const char *beg, const char *end, const LangOptions &LO,
|
||||||
|
|
|
@ -799,7 +799,8 @@ bool FormatSpecifier::hasStandardLengthModifier() const {
|
||||||
llvm_unreachable("Invalid LengthModifier Kind!");
|
llvm_unreachable("Invalid LengthModifier Kind!");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FormatSpecifier::hasStandardConversionSpecifier(const LangOptions &LangOpt) const {
|
bool FormatSpecifier::hasStandardConversionSpecifier(
|
||||||
|
const LangOptions &LangOpt) const {
|
||||||
switch (CS.getKind()) {
|
switch (CS.getKind()) {
|
||||||
case ConversionSpecifier::cArg:
|
case ConversionSpecifier::cArg:
|
||||||
case ConversionSpecifier::dArg:
|
case ConversionSpecifier::dArg:
|
||||||
|
|
Loading…
Reference in New Issue