[PATCH] D100496: Add emitWcsLen helper function
    Whitney Tsang via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Apr 15 12:11:47 PDT 2021
    
    
  
Whitney added inline comments.
================
Comment at: llvm/include/llvm/Transforms/Utils/BuildLibCalls.h:53
+  /// Emit a call to the wcslen function to the builder, for the specified
+  /// pointer. Ptr is required to be wchar pointer type, and the return value
+  /// has 'intptr_t' type.
----------------
> Ptr is required to be wchar pointer type
can we assert that?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100496/new/
https://reviews.llvm.org/D100496
    
    
More information about the llvm-commits
mailing list