================
@@ -384,6 +400,11 @@ class InlineCommandComment : public InlineContentComment {
   SourceRange getArgRange(unsigned Idx) const {
     return Args[Idx].Range;
   }
+
+  CommandMarkerKind getCommandMarker() const LLVM_READONLY {
----------------
emaxx-google wrote:

At least GCC docs say: `The pure attribute imposes similar but looser 
restrictions on a function’s definition than the const attribute <...> 
Declaring the same function with both the pure and the const attribute is 
diagnosed.` 
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-pure-function-attribute

https://github.com/llvm/llvm-project/pull/150790
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to