[llvm-bugs] [Bug 42057] New: Invalid std::function syntax in struct causes segfault

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 29 05:10:13 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: stan.vaessen at prodrive-technologies.com
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190529/a955cee0/attachment.html>


More information about the llvm-bugs mailing list