summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-08-22 00:27:10 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-08-22 00:27:10 +0000
commit24146975f1af8c1b4b14e8545f218129d0e7dfeb (patch)
tree137eedc1279aef2736ec15715fd96019e1350ee5 /lib/CodeGen/CodeGenFunction.cpp
parent55a2b3dbffefceb82bc34b5c88699e9c0a0d0b8c (diff)
downloadclang-24146975f1af8c1b4b14e8545f218129d0e7dfeb.tar.gz
clang-24146975f1af8c1b4b14e8545f218129d0e7dfeb.tar.bz2
clang-24146975f1af8c1b4b14e8545f218129d0e7dfeb.tar.xz
Split isFromMainFile into two functions.
Basically, isInMainFile considers line markers, and isWrittenInMainFile doesn't. Distinguishing between the two is useful when dealing with files which are preprocessed files or rewritten with -frewrite-includes (so we don't, for example, print useless warnings). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions