https://bugs.llvm.org/show_bug.cgi?id=42057
Bug ID: 42057
Summary: Invalid std::function syntax in struct causes segfault
Product: clang
Version: 8.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++17
Assignee: unassignedclangb...@nondot.org
Reporter: stan.vaes...@prodrive-technologies.com
CC: blitzrak...@gmail.com, erik.pilking...@gmail.com,
llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
Created attachment 22043
--> https://bugs.llvm.org/attachment.cgi?id=22043&action=edit
CodeExample
Having invalid std::function syntax inside a struct causes a segfault in
clang-tidy-8 (See attachments)
-- Version info
clang-tidy-8 --version
LLVM (http://llvm.org/):
LLVM version 8.0.1
Optimized build.
Default target: x86_64-pc-linux-gnu
Host CPU: skylake-avx512
gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cat /etc/debian_version
9.9
cat /proc/version
Linux version 4.20.17-pd-4.20.y (mdg@lnxdevrm01) (gcc version 6.3.0 20170516
(Debian 6.3.0-18+deb9u1)) #20190430 SMP Tue Apr 30 22:38:36 CEST 2019
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs