[PATCH] Add a VFSFromYAML class and a parser to create it

Ben Langmuir blangmuir at apple.com
Fri Feb 21 14:22:35 PST 2014


  Changes per review feedback.  Interesting changes are:

  * new version field, and tests that check that it exists (and is currently 0)
  * diagnostics are now counted in tests
  * normalizePath is gone; . and .. entries will not work (but they didn't *really* work in my previous patch either.
  * all keys are now stored in a map so that we can easily check for duplicates or ensure required keys are present.  This is likely slower and right now might even be more code, but is much easier to manage.

Hi akyrtzi,

http://llvm-reviews.chandlerc.com/D2835

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2835?vs=7220&id=7290#toc

Files:
  include/clang/Basic/VirtualFileSystem.h
  lib/Basic/VirtualFileSystem.cpp
  unittests/Basic/VirtualFileSystemTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2835.2.patch
Type: text/x-patch
Size: 34541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140221/15098aa2/attachment.bin>


More information about the cfe-commits mailing list