]> granicus.if.org Git - clang/commit
[cleanup] Factor out some checks. NFC.
authorSean Silva <chisophugis@gmail.com>
Fri, 15 Aug 2014 18:50:00 +0000 (18:50 +0000)
committerSean Silva <chisophugis@gmail.com>
Fri, 15 Aug 2014 18:50:00 +0000 (18:50 +0000)
commit0f3db83428c17653aaa84b01243e86d7805b956c
treeed4f5b227d5f6c020194002431ecb1932cc3e220
parentbcc4095ca08de87bf954d23afea88839c2206eb2
[cleanup] Factor out some checks. NFC.

The core logic in main() is actually pretty simple, but there's lots of
stuff that has been added over time which obscures the flow of the code.
In upcoming patches, I'll be pulling more stuff out of the main
codepath.

I'm open to naming suggestions for these helper functions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215751 91177308-0d34-0410-b5e6-96231b3b80d8
tools/driver/driver.cpp