1 //===- CodeComplete.cpp ---------------------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #include "mlir/Tools/PDLL/Parser/CodeComplete.h" 10 #include "mlir/Tools/PDLL/AST/Types.h" 11 12 using namespace mlir; 13 using namespace mlir::pdll; 14 15 //===----------------------------------------------------------------------===// 16 // CodeCompleteContext 17 //===----------------------------------------------------------------------===// 18 19 CodeCompleteContext::~CodeCompleteContext() = default; 20 codeCompleteTupleMemberAccess(ast::TupleType tupleType)21void CodeCompleteContext::codeCompleteTupleMemberAccess( 22 ast::TupleType tupleType) {} codeCompleteOperationMemberAccess(ast::OperationType opType)23void CodeCompleteContext::codeCompleteOperationMemberAccess( 24 ast::OperationType opType) {} 25 codeCompleteConstraintName(ast::Type currentType,bool allowInlineTypeConstraints,const ast::DeclScope * scope)26void CodeCompleteContext::codeCompleteConstraintName( 27 ast::Type currentType, bool allowInlineTypeConstraints, 28 const ast::DeclScope *scope) {} 29