This is an archive of the discontinued LLVM Phabricator instance.

[clang][ASTImporter] Add import support for SourceLocExpr.
ClosedPublic

Authored by balazske on Mar 18 2021, 10:06 AM.

Details

Summary

It is possible that imported SourceLocExpr can cause not expected behavior (if __builtin_LINE() is used together with __LINE__ for example) but still it may be worth to import these because some projects use it.

Diff Detail

Event Timeline

balazske created this revision.Mar 18 2021, 10:06 AM
balazske requested review of this revision.Mar 18 2021, 10:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2021, 10:06 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
whisperity edited the summary of this revision. (Show Details)Mar 18 2021, 10:09 AM
whisperity added a subscriber: whisperity.
teemperor accepted this revision.Mar 19 2021, 5:30 AM
This revision is now accepted and ready to land.Mar 19 2021, 5:30 AM