llvm-project/clang/unittests
Hans Wennborg 749c1b597a Java annotation declaration being handled correctly
Previously, Java annotation declarations (@interface AnnotationName) were being
handled as ObjC interfaces. This caused the brace formatting to mess up, so
that when you had a class with an interface defined in it, it would indent the
final brace of the class.

It used to format this class like so:

  class A {
    @interface B {}
    }

But will now just skip the @interface and format it like so:

  class A {
    @interface B {}
  }

Patch by Sam Maier!

Differential Revision: https://reviews.llvm.org/D53434

llvm-svn: 344789
2018-10-19 16:19:52 +00:00
..
AST [ASTImporter] Added error handling for AST import. 2018-10-19 13:32:20 +00:00
ASTMatchers Revert "[ASTMatchers] Fix DynamicASTMatchersTests again" 2018-10-03 22:56:26 +00:00
Analysis [NFC] Declare instead of define non-void functions in unit tests. 2018-09-19 20:27:25 +00:00
Basic Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
CodeGen Unit tests for TBAA metadata generation. 2017-12-22 15:22:45 +00:00
CrossTU IWYU for llvm-config.h in clang. See r331124 for details. 2018-04-30 13:52:15 +00:00
Driver Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Format Java annotation declaration being handled correctly 2018-10-19 16:19:52 +00:00
Frontend [Fixed Point Arithmetic] Fix for FixedPointValueToString 2018-08-06 16:05:08 +00:00
Index Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Lex Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Rename Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Rewrite [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
Sema [SemaCodeComplete] Make sure visited contexts are passed to completion results handler. 2018-07-04 10:01:18 +00:00
StaticAnalyzer Fix unittest build with GCC older than 5. 2018-06-28 13:31:36 +00:00
Tooling Make YAML quote forward slashes. 2018-10-12 16:31:20 +00:00
libclang Revert r336590 "[libclang] evalute compound statement cursors before trying to evaluate" 2018-07-10 19:49:07 +00:00
CMakeLists.txt [Index] Add an option to collect macros from preprocesor. 2018-09-18 08:51:08 +00:00