[llvm-bugs] [Bug 39924] New: clang-format: poor handling of openmp pragmas

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Dec 8 09:05:32 PST 2018


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

            Bug ID: 39924
           Summary: clang-format: poor handling of openmp pragmas
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

E.g. it produces:

#ifdef HAVE_OPENMP
#pragma omp task default(none) shared(wavelet) depend(                        
\
    in                                                                        
\
    : wavelet.bands[2]->data.data() [:wavelet.bands[2]->data.size()])         
\
    depend(in                                                                 
\
           : wavelet.bands[0]->data.data() [:wavelet.bands[0]->data.size()])  
\
        depend(out                                                            
\
               : lowpass_storage.data() [:lowpass_storage.size()])
#endif

-- 
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/20181208/b21cd3e1/attachment-0001.html>


More information about the llvm-bugs mailing list