Change *BugReport constructors to take StringRefs.

- Eliminates many calls to std::string.c_str()
- Fixes an invalid read in ReturnStackAddressChecker due to an unsafe call to
  StringRef.data() which doesn't guarantee null-termination.

llvm-svn: 88779
18 files changed
tree: 73f8290ea8de557db9c0c4f5f83c08128af18340
  1. clang/
  2. compiler-rt/
  3. llvm/