[PATCH] D24886: Add [[clang::suppress(rule, ...)]] attribute
    Hristo Hristov via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Sun Oct 29 01:42:38 PDT 2017
    
    
  
roccoor added a comment.
Microsoft supports:
  [[gsl::suppress(bounds.3)]]
Clang requires:
  [[gsl::suppress("bounds.3")]]
Why is this inconsistency?
Here is an example from  CppCoreGuidelines
  [[suppress(bounds)]] char* raw_find(char* p, int n, char x)    // find x in p[0]..p[n - 1]
  {
      // ...
  }
Repository:
  rL LLVM
https://reviews.llvm.org/D24886
    
    
More information about the cfe-commits
mailing list