Home
last modified time | relevance | path

Searched defs:CWDGuard (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/
Dcanonical.pass.cpp27 struct CWDGuard { struct
29 CWDGuard() : OldCWD(fs::current_path()) { } in CWDGuard() function
30 ~CWDGuard() { fs::current_path(OldCWD); } in ~CWDGuard() argument
/external/llvm-project/libcxx/test/support/
Dfilesystem_test_helper.h419 struct CWDGuard { struct
421 CWDGuard() : oldCwd_(utils::getcwd()) { } in CWDGuard() argument
422 ~CWDGuard() { in ~CWDGuard() argument
428 CWDGuard& operator=(CWDGuard const&) = delete; argument