File tree Expand file tree Collapse file tree 4 files changed +110
-99
lines changed Expand file tree Collapse file tree 4 files changed +110
-99
lines changed Original file line number Diff line number Diff line change @@ -496,6 +496,20 @@ enum class TUFragmentKind {
496
496
Private
497
497
};
498
498
499
+ enum class FormatStringType {
500
+ Scanf,
501
+ Printf,
502
+ NSString,
503
+ Strftime,
504
+ Strfmon,
505
+ Kprintf,
506
+ FreeBSDKPrintf,
507
+ OSTrace,
508
+ OSLog,
509
+ Syslog,
510
+ Unknown
511
+ };
512
+
499
513
/// Sema - This implements semantic analysis and AST building for C.
500
514
/// \nosubgrouping
501
515
class Sema final : public SemaBase {
@@ -2251,19 +2265,6 @@ class Sema final : public SemaBase {
2251
2265
SourceLocation BuiltinLoc,
2252
2266
SourceLocation RParenLoc);
2253
2267
2254
- enum FormatStringType {
2255
- FST_Scanf,
2256
- FST_Printf,
2257
- FST_NSString,
2258
- FST_Strftime,
2259
- FST_Strfmon,
2260
- FST_Kprintf,
2261
- FST_FreeBSDKPrintf,
2262
- FST_OSTrace,
2263
- FST_OSLog,
2264
- FST_Syslog,
2265
- FST_Unknown
2266
- };
2267
2268
static StringRef GetFormatStringTypeName(FormatStringType FST);
2268
2269
static FormatStringType GetFormatStringType(StringRef FormatFlavor);
2269
2270
static FormatStringType GetFormatStringType(const FormatAttr *Format);
You can’t perform that action at this time.
0 commit comments