[libc-commits] [libc] 0c3037d - [libc] Fix prototype_test_gen

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Fri Jul 29 03:19:22 PDT 2022


Author: Guillaume Chatelet
Date: 2022-07-29T10:18:54Z
New Revision: 0c3037dfc555887fc7b63069d5bff57e04759f06

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

LOG: [libc] Fix prototype_test_gen

Added: 
    

Modified: 
    libc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp

Removed: 
    


################################################################################
diff  --git a/libc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp b/libc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp
index 983f76fc95b2..cd1e61b2f35a 100644
--- a/libc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp
+++ b/libc/utils/HdrGen/PrototypeTestGen/PrototypeTestGen.cpp
@@ -81,7 +81,7 @@ bool TestGeneratorMain(llvm::raw_ostream &OS, llvm::RecordKeeper &records) {
       if (i < size - 1)
         OS << ", ";
     }
-    OS << "), decltype(" << entrypoint << ")>::Value, ";
+    OS << "), decltype(" << entrypoint << ")>, ";
     OS << '"' << entrypoint
        << " prototype in TableGen does not match public header" << '"';
     OS << ");\n";


        


More information about the libc-commits mailing list