clang-format: Allow include of clangFormat.h in managed context
authorMarianne Mailhot-Sarrasin <marianne.mailhot.sarrasin@gmail.com>
Thu, 14 Apr 2016 14:47:37 +0000 (14:47 +0000)
committerMarianne Mailhot-Sarrasin <marianne.mailhot.sarrasin@gmail.com>
Thu, 14 Apr 2016 14:47:37 +0000 (14:47 +0000)
commit4988fa1bc58cbe6e076ab76f2da91215d8d37771
treec3856e892e287a7f8dc2e052b577b4fc64cdb1e1
parent735bbaa1d9128805c5e316555e4749cb4260f9ce
clang-format: Allow include of clangFormat.h in managed context

Including VirtualFileSystem.h in the clangFormat.h indirectly includes <atomic>.
This header is blocked when compiling with /clr.

Patch by Maxime Beaulieu

Differential Revision: http://reviews.llvm.org/D19064

llvm-svn: 266319
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp