]> granicus.if.org Git - clang/commit
Add a FileCharacteristic parameter to SourceManager::createFileIDForMemBuffer
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 9 Nov 2012 19:40:45 +0000 (19:40 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 9 Nov 2012 19:40:45 +0000 (19:40 +0000)
commitecd27bf256c92f56c7c7ede6f40ec5d31a40b35e
treec7318bae561a592d3ff8b282c7a864a175e0ac10
parent8616f9af65b9a3662f2c9dfed38eeabc509f8446
Add a FileCharacteristic parameter to SourceManager::createFileIDForMemBuffer
for completeness and use it in CompilerInstance::InitializeSourceManager if
the input is a memory buffer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167628 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/SourceManager.h
lib/AST/ASTImporter.cpp
lib/Frontend/CompilerInstance.cpp
lib/Serialization/ASTReader.cpp