]> granicus.if.org Git - clang/commit
Use FileEntryRef for PPCallbacks::HasInclude
authorAlex Lorenz <arphaman@gmail.com>
Tue, 27 Aug 2019 17:32:42 +0000 (17:32 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 27 Aug 2019 17:32:42 +0000 (17:32 +0000)
commit32bae3c742f83831a5610a601051d0c8c07fb6b8
tree6d27fb16ed9f0b79b913b9658aecf3738f55de0d
parent7e49c9ce9aa429c6480331718fa7c033255f5c17
Use FileEntryRef for PPCallbacks::HasInclude

This fixes the issue where a filename dependendency was missing if the file that
was referenced with __has_include() was accessed through a symlink in an earlier run,
if the file manager was reused between runs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370081 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/PPCallbacks.h
lib/Frontend/DependencyFile.cpp
lib/Lex/PPMacroExpansion.cpp
unittests/Tooling/DependencyScannerTest.cpp