ericLemanissier added a comment. After searching deeper into the C++ Core Guidelines, they are Ok with passing C strings to function without passing there size, but the types gsl::zstring and gsl::czstring have to be used : https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#i13-do-not-pass-an-array-as-a-single-pointer
https://reviews.llvm.org/D22196 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits