summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-07-12 14:51:05 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-07-12 14:51:05 +0000
commitf8bd2e5b86a32acbd0fe46c633ddf76f66f9f21a (patch)
treeb13f5bf5796a969e2e47f3811ba67042cb972d03 /clang/lib/Format/Format.cpp
parente0a03c3c64b176c272982835798b9adce8056df2 (diff)
downloadbcm5719-llvm-f8bd2e5b86a32acbd0fe46c633ddf76f66f9f21a.tar.gz
bcm5719-llvm-f8bd2e5b86a32acbd0fe46c633ddf76f66f9f21a.zip
Add new directive called CHECK-LABEL to FileCheck.
CHECK-LABEL is meant to be used in place on CHECK on lines containing identifiers or other unique labels (they need not actually be labels in the source or output language, though.) This is used to break up the input stream into separate blocks delineated by CHECK-LABEL lines, each of which is checked independently. This greatly improves the accuracy of errors and fix-it hints in many cases, and allows for FileCheck to recover from errors in one block by continuing to subsequent blocks. Some tests will be converted to use this new directive in forthcoming patches. llvm-svn: 186162
Diffstat (limited to 'clang/lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud