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: unassignedclangb...@nondot.org
          Reporter: dpldob...@protonmail.com
                CC: kli...@google.com, llvm-bugs@lists.llvm.org,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to