llvm-project/clang/unittests
Ben Hamilton e5af5bde71 [VirtualFileSystem] InMemoryFileSystem::addFile(): Type and Perms
Summary:
This implements a FIXME in InMemoryFileSystem::addFile(), allowing
clients to specify User, Group, Type, and/or Perms when creating a
file in an in-memory filesystem.

New tests included. Ran tests with:

% ninja BasicTests && ./tools/clang/unittests/Basic/BasicTests

Fixes PR#35172 (https://bugs.llvm.org/show_bug.cgi?id=35172)

Reviewers: bkramer, hokein

Reviewed By: bkramer, hokein

Subscribers: alexfh

Differential Revision: https://reviews.llvm.org/D39572

llvm-svn: 317800
2017-11-09 16:01:16 +00:00
..
AST Allow StmtPrinter to supress implicit 'this' and 'self' base expressions 2017-10-26 00:56:54 +00:00
ASTMatchers Add objcCategoryImplDecl matcher 2017-10-26 15:53:37 +00:00
Analysis [analyzer] Performance optimizations for the CloneChecker 2017-08-31 07:10:46 +00:00
Basic [VirtualFileSystem] InMemoryFileSystem::addFile(): Type and Perms 2017-11-09 16:01:16 +00:00
CodeGen Reorder. 2017-10-11 04:54:05 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver Use class to pass information about executable name 2017-08-29 05:22:26 +00:00
Format [clang-format] Sort using declarations by splitting on '::' 2017-11-09 15:41:23 +00:00
Frontend Recommit r315738 "[clang-refactor] Apply source replacements" 2017-10-16 17:31:16 +00:00
Lex [Lex] Avoid out-of-bounds dereference in SkipLineComment 2017-10-14 01:18:30 +00:00
Rename [rename] support renaming class member. 2017-10-25 11:54:45 +00:00
Rewrite Remove autoconf support 2016-01-26 21:30:40 +00:00
Sema [Sema] Allow an external sema source to handle delayed typo corrections. 2016-05-19 10:46:10 +00:00
StaticAnalyzer Add a method to get the list of registered static analyzer checkers. 2016-11-08 07:23:32 +00:00
Tooling Moved QualTypeNames.h from Tooling to AST. 2017-11-08 10:39:03 +00:00
libclang Fixed more signed/unsigned mismatch warnings introduced in my change at r279076 2016-08-18 20:56:48 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00