]> granicus.if.org Git - clang/commit
Revert "Correct the source range returned from preprocessor callbacks."
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 15 Jan 2019 17:20:05 +0000 (17:20 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 15 Jan 2019 17:20:05 +0000 (17:20 +0000)
commit7c400363af5d53be336f3ff078036dfc3387d512
tree345b58bc546235d82632e72f4dfb912a71ab5b51
parent1fe2cedf079a9f98ed2f20cccfef071c8daff41c
Revert "Correct the source range returned from preprocessor callbacks."

This reverts commit r350891. Also add a test case that would return an
empty string with r350891.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351209 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Preprocessor.h
lib/Lex/PPDirectives.cpp
lib/Lex/PPExpressions.cpp
unittests/Lex/PPCallbacksTest.cpp