[validation] Update entry points validation v-0020

Remove irrelevant unit tests
Add/Update ValdiateEntryPoints function
Update known failure file

Bug: tint:296
Change-Id: I7d5c9c96fcca29f3e0a4c0315eb8ce869160a3ea
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/32220
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: David Neto <dneto@google.com>
This commit is contained in:
Sarah Mashayekhi
2020-11-11 14:21:05 +00:00
committed by Commit Bot service account
parent 1bbafa3445
commit 3b04058d19
4 changed files with 51 additions and 86 deletions

View File

@@ -113,6 +113,10 @@ class ValidatorImpl {
/// @param c the case statement to check
/// @returns true if the valdiation was successful
bool ValidateCase(const ast::CaseStatement* c);
/// Validates entry points
/// @param funcs the functions to check
/// @returns true if the valdiation was successful
bool ValidateEntryPoint(const ast::FunctionList& funcs);
private:
std::string error_;