HomePhabricator

[CrossTU] Fix plist macro expansion if macro in other file.

Description

[CrossTU] Fix plist macro expansion if macro in other file.

Summary:
When cross TU analysis is used it is possible that a macro expansion
is generated for a macro that is defined (and used) in other than
the main translation unit. To get the expansion for it the source
location in the original source file and original preprocessor
is needed.

Reviewers: martong, xazax.hun, Szelethus, ilya-biryukov

Reviewed By: Szelethus

Subscribers: mgorny, NoQ, ilya-biryukov, rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64638

Details

Committed
balazskeJul 25 2019, 3:53 AM
Reviewer
Szelethus
Differential Revision
D64638: [CrossTU] Fix plist macro expansion if macro in other file.
Parents
rL367005: [lldb][CMake] Fix framework-enabled build detail for Xcode
Branches
Unknown
Tags
Unknown