llvm-project/clang/test/Index
Xun Li 516803dc86 [Coroutines] Ensure co_await promise.final_suspend() does not throw
Summary:
This patch addresses https://bugs.llvm.org/show_bug.cgi?id=46256
The spec of coroutine requires that the expression co_­await promise.final_­suspend() shall not be potentially-throwing.
To check this, we recursively look at every call (including Call, MemberCall, OperatorCall and Constructor) in all code
generated by the final suspend, and ensure that the callees are declared with noexcept. We also look at any returned data
type that requires explicit destruction, and check their destructors for noexcept.

This patch does not check declarations with dependent types yet, which will be done in future patches.

Updated all tests to add noexcept to the required functions, and added a dedicated test for this patch.

This patch might start to cause existing codebase fail to compile because most people may not have been strict in tagging
all the related functions noexcept.

Reviewers: lewissbaker, modocache, junparser

Reviewed By: modocache

Subscribers: arphaman, junparser, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82029
2020-06-22 15:01:42 -07:00
..
Core [Index/USRGeneration] Make sure that ObjC properties in categories also get namescoped properly for USR generation 2020-03-07 15:07:37 -08:00
Inputs [Wdocumentation] Implement \anchor 2019-12-21 14:52:21 +01:00
USR [Index] fix USR generation for namespace{extern{X}} 2018-02-02 14:13:37 +00:00
reparse-with-remaps
skip-parsed-bodies [libclang][index][NFC] Fix test for skipping already parsed function bodies 2019-08-23 22:51:23 +00:00
IBOutletCollection.m Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
KeepGoingWithLotsOfErrors.mm DiagnosticsEngine should clear DelayedDiagID before reporting the 2017-05-04 13:56:51 +00:00
TestClassDecl.m
TestClassForwardDecl.m
allow-editor-placeholders.cpp [libclang] Pass in the -fallow-editor-placeholders option 2017-04-27 13:47:03 +00:00
annotate-attribute.cpp [libclang] Visit attributes for function and class templates 2017-10-16 23:43:02 +00:00
annotate-comments-availability-attrs.cpp Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
annotate-comments-objc.m
annotate-comments-preprocessor.c
annotate-comments-property-accessor.m
annotate-comments-typedef.m [AST] Attach comment in `/** doc */ typedef struct A {} B` to B as well as A. 2019-11-18 11:09:23 +01:00
annotate-comments-unterminated.c
annotate-comments.cpp
annotate-context-sensitive.cpp
annotate-deep-statements.cpp Replace 'REQUIRES: not_?san' with 'UNSUPPORTED: ?san' as that better 2019-05-10 17:57:22 +00:00
annotate-literals.m
annotate-macro-args.h
annotate-macro-args.m Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
annotate-module.m
annotate-nested-name-specifier.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
annotate-operator-call-expr.cpp [libclang] Fix cursors for arguments of Subscript and Call operators 2018-08-23 09:48:11 +00:00
annotate-parameterized-classes.m
annotate-subscripting.m
annotate-tokens-cxx0x.cpp
annotate-tokens-include.c
annotate-tokens-include.h
annotate-tokens-pp.c Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
annotate-tokens-preamble.c
annotate-tokens-unexposed.cpp [libclang] Only mark CXCursors for explicit attributes with a type 2018-04-24 08:39:46 +00:00
annotate-tokens-with-default-args.cpp
annotate-tokens-with-default-args.h
annotate-tokens.c Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
annotate-tokens.cpp [libclang] Fix cursors for functions with trailing return type 2018-01-03 14:35:48 +00:00
annotate-tokens.m
annotate-toplevel-in-objccontainer.m
annotate-toplevel-in-objccontainer.m.h
arc-annotate.m
arc-complete.m
asm-attribute.c
attributes-cuda.cu
attributes.c [libclang] Expose aligned() attribute. 2019-03-13 16:16:54 +00:00
availability.c Support Swift in platform availability attribute 2018-11-12 02:44:33 +00:00
availability.cpp Expose cxx constructor and method properties through libclang and python bindings. 2016-04-27 12:48:25 +00:00
blocks.c
boxed-exprs.h
boxed-exprs.m
c-index-api-loadTU-test.m Indexer: add CXObjCPropertyAttr_class for class properties. 2016-05-31 23:22:04 +00:00
c-index-getCursor-pp.c
c-index-getCursor-test.m Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
c-index-pch.c
c-index-redecls.c
c-index-unsupported-warning-test.c
cindex-from-source.m
cindex-on-invalid-usrs.m
cindex-on-invalid.m
cindex-test-inclusions.c
code-completion-skip-bodies.cpp
code-completion.cpp Fix templated type alias completion when using global completion cache 2017-09-08 09:31:13 +00:00
codecompletion-chained.cpp
comment-c-decls.c
comment-cplus-decls.cpp [DeclPrinter] Honor TerseOutput for constructors 2017-11-16 01:28:25 +00:00
comment-cplus-template-decls.cpp
comment-cplus11-specific.cpp
comment-custom-block-command.cpp
comment-lots-of-unknown-commands.c
comment-misc-tags.m
comment-objc-decls.m Clean up ObjCPropertyDecl printing 2019-04-08 19:52:45 +00:00
comment-objc-parameterized-classes.m [Test Fix] Fix broken test Index/comment-objc-parameterized-classes.m 2018-04-12 16:00:05 +00:00
comment-redeclarations.cpp [clang] Refactor doc comments to Decls attribution 2019-08-13 18:11:44 +00:00
comment-to-html-xml-conversion-with-original-literals.cpp Print enum constant values using the original source formatting 2017-08-17 13:41:55 +00:00
comment-to-html-xml-conversion.cpp [Wdocumentation] Implement \anchor 2019-12-21 14:52:21 +01:00
comment-unqualified-objc-pointer.m Clean up ObjCPropertyDecl printing 2019-04-08 19:52:45 +00:00
comment-with-preamble.c
comment-xml-schema.c [Wdocumentation] Implement \anchor 2019-12-21 14:52:21 +01:00
compile_commands.json
complete-access-checks-crash.cpp [CodeComplete] Fix the crash in code completion on access checking 2018-07-30 15:19:05 +00:00
complete-access-checks.cpp [CodeComplete] Fix accessibility of protected members when accessing members implicitly. 2018-10-22 08:47:31 +00:00
complete-and-plugins.c [Frontend] Avoid running plugins during code completion parse 2018-05-17 09:21:07 +00:00
complete-arrow-dot.cpp [libclang] Optionally add code completion results for arrow instead of dot 2018-06-13 12:37:08 +00:00
complete-at-EOF.c
complete-at-directives.m
complete-at-exprstmt.m
complete-available.m [clang] Remove redundant check-prefix=CHECK from tests. NFC. 2017-07-17 17:31:44 +00:00
complete-block-properties.m [CodeComplete] Penalize inherited ObjC properties for auto-completion 2018-11-20 22:06:54 +00:00
complete-block-property-assignment.m [CodeComplete] Penalize inherited ObjC properties for auto-completion 2018-11-20 22:06:54 +00:00
complete-blocks.m [CodeComplete] Fix crash when completing ObjC block parameter with a broken type 2019-04-04 11:34:18 +00:00
complete-cached-globals.cpp [Sema] UsingShadowDecl shouldn't be hidden by the UsingDecl that owns it 2017-01-23 17:23:23 +00:00
complete-call.cpp Fix line endings in recently updated test file 2018-06-21 12:39:24 +00:00
complete-categories.m
complete-constructor-params.cpp Don't show deleted function (constructor) candidates for code completion 2017-09-08 10:23:08 +00:00
complete-ctor-inits.cpp [clang] Improve ctor initializer completions. 2018-11-01 15:54:18 +00:00
complete-cxx-inline-methods.cpp [clang] Improve ctor initializer completions. 2018-11-01 15:54:18 +00:00
complete-declarators.cpp
complete-declarators.m
complete-designated-initializer.m [CodeCompletion] Autocomplete NS_DESIGNATED_INITIALIZER in initializers 2017-01-03 11:56:40 +00:00
complete-documentation-properties.m
complete-documentation-templates.cpp
complete-documentation.cpp
complete-enums.c
complete-enums.cpp
complete-exprs.c This reverts commit 632a36bfcfc8273c1861f04ff6758d863c47c784. 2019-07-13 06:27:35 +00:00
complete-exprs.cpp [CodeComplete] Omit templated constructors from member list too. 2018-01-22 20:44:47 +00:00
complete-exprs.m
complete-functor-call.cpp
complete-hiding.c
complete-in-invalid-method.m
complete-in-stringify.c
complete-interfaces.m [completion] complete ObjC interface names in an expression 2017-11-14 01:46:24 +00:00
complete-ivar-access.m
complete-kvc.m [CodeCompletion][ObjC] Use a parameterized NSSet return type for 2016-12-08 16:49:05 +00:00
complete-lambdas.cpp
complete-lambdas.mm
complete-macro-args.c
complete-macros.c [CodeComplete] Fix ASTUnit cached completion of macros from preamble, broken in r342528 2019-07-18 07:17:49 +00:00
complete-macros.h [CodeComplete] Fix ASTUnit cached completion of macros from preamble, broken in r342528 2019-07-18 07:17:49 +00:00
complete-member-access.m [CodeComplete] Penalize inherited ObjC properties for auto-completion 2018-11-20 22:06:54 +00:00
complete-memfunc-cvquals.cpp
complete-method-decls.m [code completion] Complete ObjC methods in @implementation without leading 2017-10-24 16:39:37 +00:00
complete-module-undef.m
complete-modules.m
complete-natural.m
complete-objc-message-id.m Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
complete-objc-message.m [CodeCompletion] Ensure that ObjC root class completes instance 2017-01-24 14:15:08 +00:00
complete-optional-params.cpp Add default values for function parameter chunks 2017-07-19 10:45:40 +00:00
complete-parameterized-classes.m
complete-pch-skip.cpp [Sema] Do not load macros from preamble when LoadExternal is false. 2018-09-19 09:34:55 +00:00
complete-pch.m
complete-pointer-and-reference-to-functions.cpp
complete-preamble.cpp
complete-preamble.h [ASTUnit] Clear out diagnostic state after creating the preamble. 2017-02-13 16:16:43 +00:00
complete-preprocessor.m [CodeComplete] Fix completion at the end of keywords 2018-04-24 13:48:53 +00:00
complete-properties.m [CodeComplete] Penalize inherited ObjC properties for auto-completion 2018-11-20 22:06:54 +00:00
complete-property-flags.m
complete-property-getset.m
complete-protocols.m
complete-qualified-cached.cpp [ASTUnit] Attempt to unbreak Windows buildbots after r366448 2019-07-18 16:24:09 +00:00
complete-qualified.cpp Set completion priority of destructors and operators to CCP_Unlikely. 2017-09-22 19:07:37 +00:00
complete-recovery.m Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
complete-stmt.c [CodeComplete] Include more text into typed chunks of pattern completions 2019-06-04 09:26:08 +00:00
complete-super.cpp Do not add a colon chunk to the code completion of class inheritance access modifiers 2017-10-24 13:46:58 +00:00
complete-super.m Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
complete-switch.c [clang] Fix a null pointer dereference. 2018-10-23 13:49:37 +00:00
complete-synthesized.m
complete-tabs.c
complete-template-friends-defined.cpp
complete-template-keywords.cpp [CodeComplete] Make sure keyword 'template' is added even when code pattern is disabled. 2018-10-15 12:37:23 +00:00
complete-templates.cpp
complete-type-factors.m [CodeComplete] Do not complete self-initializations 2018-11-07 10:02:31 +00:00
complete-unterminated.c
complete-with-annotations.cpp Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
coroutines.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
crash-preamble-classes.cpp [Sema] Add implicit members even for invalid CXXRecordDecls 2018-02-02 08:40:08 +00:00
crash-recovery-code-complete.c Do not run tests for crash recovery if libstdc++ safe mode is enabled 2017-04-15 05:53:49 +00:00
crash-recovery-modules.m Make test check position independent as they sometimes come out reversed. NFCI. 2019-09-13 22:12:27 +00:00
crash-recovery-reparse.c Do not run tests for crash recovery if libstdc++ safe mode is enabled 2017-04-15 05:53:49 +00:00
crash-recovery.c Do not run tests for crash recovery if libstdc++ safe mode is enabled 2017-04-15 05:53:49 +00:00
create-libclang-completion-reproducer.c Recommit r329442: Generate Libclang invocation reproducers using a new 2018-04-07 00:03:27 +00:00
create-libclang-parsing-reproducer.c Recommit r329442: Generate Libclang invocation reproducers using a new 2018-04-07 00:03:27 +00:00
create-tu-fail.c
ctor-init-source-loc.cpp Recommit r306103: PR26195: Set correct NestedNameSpecifierLoc for the 2017-06-27 10:35:30 +00:00
cursor-dynamic-call.mm [libclang] Enhance clang_Cursor_isDynamicCall and clang_Cursor_getReceiverType to handle ObjC property references 2017-04-27 17:23:04 +00:00
cursor-ref-names.cpp
cxx-operator-overload.cpp
cxx.cl [OpenCL] Added addrspace_cast operator in C++ mode. 2020-05-18 12:07:54 +01:00
cxx11-lambdas.cpp [Index] Index paremeters in lambda expressions. 2018-12-19 13:44:41 +00:00
cxx14-lambdas.cpp [libclang] visit c++14 lambda capture init expressions 2019-05-21 09:21:35 +00:00
cxx17-if-with-initializer.cpp [libclang]: visit C++17 if init statements 2020-05-02 22:18:36 +02:00
cxx17-structured-binding.cpp [libclang]: visit BindingDecl in DecompositionDecl 2020-05-02 22:18:31 +02:00
error-on-deserialized.c
evaluate-cursor.cpp [libclang] Fix hang in release / assertion in debug when evaluating value-dependent types. 2019-07-09 14:27:01 +00:00
file-includes.c
file-macro-refs.c
file-refs-subscripting.m
file-refs.c
file-refs.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
file-refs.m
fix-its.c
fix-its.m
format-comment-cdecls.c
get-cursor-includes.c
get-cursor-macro-args.h
get-cursor-macro-args.m Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
get-cursor.c
get-cursor.cpp [libclang] Stop assuming that the internal C++ ABI ExceptionSpecificationType enumeration is the same as CXCursor_ExceptionSpecificationKind. 2018-05-11 19:46:31 +00:00
get-cursor.m [libclang] Introduce clang_Cursor_isExternalSymbol that provides info about decls marked with external_source_symbol attribute 2017-05-10 15:10:36 +00:00
getcursor-pp-pch.c
getcursor-pp-pch.c.h
getcursor-preamble.h
getcursor-preamble.m
getcursor-recovery.cpp [AST] Preserve the type in RecoveryExprs for broken function calls. 2020-05-11 08:46:18 +02:00
headerfile-comment-to-html.m Fix typos in clang 2018-04-06 15:14:32 +00:00
ignore-warnings-from-headers.cpp [libclang] Allow skipping warnings from all included files 2019-06-11 14:14:24 +00:00
ignore-warnings-from-headers.h [libclang] Allow skipping warnings from all included files 2019-06-11 14:14:24 +00:00
implicit-attrs.m [libclang 6/8] Add support for reading implicit attributes 2018-08-03 05:20:23 +00:00
in-class-init.cpp
include_test.h
include_test_2.h
index-anonymous-union-fields.cpp [Index] Correctly set symbol kind of IndirectFieldDecl 2019-05-29 10:11:14 +00:00
index-attrs.c Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
index-attrs.cpp Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
index-attrs.m [libclang 5/8] Add support for ObjC attributes without args 2018-08-03 05:03:22 +00:00
index-decls.m [index] Improvde how we handle synthesized ObjC properties and the associated ivars. 2017-02-17 04:49:41 +00:00
index-designated-init-recovery.cpp [clang][index] Fix a crash for accessing a null field decl. 2020-05-21 09:47:36 +02:00
index-file.cpp Expose cxx constructor and method properties through libclang and python bindings. 2016-04-27 12:48:25 +00:00
index-file.cu
index-invalid-code.m
index-kernel-invocation.cpp
index-local-symbol.cpp [Index] Respect "IndexFunctionLocals" option for type loc. 2018-10-04 11:03:55 +00:00
index-many-call-ops.cpp Replace 'REQUIRES: not_?san' with 'UNSUPPORTED: ?san' as that better 2019-05-10 17:57:22 +00:00
index-many-logical-ops.c Replace 'REQUIRES: not_?san' with 'UNSUPPORTED: ?san' as that better 2019-05-10 17:57:22 +00:00
index-module-with-vfs.m Fix `sed -e s@FOO@%/S@` and similar when there's @'s in the working directory 2019-12-03 15:44:01 -08:00
index-module.m [coroutines] Support "coroutines" feature in module map requires clause 2017-05-28 21:07:22 +00:00
index-pch-objc.m
index-pch-with-module.m
index-pch.cpp Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
index-refs.cpp [clang][Index] Fix usage of IndexImplicitInstantiation 2019-02-18 11:30:43 +00:00
index-refs.m
index-subscripting-literals.m [libclang] Add `CXSymbolRole role` to CXIdxEntityRefInfo 2018-02-12 17:42:09 +00:00
index-suppress-refs.cpp
index-suppress-refs.h
index-suppress-refs.hpp
index-suppress-refs.m
index-template-specialization.cpp [Index] Report specialization bases as references when IndexImplicitInstantiation is true 2018-09-23 08:23:48 +00:00
index-template-template-param.cpp Fix indexer crash for default template template parameter value 2017-10-10 21:09:49 +00:00
index-templates.cpp [clang] Make handling of unnamed template params similar to function params 2019-10-01 14:08:51 +00:00
index-with-working-dir.c
initializer-memory.cpp
invalid-code-rdar10451854.m
invalid-code-rdar_7833619.m
invalid-rdar-8236270.cpp
keep-going-include-cycle.c [Preprocessor] Don't avoid entering included files after hitting a fatal error. 2018-12-07 20:29:54 +00:00
keep-going-template-instantiations.cpp [libclang] Fix CXTranslationUnit_KeepGoing 2019-03-07 10:13:50 +00:00
keep-going.cpp [libclang] Fix CXTranslationUnit_KeepGoing 2019-03-07 10:13:50 +00:00
linkage.c Change enumerator default linkage type for C 2017-07-01 00:06:27 +00:00
lit.local.cfg [AIX][test/Index] Set/propagate AIXTHREAD_STK for AIX 2019-08-13 13:38:15 +00:00
load-classes.cpp [libclang] Add support for checking abstractness of records 2017-12-14 22:01:50 +00:00
load-decls.c
load-exprs.c
load-namespaces.cpp
load-staticassert.cpp [test] Test that static_assert is properly visited in liblcang 2016-11-04 12:04:16 +00:00
load-stmts.cpp
local-symbols.m
missing_vfs.c Make test more robust by writing stdout/stderr to different files. 2019-04-29 22:57:15 +00:00
modules-objc-categories.m
ms-if-exists.cpp
ms-property.cpp [index] Fixup for r354942. Specify target in test to achieve stable mangling. 2019-02-27 01:37:43 +00:00
namespaced-base-ctor-init.cpp
nested-binaryoperators.cpp
nullability.c [libclang 4/8] Add the clang_Type_getNullability() API 2018-08-03 04:38:04 +00:00
objc-typeargs-protocols.m [libclang 1/8] Add support for ObjCObjectType 2018-08-03 03:03:20 +00:00
opencl-types.cl [OpenCL] Pretty print __private addr space 2019-12-27 13:42:07 +00:00
overrides.cpp
overrides.m
overriding-ftemplate-comments.cpp Fix an Index test caused by a clang-format change (r332436). 2018-05-16 12:58:13 +00:00
overriding-method-comments.mm [ASTPrinter] Print nested name specifiers for out-of-line functions 2017-04-11 16:46:03 +00:00
paren-type.c [libclang] Fix the type of 'int (Foo);' 2018-05-01 20:45:25 +00:00
parse-all-comments.c
pch-depending-on-deleted-module.c
pch-from-libclang.c BitStream reader: propagate errors 2019-06-26 19:50:12 +00:00
pch-opaque-value.cpp
pch-warn-as-error-code-split.cpp [test] Add 'env' to fix test failures in windows bots. 2016-07-13 22:03:47 +00:00
pch-warn-as-error-code-split.h [PCH/preamble] Make sure that if the preamble/PCH was serialized with errors that we set diagnostic engine state appropriately. 2016-07-13 20:35:26 +00:00
pch-warn-as-error-code.cpp [PCH/preamble] Make sure that if the preamble/PCH was serialized with errors that we set diagnostic engine state appropriately. 2016-07-13 20:35:26 +00:00
pch-with-errors.c [pch] Honour -fallow-pch-with-compiler-errors for overall compilation status 2020-03-31 13:50:12 -07:00
pch-with-errors.m
pch-with-module.m
pipe-size.cl [OpenCL] Add separate read_only and write_only pipe IR types 2018-04-27 10:37:04 +00:00
pr20320.cpp Mark invalid RecordDecls as completed. 2016-10-27 08:37:14 +00:00
pr20320.h Mark invalid RecordDecls as completed. 2016-10-27 08:37:14 +00:00
pragma-diag-reparse.c [Diagnostic] add a warning which warns about misleading indentation 2019-12-03 21:21:27 +01:00
preamble-conditionals-crash.cpp Fixed a crash on replaying Preamble's PP conditional stack. 2017-08-21 12:03:08 +00:00
preamble-conditionals-inverted-with-error.cpp Fix recording preamble's conditional stack in skipped PP branches. 2017-09-12 08:35:57 +00:00
preamble-conditionals-inverted.cpp [preamble] Also record the "skipping" state of the preprocessor 2017-11-03 09:40:07 +00:00
preamble-conditionals-skipping.cpp [preamble] Also record the "skipping" state of the preprocessor 2017-11-03 09:40:07 +00:00
preamble-conditionals.cpp Fixed a crash on replaying Preamble's PP conditional stack. 2017-08-21 12:03:08 +00:00
preamble-reparse-chained.c
preamble-reparse-cmd-define.c
preamble-reparse-cmd-define.c.h
preamble-reparse-cmd-define.c.remap
preamble-reparse-import.m
preamble-reparse-import.m-1.h
preamble-reparse-import.m-2.h
preamble-reparse-import.m-3.h
preamble-reparse-warn-end-of-file.c
preamble-reparse-warn-macro.c
preamble-reparse-with-BOM.m
preamble-reparse.c
preamble-with-implicit-import.m
preamble.c
preamble_macro_template.cpp
print-bitwidth.c
print-cxx-manglings.cpp
print-display-names.cpp [AST] Use written names instead of `type-param-0-0` in more cases when printing types and decls. 2019-11-15 10:40:38 +01:00
print-mangled-name.cpp
print-objc-manglings.m [index] Generate class & metaclass manglings for objc 2017-09-22 16:58:57 +00:00
print-type-cxx11.cpp
print-type-declaration.cpp [libclang] Support for querying whether an enum is scoped 2017-07-12 11:35:11 +00:00
print-type-size.c Add an explicit triple to this test to hopefully appease the build bots. 2019-05-07 14:40:37 +00:00
print-type-size.cpp [libclang] Avoid crashing when getting layout info of an undeduced type. 2019-02-26 15:04:18 +00:00
print-type.c Expose AtomicType in the libclang C API. 2020-04-16 08:06:58 -04:00
print-type.cpp Refactor CompareReferenceRelationship and its callers in preparation for 2019-12-18 14:05:57 -08:00
print-type.m [Sema] Fix Modified Type in address_space AttributedType 2019-01-24 00:11:35 +00:00
print-usrs.c
properties-class-extensions.m [libclang] Sync-up the way top-level decls in an ASTUnit are handled with how decls in a DeclContext are handled. 2016-07-01 19:10:54 +00:00
property-getter-setter.m [libclang 7/8] Add support for getting property setter and getter names 2018-08-03 05:38:29 +00:00
rdar-8288645-invalid-code.mm
rdar12316296-codecompletion.m
read-empty-diags.test [Frontend] Verify that the bitstream is not empty before reading 2017-07-07 10:25:12 +00:00
record-completion-invocation.c [libclang] Record code-completion invocations to a temporary file when 2017-12-07 20:37:50 +00:00
record-parsing-invocation.c Fix another record-parsing-invocation.c test issue on Windows 2017-12-05 23:04:12 +00:00
recover-bad-code-rdar_7487294.c [lit] Improve tool substitution in lit. 2017-10-06 17:54:46 +00:00
recursive-cxx-member-calls.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
recursive-member-access.c
redeclarations.cpp
remap-complete.c
remap-cursor-at.c
remap-load.c [Clang] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-20 01:02:18 +00:00
reparse-instantiate.cpp
reparse-predef-objc-protocol.m
reparsed-live-issue.cpp Add missing "env" so that test added in r327322 passes on Windows bots. 2018-03-13 00:41:44 +00:00
retain-comments-from-system-headers.c [Clang] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-20 01:02:18 +00:00
retain-excluded-conditional-blocks.m [preprocessor] Add an opportunity to retain excluded conditional blocks 2019-08-27 22:15:32 +00:00
retain-target-options.c
single-file-parse.m [preprocessor] Fix assertion hit when 'SingleFileParseMode' option is enabled and #if with an undefined identifier and without #else 2017-06-21 18:52:44 +00:00
skipped-bodies-ctors.cpp [Frontend] Correctly handle instantiating ctors with skipped bodies 2017-12-28 13:05:46 +00:00
skipped-bodies-templates.cpp [Frontend] Handle skipped bodies in template instantiations 2017-12-20 14:32:38 +00:00
skipped-bodies-unused.cpp [Sema] Do not show unused parameter warnings when body is skipped 2018-10-24 08:29:24 +00:00
skipped-function-bodies.cpp Renamed test file to use proper naming convention 2017-12-14 14:51:17 +00:00
skipped-ranges.c [Lexer] Report more precise skipped regions (PR34166) 2017-09-11 20:47:42 +00:00
subclass-comment.mm
symbol-visibility.c clang-c: Add the clang_getCursorVisibility() API 2016-05-31 15:55:51 +00:00
target-info.c [libclang] Expose some target information via the C API. 2017-04-28 15:56:39 +00:00
targeted-annotation.c
targeted-cursor.c
targeted-cursor.m
targeted-cursor.m.h
targeted-fields.h
targeted-file-refs.c
targeted-nested1.h
targeted-preamble.h
targeted-top.h
unmatched-braces.c
unmatched-braces.m
usrs-cxx0x.cpp
usrs.cpp [clang][Index] Visit UsingDecls and generate USRs for them 2019-02-26 14:23:12 +00:00
usrs.m [modules] Teach clang how to merge typedef over anonymous structs in C mode. 2017-07-01 20:44:49 +00:00
visibility.c
warning-flags.c [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
werror.c