[clang] d364307 - Remove a stale FIXME comment; NFC

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri May 13 07:23:55 PDT 2022


Author: Aaron Ballman
Date: 2022-05-13T10:23:47-04:00
New Revision: d364307542d19ec5b0f4f5ee9adc5a3b7c8639a5

URL: https://github.com/llvm/llvm-project/commit/d364307542d19ec5b0f4f5ee9adc5a3b7c8639a5
DIFF: https://github.com/llvm/llvm-project/commit/d364307542d19ec5b0f4f5ee9adc5a3b7c8639a5.diff

LOG: Remove a stale FIXME comment; NFC

Added: 
    

Modified: 
    clang/test/Sema/warn-strict-prototypes.m

Removed: 
    


################################################################################
diff  --git a/clang/test/Sema/warn-strict-prototypes.m b/clang/test/Sema/warn-strict-prototypes.m
index 38e4ffaba767..ba0f9e6101b6 100644
--- a/clang/test/Sema/warn-strict-prototypes.m
+++ b/clang/test/Sema/warn-strict-prototypes.m
@@ -14,9 +14,6 @@ void foo() { // expected-warning {{a function declaration without a prototype is
   void (^block)() = // expected-warning {{a block declaration without a prototype is deprecated}}
                     ^void(int arg) { // no warning
   };
-  // FIXME: this should say "a block declaration" instead, but block literal
-  // expressions do not track their full declarator information, so we don't
-  // know it's a block when diagnosing.
   void (^block2)(void) = ^void() {
   };
   void (^block3)(void) = ^ { // no warning


        


More information about the cfe-commits mailing list