Use a separate templated QuarantineBlocks class to avoid a zero-length array
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| compiler-rt/lib/scudo/standalone/secondary.h | ||
|---|---|---|
| 365–375 | ||
Comment Actions
LGTM with suggested change
| compiler-rt/lib/scudo/standalone/secondary.h | ||
|---|---|---|
| 365–375 | UNREACHABLE("Not implemented!"); | |
| compiler-rt/lib/scudo/standalone/secondary.h | ||
|---|---|---|
| 372 | Explicit specializations must appear at namespace/top-level scope, not inside the class. /* [temp.expl.spec]                                                           
                                                                               
    An explicit specialization shall be declared in the namespace of           
    which the template is a member, or, for member templates, in the           
    namespace of which the enclosing class or enclosing class                  
    template is a member.  An explicit specialization of a member              
    function, member class or static data member of a class template           
    shall be declared in the namespace of which the class template             
    is a member.  */ | |
| compiler-rt/lib/scudo/standalone/secondary.h | ||
|---|---|---|
| 116–136 | Maybe this to avoid exposing CachedBlock | |
Maybe this to avoid exposing CachedBlock