]> granicus.if.org Git - clang/commit
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)
commit1390bb1e93bad8b48d24521530d22eb93009e571
treeccbbde5e989d2f22eba7485c85d2c6be18a14afa
parente153577dd333b8977f91dbb70b60a58c9197285d
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266319 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Format/Format.h
lib/Format/Format.cpp