[llvm-bugs] [Bug 33754] New: missing tests for the non-deprecated Thread Safety Analysis attributes

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 11 21:26:15 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33754

            Bug ID: 33754
           Summary: missing tests for the non-deprecated Thread Safety
                    Analysis attributes
           Product: clang
           Version: trunk
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: danielgb at au1.ibm.com
                CC: llvm-bugs at lists.llvm.org

Despite the newer attributes in docs/ThreadSafetyAnalysis.rst referencing
acquire_capability and other non-deprecated or replaced attributes, there are
only tests that verify their syntax (test/Sema/attr-capabilities.c).

There are no functional tests for these newer, non-deprecated or replaced,
attributes.

The following tests only test the deprecated or replaced attributes:

test/SemaCXX/warn-thread-safety-verbose.cpp
test/SemaCXX/warn-thread-safety-analysis.cpp

-- 
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/20170712/89ea7983/attachment-0001.html>


More information about the llvm-bugs mailing list