Author: Richard Smith
Date: 2021-03-30T17:48:08-07:00
New Revision: 9eef0fae2b840cef0b44cf94517f70a41cd84d42

URL: 
https://github.com/llvm/llvm-project/commit/9eef0fae2b840cef0b44cf94517f70a41cd84d42
DIFF: 
https://github.com/llvm/llvm-project/commit/9eef0fae2b840cef0b44cf94517f70a41cd84d42.diff

LOG: Fix test expectations for %diff documentation.

Added: 
    

Modified: 
    clang/test/TableGen/emit-diag-docs.td

Removed: 
    


################################################################################
diff  --git a/clang/test/TableGen/emit-diag-docs.td 
b/clang/test/TableGen/emit-diag-docs.td
index b2ecba727f4f4..2dd1a6b57af0c 100644
--- a/clang/test/TableGen/emit-diag-docs.td
+++ b/clang/test/TableGen/emit-diag-docs.td
@@ -13,8 +13,14 @@ def MySubNested : TextSubstitution<"%sub{MyGoodBad}1 
%sub{MyKinds}2 are %sub{MyG
 
 let Group = MyGroup in {
 
-// CHECK:      |:warning:`warning:` |nbsp| :diagtext:`this is my 
diff  text`|
-// CHECK-NEXT: +-----------------------------------------------------------+
+// CHECK:      |:warning:`warning:` |nbsp| 
|+--------------------------------------------------------------------+|
+// CHECK-NEXT: |                           
||+------------------------------------------------------------------+||
+// CHECK-NEXT: |                           |||:placeholder:`A` |nbsp| 
:diagtext:`is not` |nbsp| :placeholder:`B`|||
+// CHECK-NEXT: |                           
||+------------------------------------------------------------------+||
+// CHECK-NEXT: |                           
|+--------------------------------------------------------------------+|
+// CHECK-NEXT: |                           ||:diagtext:`this is my 
diff  text`                                    ||
+// CHECK-NEXT: |                           
|+--------------------------------------------------------------------+|
+// CHECK-NEXT: 
+---------------------------+----------------------------------------------------------------------+
 def CheckDiff : Warning<"%
diff {$ is not $|this is my 
diff  text}0,1">;
 
 


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to