forked from OSchip/llvm-project
[test] Update tests
This commit is contained in:
parent
9d117e7b2a
commit
46bf25a7c5
|
@ -47,6 +47,8 @@ public:
|
|||
return;
|
||||
|
||||
StringRef MacroName = MacroNameTok.getIdentifierInfo()->getName();
|
||||
if (MacroName == "__GCC_HAVE_DWARF2_CFI_ASM")
|
||||
return;
|
||||
if (!CheckCapsOnly && !RegExp.match(MacroName))
|
||||
Check->warnMacro(MD, MacroName);
|
||||
|
||||
|
|
|
@ -39,7 +39,8 @@
|
|||
// CHECK-NEXT: Reason: EnterFile
|
||||
// CHECK-NEXT: FileType: C_User
|
||||
// CHECK-NEXT: PrevFID: (invalid)
|
||||
// CHECK-NEXT: - Callback: FileChanged
|
||||
// CHECK: - Callback: MacroDefined
|
||||
// CHECK: - Callback: FileChanged
|
||||
// CHECK-NEXT: Loc: "<built-in>:1:1"
|
||||
// CHECK-NEXT: Reason: ExitFile
|
||||
// CHECK-NEXT: FileType: C_User
|
||||
|
|
|
@ -31,6 +31,7 @@ X
|
|||
// CHECK: MacroNameTok: __STDC_UTF_32__
|
||||
// CHECK-NEXT: MacroDirective: MD_Define
|
||||
// CHECK: - Callback: MacroDefined
|
||||
// CHECK: - Callback: MacroDefined
|
||||
// CHECK-NEXT: MacroNameTok: MACRO
|
||||
// CHECK-NEXT: MacroDirective: MD_Define
|
||||
// CHECK-NEXT: - Callback: MacroExpands
|
||||
|
|
Loading…
Reference in New Issue