aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2016-10-20 20:45:40 +0000
committerMichal Gorny <mgorny@gentoo.org>2016-10-20 20:45:40 +0000
commit16f37c30a3d8578bf95120c9d56aac2051a57e9a (patch)
treebc7d35a916520ac264fd6dcde21a2bd44bf807ca /clang/lib/Lex/ModuleMap.cpp
parent8210959afdc2cba1bee288cee7d6fca05f71592d (diff)
downloadllvm-16f37c30a3d8578bf95120c9d56aac2051a57e9a.zip
llvm-16f37c30a3d8578bf95120c9d56aac2051a57e9a.tar.gz
llvm-16f37c30a3d8578bf95120c9d56aac2051a57e9a.tar.bz2
[Driver] Refactor DetectDistro() parameters to take VFS ref only. NFC
Refactor the DetectDistro() function to take a single vfs::FileSystem reference only, instead of Driver and llvm::Triple::ArchType. The ArchType parameter was not used anyway, and Driver was only used to obtain the VFS. Aside to making the API simpler and more transparent, it makes it easier to add unit tests for the function in the future -- since the tests would need only to provide an appropriate VFS. Differential Revision: https://reviews.llvm.org/D25819 llvm-svn: 284774
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions