Skip to content
Commit 2a8bc152 authored by Dylan Noblesmith's avatar Dylan Noblesmith
Browse files

SourceManager: use getBufferSize()

Forming an out of bounds pointer to check if it's out
of bounds was undefined behavior.

llvm-svn: 146861
parent ac2bda8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment