This is an archive of the discontinued LLVM Phabricator instance.

Lex: Fix bug in __BASE_FILE__ implementation.
Needs ReviewPublic

Authored by pcc on Nov 30 2018, 9:39 PM.

Details

Reviewers
rsmith
Summary

BASE_FILE previously expanded to "<built-in>" instead of the name
of the main source file in files included using -include.

Also added test coverage for BASE_FILE since there doesn't seem
to be any.

Diff Detail

Event Timeline

pcc created this revision.Nov 30 2018, 9:39 PM