[llvm] 8f183d9 - [openmp] Remove unused variable in DirectiveEmitter

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 11 10:00:13 PDT 2020


Author: clementval
Date: 2020-07-11T12:59:52-04:00
New Revision: 8f183d9f3d13d66a679bd449b1f5d34942560028

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

LOG: [openmp] Remove unused variable in DirectiveEmitter

Added: 
    

Modified: 
    llvm/utils/TableGen/DirectiveEmitter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/DirectiveEmitter.cpp b/llvm/utils/TableGen/DirectiveEmitter.cpp
index fc4a6757f808..ebcd6873205e 100644
--- a/llvm/utils/TableGen/DirectiveEmitter.cpp
+++ b/llvm/utils/TableGen/DirectiveEmitter.cpp
@@ -458,7 +458,6 @@ void EmitDirectivesGen(RecordKeeper &Records, raw_ostream &OS) {
       DirectiveLanguage->getValueAsString("clauseEnumSetClass");
 
   const auto &Directives = Records.getAllDerivedDefinitions("Directive");
-  const auto &Clauses = Records.getAllDerivedDefinitions("Clause");
 
   EmitDirectivesFlangImpl(Directives, OS, LanguageName, ClauseEnumSetClass,
                           DirectivePrefix, ClausePrefix, CppNamespace);


        


More information about the llvm-commits mailing list