summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-02-05 17:21:52 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-02-05 17:21:52 +0000
commit2f7ceb120eb0ece24c671b27680025ffe75eae9d (patch)
treed7372a12260e7cd1feb27705b647b7b6855c23de /llvm/lib
parent49c21222a0d6086ea1d3021bfbc0b119e0c07454 (diff)
downloadbcm5719-llvm-2f7ceb120eb0ece24c671b27680025ffe75eae9d.tar.gz
bcm5719-llvm-2f7ceb120eb0ece24c671b27680025ffe75eae9d.zip
filesystem: fix n4100 conformance for `temp_directory_path`
N4100 states that an error shall be reported if `!exists(p) || !is_directory(p)`. We were missing the first half of the conditional. Invert the error and normal code paths to make the code easier to follow. llvm-svn: 294127
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud