aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-10-19 11:46:58 +0300
committerMartin Storsjö <martin@martin.st>2020-10-20 00:07:01 +0300
commite2ddd515abd1735a3a8c075f2e6e487872cb8a4f (patch)
tree742566c6974a63eec655cd97b705ee359679545f /clang/lib/Frontend/CompilerInvocation.cpp
parentc61c7ba595d39f22a2f5a900e165ae464015c2e7 (diff)
downloadllvm-e2ddd515abd1735a3a8c075f2e6e487872cb8a4f.zip
llvm-e2ddd515abd1735a3a8c075f2e6e487872cb8a4f.tar.gz
llvm-e2ddd515abd1735a3a8c075f2e6e487872cb8a4f.tar.bz2
[libcxx] [test] Allow fs::permissions(path, perms, perm_options, error_code) to be noexcept
The standard doesn't declare this overload as noexcept, but doesn't either say that it strictly cannot be noexcept either. The function doesn't throw on errors that are signaled via error_code, but the standard says that it may throw a bad_alloc. This fixes an error with libstdc++ on linux. Differential Revision: https://reviews.llvm.org/D89678
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions