aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-02-04 15:26:27 +0000
committerNico Weber <nicolasweber@gmx.de>2015-02-04 15:26:27 +0000
commitfac2371be324d6a3aa0c9622f5147abbc707894e (patch)
treeab2798e1ac869f49f56ecef6739680977cc1eefd /clang/lib/Frontend/CompilerInvocation.cpp
parente67d27f5ccebb22e238072afe0ea74bc3a7a653e (diff)
downloadllvm-fac2371be324d6a3aa0c9622f5147abbc707894e.zip
llvm-fac2371be324d6a3aa0c9622f5147abbc707894e.tar.gz
llvm-fac2371be324d6a3aa0c9622f5147abbc707894e.tar.bz2
clang-format: Add support for SEH __try / __except / __finally blocks.
This lets clang-format format __try { } __except(0) { } and __try { } __finally { } correctly. __try and __finally are keywords if `LangOpts.MicrosoftExt` is set, so this turns this on. This also enables a few other keywords, but it shouldn't overly perturb regular clang-format operation. __except is a context-sensitive keyword, so `AdditionalKeywords` needs to be passed around to a few more places. Fixes PR22321. llvm-svn: 228148
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions