llvm-project/clang/unittests
Daniel Jasper 9326f91922 clang-format: [JS] support optional methods.
Optional methods use ? tokens like this:

  interface X { y?(): z; }

It seems easiest to detect and disambiguate these from ternary
expressions by checking if the code is in a declaration context. Turns
out that that didn't quite work properly for interfaces in Java and JS,
and for JS file root contexts.

Patch by Martin Probst, thank you.

llvm-svn: 236488
2015-05-05 08:40:32 +00:00
..
AST Fix a few line endings. NFC. 2015-05-01 02:04:32 +00:00
ASTMatchers Add conversionDecl matcher for node CXXConversionDecl. 2015-04-20 20:58:50 +00:00
Basic Switch PPCallbacks to take the new MacroDefinition instead of MacroDirective*, in order to preserve full information on module macro expansion. 2015-05-04 03:15:40 +00:00
CodeGen Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
Driver Update unit test for r232916. 2015-03-22 16:05:46 +00:00
Format clang-format: [JS] support optional methods. 2015-05-05 08:40:32 +00:00
Frontend Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
Lex [modules] Start moving the module visibility information off the Module itself. 2015-05-01 01:53:09 +00:00
Rewrite [Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it. 2015-03-08 04:00:33 +00:00
Sema Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
StaticAnalyzer [analyzer] Individual configuration options can be specified for checkers. 2015-03-04 17:59:34 +00:00
Tooling Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
libclang Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
CMakeLists.txt [Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it. 2015-03-08 04:00:33 +00:00
Makefile [Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it. 2015-03-08 04:00:33 +00:00