summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erikjv@me.com>2016-01-06 15:12:51 +0000
committerErik Verbruggen <erikjv@me.com>2016-01-06 15:12:51 +0000
commit8f9d180f0925fd8bb11cabe8bed91c98592d11e4 (patch)
treefcd1c1f7723c752b5789ccaa53e14f8ea3403c1e /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
parent09afa9061ae1a5937ffe258de811e6cafd86ff16 (diff)
downloadbcm5719-llvm-8f9d180f0925fd8bb11cabe8bed91c98592d11e4.tar.gz
bcm5719-llvm-8f9d180f0925fd8bb11cabe8bed91c98592d11e4.zip
Show inclusions from a preamble in clang_getInclusions.
When reparsing a translation unit with preamble generation turned on, no includes are found. This is due to the fact that all SLocs from AST/PCH files are skipped as they are 'loaded', and inclusions from a preamble are also 'loaded'. So, in case a file has a preamble, it first needs to process those loaded inclusions, and then check for any local inclusions. This latter one is for any includes that are not part of the preamble, like includes half-way through a file. This fixes PR24748. Differential Revision: http://reviews.llvm.org/D14329 llvm-svn: 256939
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud