[clang] 891481e - [OpenACC] Add missing 'check' line to update-construct-ast test.

via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 13:36:51 PST 2025


Author: erichkeane
Date: 2025-01-08T13:35:14-08:00
New Revision: 891481ed82b8d17b9013b332754df171910fb115

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

LOG: [OpenACC] Add missing 'check' line to update-construct-ast test.

I must have deleted this by accident, and my local run's address managed
to have a '1' in the address, so it didn't catch it!  This corrects the
test.

Added: 
    

Modified: 
    clang/test/SemaOpenACC/update-construct-ast.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaOpenACC/update-construct-ast.cpp b/clang/test/SemaOpenACC/update-construct-ast.cpp
index 3638d7edafed10..9048e8823f5f5f 100644
--- a/clang/test/SemaOpenACC/update-construct-ast.cpp
+++ b/clang/test/SemaOpenACC/update-construct-ast.cpp
@@ -253,6 +253,7 @@ void TemplFunc(T t) {
   // CHECK-NEXT: ArraySectionExpr
   // CHECK-NEXT: ImplicitCastExpr
   // CHECK-NEXT: DeclRefExpr{{.*}} 'LocalArray' 'decltype(SomeStruct::value)[5]'
+  // CHECK-NEXT: IntegerLiteral{{.*}}0
   // CHECK-NEXT: IntegerLiteral{{.*}}1
 }
 


        


More information about the cfe-commits mailing list