summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-02-08 09:34:49 +0000
committerDaniel Jasper <djasper@google.com>2015-02-08 09:34:49 +0000
commit29d39d54e7398610126f15f1f3fb97f9575a80f9 (patch)
tree0e510d14fb29848b45841ebb110d2cd2e7838f93 /clang/lib/Sema/SemaDecl.cpp
parent23a485a4ed803e4870e4b85546ae678acfdbd682 (diff)
downloadbcm5719-llvm-29d39d54e7398610126f15f1f3fb97f9575a80f9.tar.gz
bcm5719-llvm-29d39d54e7398610126f15f1f3fb97f9575a80f9.zip
clang-format: Correctly mark preprocessor lines in child blocks.
This prevents contracting: auto lambda = []() { int a = 2 #if A + 2 #endif ; }; into: auto lambda = []() { int a = 2 #if A + 2 #endif ; }; Which is obviously BAD. This fixes llvm.org/PR22496. llvm-svn: 228522
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud