aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/AST/CommentParser.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-16 17:23:01 +0000
committerAlp Toker <alp@nuanti.com>2014-05-16 17:23:01 +0000
commit6ac2cd01d2fe1d3f94de470d01ebc379c4925372 (patch)
treef6397160fd5fb1e635dfb93c6fe2d91c306c6485 /clang/unittests/AST/CommentParser.cpp
parentd978ca03086f86abeabc36b3219820609bbef4cd (diff)
downloadllvm-6ac2cd01d2fe1d3f94de470d01ebc379c4925372.zip
llvm-6ac2cd01d2fe1d3f94de470d01ebc379c4925372.tar.gz
llvm-6ac2cd01d2fe1d3f94de470d01ebc379c4925372.tar.bz2
Rename SourceManager::createFileIDForMemBuffer()
It makes more sense to just overload createFileID(). Gardening only. llvm-svn: 209002
Diffstat (limited to 'clang/unittests/AST/CommentParser.cpp')
-rw-r--r--clang/unittests/AST/CommentParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/CommentParser.cpp b/clang/unittests/AST/CommentParser.cpp
index c72aef1..0064078 100644
--- a/clang/unittests/AST/CommentParser.cpp
+++ b/clang/unittests/AST/CommentParser.cpp
@@ -55,7 +55,7 @@ protected:
FullComment *CommentParserTest::parseString(const char *Source) {
MemoryBuffer *Buf = MemoryBuffer::getMemBuffer(Source);
- FileID File = SourceMgr.createFileIDForMemBuffer(Buf);
+ FileID File = SourceMgr.createFileID(Buf);
SourceLocation Begin = SourceMgr.getLocForStartOfFile(File);
Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source));