teak-llvm/lldb/packages/Python/lldbsuite/test/commands/expression
Raphael Isemann 7ead008729 [lldb] Fix crash in AccessDeclContextSanity when copying FunctionTemplateDecl inside a record.
Summary:
We currently don't set access specifiers for function template declarations. This seems to be fine
as long as the function template is not declared inside any record in which case Clang asserts
with the following once we try to query it's access:
```
Assertion failed: (Access != AS_none && "Access specifier is AS_none inside a record decl"), function AccessDeclContextSanity,
```

This patch just marks these function template declarations as public to make Clang happy.

Reviewers: shafik, teemperor

Reviewed By: teemperor

Subscribers: JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D71909
2020-01-02 14:47:04 +01:00
..
anonymous-struct [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
argument_passing_restrictions [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
calculator_mode [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
call-function [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
call-overridden-method [lldb] Xfail TestCallOverriddenMethod.py for aarch64/linux 2019-12-09 16:38:33 +05:00
call-restarts [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
call-throws [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
cast_int_to_anonymous_enum [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
char [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
class_template_specialization_empty_pack [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
codegen-crash-typedefdecl-not-in_declcontext [ASTImporter][LLDB] Modifying ImportDeclContext(...) to ensure that we complete each FieldDecl of a RecordDecl when we are importing the definiton 2019-12-19 11:16:54 -08:00
completion [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
completion-crash1 [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
completion-crash-incomplete-record [ASTImporter][LLDB] Modifying ImportDeclContext(...) to ensure that we complete each FieldDecl of a RecordDecl when we are importing the definiton 2019-12-19 11:16:54 -08:00
completion-in-lambda-and-unnamed-class [lldb][NFC] Remove test directory completely 2019-11-21 15:03:37 +03:00
context-object [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
context-object-objc Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
diagnostics [lldb] Print better diagnostics for user expressions and modules 2019-09-18 08:53:35 +00:00
dollar-in-variable [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
dont_allow_jit [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
entry-bp [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
expr-in-syscall [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
fixits [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
formatters [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
function_template_specialization_temp_args [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
ignore-artificial-constructors [lldb] X-fail tests that use constructors in expressions on Windows 2019-10-17 21:27:26 +00:00
import_builtin_fileid Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
import-std-module [lldb] Don't enable expression log in TestEmptyStdModule.py 2019-11-22 08:34:08 +01:00
inline-namespace [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
invalid-args [lldb][NFC] Remove unnecessary constructors from invalid-args tests 2019-09-03 09:25:02 +00:00
ir-interpreter [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
ir-interpreter-phi-nodes [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
issue_11588 [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
macros [lldb][test] Don't include "test_common.h" in the debug macros test 2019-12-26 18:49:36 +03:00
multiline-completion [lldb/test] Skip editline tests when LLDB_ENABLE_LIBEDIT is off. 2019-12-20 21:01:23 -08:00
multiline-navigation [lldb/test] Skip editline tests when LLDB_ENABLE_LIBEDIT is off. 2019-12-20 21:01:23 -08:00
namespace_local_var_same_name_cpp_and_c [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
namespace_local_var_same_name_obj_c Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
no-deadlock Explicitly specify -std=c++11 and include <mutex> and <condition_variable>. 2019-12-16 18:09:24 -08:00
options [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
persist_objc_pointeetype [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
persistent_ptr_update [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
persistent_types [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
persistent_variables [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
po_verbosity [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
pr35310 [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
radar_8638051 [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
radar_9531204 [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
radar_9673664 [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
rdar42038760 [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
rdar44436068 [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
regression-access-function-template-in-record [lldb] Fix crash in AccessDeclContextSanity when copying FunctionTemplateDecl inside a record. 2020-01-02 14:47:04 +01:00
save_jit_objects [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
scoped_enums [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
static-initializers Mark some tests as xfail on AArch64 Linux 2019-12-03 10:57:42 +01:00
test [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
timeout [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
top-level [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
two-files [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
unicode-in-variable [dotest] Delete trivial inline test makefiles 2019-09-05 06:55:23 +00:00
unwind_expression [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
vector_of_enums [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
weak_symbols [lldb][NFC] Remove all setUp overrides that only call the parent implementation 2019-12-13 12:34:49 +01:00
xvalue [lldb][NFC] Remove 'from __future__ import print_function' from all tests that don't actually call 'print()' 2019-12-13 12:23:04 +01:00
.categories