[PATCH] D141944: [include-mapping] Fix gen_std.py test

Viktoriia Bakalova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 17 08:38:33 PST 2023


VitaNuo created this revision.
VitaNuo added a reviewer: hokein.
Herald added a project: All.
VitaNuo requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141944

Files:
  clang/tools/include-mapping/test.py


Index: clang/tools/include-mapping/test.py
===================================================================
--- clang/tools/include-mapping/test.py
+++ clang/tools/include-mapping/test.py
@@ -24,11 +24,11 @@
 
     actual = _ParseIndexPage(html)
     expected = [
-      ("abs", "abs.html", True),
-      ("abs", "complex/abs.html", True),
-      ("acos", "acos.html", False),
-      ("acosh", "acosh.html", False),
-      ("as_bytes", "as_bytes.html", False),
+      ("abs", "abs.html", 'int'),
+      ("abs", "complex/abs.html", 'std::complex'),
+      ("acos", "acos.html", None),
+      ("acosh", "acosh.html", None),
+      ("as_bytes", "as_bytes.html", None),
     ]
     self.assertEqual(len(actual), len(expected))
     for i in range(0, len(actual)):


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141944.489841.patch
Type: text/x-patch
Size: 763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230117/02d92670/attachment.bin>


More information about the cfe-commits mailing list