hanchenye-llvm-project/clang/test/Index
Serge Pavlov a693b907c7 Do not run tests for crash recovery if libstdc++ safe mode is enabled
If expensive checks are enabled, safe mode of libstdc++ is enabled too.
In this mode the library uses more complex data that allow additional
checks, for instance, a container may keep list of iterators that points
to it. If a code crashes it can leave these complex library objects in
inconsistent state. It occurs in a few tests that check error recovery
if compiler crashes. These test hang in expensive check mode, as the
library tries to synchronize access to the iterators pointing to some
container, but corresponding mutex remains locked after the crash.

This fix marks these tests as unsupported if clang is built with
libstdc++ safe mode enabled.

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

llvm-svn: 300392
2017-04-15 05:53:49 +00:00
..
Core [index] When indexing system headers make sure to report important reference relations 2017-03-23 16:34:47 +00:00
Inputs [Modules] Don't infinite recurse on implicit import of circular modules in preamble 2016-02-11 17:04:42 +00:00
reparse-with-remaps
skip-parsed-bodies clang/test/Index/skip-parsed-bodies/compile_commands.json: Appease targeting msvc. 2016-02-10 01:45:51 +00:00
IBOutletCollection.m
TestClassDecl.m
TestClassForwardDecl.m
annotate-attribute.cpp
annotate-comments-availability-attrs.cpp AvailabilityAttr: we accept "macos" as the platform name. 2016-06-28 20:55:30 +00:00
annotate-comments-objc.m
annotate-comments-preprocessor.c
annotate-comments-property-accessor.m
annotate-comments-typedef.m
annotate-comments-unterminated.c
annotate-comments.cpp
annotate-context-sensitive.cpp
annotate-deep-statements.cpp
annotate-literals.m
annotate-macro-args.h
annotate-macro-args.m
annotate-module.m [libclang] Make sure to use the raw module format for libclang parsing. 2015-11-20 03:36:21 +00:00
annotate-nested-name-specifier.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +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
annotate-tokens-preamble.c
annotate-tokens-with-default-args.cpp
annotate-tokens-with-default-args.h
annotate-tokens.c [libclang] Fix issue with clang_tokenize and make sure it interprets CXSourceRange as half-open character range. 2016-11-09 23:58:39 +00:00
annotate-tokens.cpp
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
availability.c AvailabilityAttr: we accept "macos" as the platform name. 2016-06-28 20:55:30 +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
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 Show inclusions from a preamble in clang_getInclusions. 2016-01-06 15:12:51 +00:00
code-completion-skip-bodies.cpp
code-completion.cpp
codecompletion-chained.cpp
comment-c-decls.c
comment-cplus-decls.cpp [ASTPrinter] Print nested name specifiers for out-of-line functions 2017-04-11 16:46:03 +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
comment-objc-parameterized-classes.m Fix printing of parameterized Objective-C interfaces. 2015-10-01 00:53:13 +00:00
comment-to-html-xml-conversion.cpp Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
comment-unqualified-objc-pointer.m
comment-with-preamble.c
comment-xml-schema.c
compile_commands.json
complete-access-checks.cpp
complete-at-EOF.c
complete-at-directives.m
complete-at-exprstmt.m
complete-block-properties.m [CodeCompletion] Format block parameter placeholders in implicit property 2017-03-13 15:43:42 +00:00
complete-block-property-assignment.m [CodeCompletion] Block property setters: Use dynamic priority heuristic 2017-01-06 12:00:44 +00:00
complete-blocks.m
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
complete-categories.m
complete-constructor-params.cpp
complete-ctor-inits.cpp
complete-cxx-inline-methods.cpp
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
complete-exprs.cpp
complete-exprs.m
complete-functor-call.cpp
complete-hiding.c
complete-in-invalid-method.m
complete-in-stringify.c
complete-interfaces.m
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
complete-macros.h
complete-member-access.m
complete-memfunc-cvquals.cpp
complete-method-decls.m Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
complete-module-undef.m
complete-modules.m [libclang] Make sure to use the raw module format for libclang parsing. 2015-11-20 03:36:21 +00:00
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
complete-parameterized-classes.m
complete-pch.m
complete-pointer-and-reference-to-functions.cpp
complete-preamble.cpp [libclang] Add a flag to create the precompiled preamble on the first parse. 2015-12-15 09:30:31 +00:00
complete-preamble.h [ASTUnit] Clear out diagnostic state after creating the preamble. 2017-02-13 16:16:43 +00:00
complete-preprocessor.m
complete-properties.m [CodeCompletion] Provide Objective-C class property completion results 2016-12-08 15:09:40 +00:00
complete-property-flags.m Define weak and __weak to mean ARC-style weak references, even in MRC. 2015-10-22 18:38:17 +00:00
complete-property-getset.m
complete-protocols.m
complete-qualified.cpp
complete-recovery.m Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
complete-stmt.c
complete-super.cpp
complete-super.m Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
complete-synthesized.m
complete-tabs.c
complete-template-friends-defined.cpp
complete-templates.cpp
complete-type-factors.m
complete-unterminated.c
complete-with-annotations.cpp
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 Do not run tests for crash recovery if libstdc++ safe mode is enabled 2017-04-15 05:53:49 +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-tu-fail.c
cursor-dynamic-call.mm
cursor-ref-names.cpp
cxx-operator-overload.cpp
cxx11-lambdas.cpp
error-on-deserialized.c
evaluate-cursor.cpp [libclang] Add APIs to check the result of an integer expression in CXEvalResult without overflow 2016-12-01 23:41:27 +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
get-cursor.c
get-cursor.cpp Fix for clang_Cursor_getSpellingNameRange() 2016-12-20 09:56:56 +00:00
get-cursor.m [index/AST] Determine if a typedef shares a name and spelling location with its underlying tag type 2017-03-21 16:56:02 +00:00
getcursor-pp-pch.c
getcursor-pp-pch.c.h
getcursor-preamble.h
getcursor-preamble.m
headerfile-comment-to-html.m
in-class-init.cpp
include_test.h
include_test_2.h
index-attrs.c libclang: expose dllexport, dllimport attributes 2015-12-10 18:45:18 +00:00
index-attrs.cpp libclang: expose dllexport, dllimport attributes 2015-12-10 18:45:18 +00:00
index-attrs.m
index-decls.m [index] Improvde how we handle synthesized ObjC properties and the associated ivars. 2017-02-17 04:49:41 +00: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-many-call-ops.cpp [test] After r262290 reducing stack usage, try re-enabling asan on the related test. 2016-03-01 04:40:20 +00:00
index-many-logical-ops.c [test] Re-enable asan on the test, stack usage should be lower. 2016-03-03 05:33:48 +00:00
index-module-with-vfs.m
index-module.m [index] When indexing an ObjC method declaration use its base name for the location. 2017-01-26 02:11:50 +00:00
index-pch-objc.m
index-pch-with-module.m
index-pch.cpp
index-refs.cpp [libclang] indexing: make sure to not visit init-list expressions twice. 2016-02-09 19:07:24 +00:00
index-refs.m [index] libclang: Make sure to treat forward ObjC protocols as ObjCProtocolRef declarations, and fix related crash. 2016-03-09 02:12:46 +00:00
index-subscripting-literals.m
index-suppress-refs.cpp
index-suppress-refs.h
index-suppress-refs.hpp
index-suppress-refs.m
index-templates.cpp Check that template template arguments match template template parameters 2017-01-09 23:54:33 +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.cpp [libclang] Restore the CXXRecordDecl path for clang_Type_getNumTemplateArguments and clang_Type_getTemplateArgumentAsType 2016-12-16 21:40:16 +00:00
linkage.c [modules] Follow the C++ standard's rule for linkage of enumerators: they have 2015-11-13 03:52:13 +00:00
load-classes.cpp [index] Expose FriendDecl 2016-11-04 06:29:27 +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
modules-objc-categories.m
ms-if-exists.cpp
namespaced-base-ctor-init.cpp Preserve source location information for qualified names used in a constructor 2015-12-12 02:17:54 +00:00
nested-binaryoperators.cpp
opencl-types.cl [libclang] [OpenCL] Expose half type. 2017-02-10 15:51:11 +00:00
overrides.cpp
overrides.m
overriding-ftemplate-comments.cpp Fix Index test after recent clang-format change. 2017-02-01 10:00:10 +00:00
overriding-method-comments.mm [ASTPrinter] Print nested name specifiers for out-of-line functions 2017-04-11 16:46:03 +00:00
parse-all-comments.c
pch-depending-on-deleted-module.c
pch-from-libclang.c [GeneratePCHAction] If preprocessor option 'AllowPCHWithCompilerErrors' is enabled, don't delete the produced PCH file if error diagnostics occurred. 2017-02-27 03:52:36 +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-with-errors.m
pch-with-module.m
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
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 [Modules] Don't infinite recurse on implicit import of circular modules in preamble 2016-02-11 17:04:42 +00:00
preamble.c
preamble_macro_template.cpp
print-bitwidth.c
print-cxx-manglings.cpp Index: provide adjustment thunk information for C++ manglings 2016-02-06 22:36:34 +00:00
print-display-names.cpp
print-mangled-name.cpp Make clang_Cursor_getMangling not mangle if the declaration isn't mangled 2015-10-08 00:01:20 +00:00
print-type-cxx11.cpp
print-type-declaration.cpp [libclang] Handle AutoType in clang_getTypeDeclaration 2016-01-07 09:20:40 +00:00
print-type-size.cpp
print-type.c [libclang] Expose the ElaboratedType 2016-05-03 06:58:29 +00:00
print-type.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
print-type.m Indexer: add CXObjCPropertyAttr_class for class properties. 2016-05-31 23:22:04 +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
rdar-8288645-invalid-code.mm
rdar12316296-codecompletion.m
recover-bad-code-rdar_7487294.c
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
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-target-options.c
skipped-ranges.c
subclass-comment.mm
symbol-visibility.c clang-c: Add the clang_getCursorVisibility() API 2016-05-31 15:55:51 +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
usrs.m [index] Distinguish USRs of anonymous enums by using their first enumerator. 2016-03-04 07:17:53 +00:00
visibility.c
warning-flags.c
werror.c