]> granicus.if.org Git - clang/commit
Use StringRef instead of MemoryBuffer&.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Aug 2014 15:46:24 +0000 (15:46 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Aug 2014 15:46:24 +0000 (15:46 +0000)
commit1cb6d934f554e2ceb72514dddb42cd05ab1ad10b
tree8d2a41804a3d819100e9985be7be9f5026f46ee9
parent9db16bf7104d8c8d45ae72eae58b2edaf81e23da
Use StringRef instead of MemoryBuffer&.

This code doesn't care where the data it is processing comes from, so a
StringRef is probably the most natural interface.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215448 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Lexer.h
lib/Frontend/ASTUnit.cpp
lib/Frontend/FrontendActions.cpp
lib/Lex/Lexer.cpp