[llvm-bugs] [Bug 48703] New: Make clang::sema::AnalysisBasedWarnings::DefaultPolicy accessible by address

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jan 9 12:36:46 PST 2021


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

            Bug ID: 48703
           Summary: Make clang::sema::AnalysisBasedWarnings::DefaultPolicy
                    accessible by address
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dpldobrev at protonmail.com
                CC: klimek at google.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

clang::sema::AnalysisBasedWarnings::getDefaultPolicy() returns by value which
means clang::sema::AnalysisBasedWarnings::Policy::disableCheckFallThrough(), as
well as any future public methods, is useless.

-- 
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/20210109/e17d501b/attachment.html>


More information about the llvm-bugs mailing list