SuccessChanges

Summary

  1. isBuiltinFunc() uses StringRef instead of const char* (details)
Commit 1c85a2e8dc7e76761d301f9a35374e0aafc757ec by gchatelet
isBuiltinFunc() uses StringRef instead of const char*
Summary: This prevents a bug when passing nullptr, StringRef ctor would
call strlen(nullptr).
Reviewers: vlad.tsyrklevich
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69569
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/Basic/Builtins.cpp
The file was modifiedclang/include/clang/Basic/Builtins.h