This is an archive of the discontinued LLVM Phabricator instance.

getIdentifierInfo now updates the returned information by default
Changes PlannedPublic

Authored by teemperor on May 9 2017, 8:22 AM.

Details

Summary

Calling Preprocessor::getIdentifierInfo is not automatically updating the returned identifier at the moment. This patch adds a flag that is ensuring by default that the returned IdentifierInfo is updated. The flag is true by default because that seems like the most logical behavior for this method. Can be turned off for performance reasons

Diff Detail

Event Timeline

teemperor planned changes to this revision.May 9 2017, 8:22 AM
teemperor created this revision.

Work in progress patch. We probably also need to update a few other places where we call this.