[clang] dcee874 - Fix the ExtractAPI tests

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 14 05:58:30 PDT 2022


Author: Aaron Ballman
Date: 2022-10-14T08:58:16-04:00
New Revision: dcee874ee3900fe1617c7562c774e5405439f5c9

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

LOG: Fix the ExtractAPI tests

This should address the issues found by:
https://lab.llvm.org/buildbot/#/builders/139/builds/29568
https://lab.llvm.org/buildbot/#/builders/109/builds/48658

Added: 
    

Modified: 
    clang/test/ExtractAPI/anonymous_record_no_typedef.c

Removed: 
    


################################################################################
diff  --git a/clang/test/ExtractAPI/anonymous_record_no_typedef.c b/clang/test/ExtractAPI/anonymous_record_no_typedef.c
index 6f7156ff1dec..e20abfdd86ab 100644
--- a/clang/test/ExtractAPI/anonymous_record_no_typedef.c
+++ b/clang/test/ExtractAPI/anonymous_record_no_typedef.c
@@ -128,13 +128,13 @@ struct Vehicle {
         "navigator": [
           {
             "kind": "identifier",
-            "spelling": "Vehicle::(anonymous)"
+            "spelling": "Vehicle::enum (unnamed)"
           }
         ],
-        "title": "Vehicle::(anonymous)"
+        "title": "Vehicle::enum (unnamed)"
       },
       "pathComponents": [
-        "Vehicle::(anonymous)"
+        "Vehicle::enum (unnamed)"
       ]
     },
     {
@@ -176,7 +176,7 @@ struct Vehicle {
         "title": "Bicycle"
       },
       "pathComponents": [
-        "Vehicle::(anonymous)",
+        "Vehicle::enum (unnamed)",
         "Bicycle"
       ]
     },
@@ -219,7 +219,7 @@ struct Vehicle {
         "title": "Car"
       },
       "pathComponents": [
-        "Vehicle::(anonymous)",
+        "Vehicle::enum (unnamed)",
         "Car"
       ]
     },


        


More information about the cfe-commits mailing list