]> granicus.if.org Git - clang/commit
[libclang] When getting a source location from a file:line:col triplet
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 19 Sep 2011 20:40:35 +0000 (20:40 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 19 Sep 2011 20:40:35 +0000 (20:40 +0000)
commit507097ec40105ed927cb5a744fad98f5875aacac
tree6a3b744d2bdb1ad5291f59b7111972963da69374
parentefa2ff8603dae51f5f5ed7509a503f477498ad22
[libclang] When getting a source location from a file:line:col triplet
check whether the requested location points inside the precompiled preamble,
in which case the returned source location will be a "loaded" one.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140060 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/SourceManager.h
include/clang/Frontend/ASTUnit.h
lib/Basic/SourceManager.cpp
lib/Frontend/ASTUnit.cpp
lib/Frontend/CompilerInstance.cpp
lib/Serialization/ASTReader.cpp
test/PCH/preamble.c
tools/libclang/CIndex.cpp