Fixup some doc and compile issues.
Change-Id: I75547e3fb4e1e4be08bde08f0bcfcf7e979791e7
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/25640
Reviewed-by: dan sinclair <dsinclair@chromium.org>
diff --git a/Doxyfile b/Doxyfile
index a3d64f6..3fcdc96 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -986,7 +986,7 @@
# (index.html). This can be useful if you have a project on for instance GitHub
# and want to reuse the introduction page also for the doxygen output.
-USE_MDFILE_AS_MAINPAGE = README.md
+USE_MDFILE_AS_MAINPAGE = ./README.md
#---------------------------------------------------------------------------
# Configuration options related to source browsing
diff --git a/src/reader/spirv/function.h b/src/reader/spirv/function.h
index 5861570..91e0913 100644
--- a/src/reader/spirv/function.h
+++ b/src/reader/spirv/function.h
@@ -209,7 +209,7 @@
/// The SPIR-V instruction that defines the ID.
const spvtools::opt::Instruction& inst;
/// The position of the block that defines this ID, in the function block
- /// order. See method |FunctionEmitter::ComputeBlockOrderAndPositions|
+ /// order. See method `FunctionEmitter::ComputeBlockOrderAndPositions`
const uint32_t block_pos = 0;
/// An index for uniquely and deterministically ordering all DefInfo records
diff --git a/src/validator_test.cc b/src/validator_test.cc
index 00ac35e..4b62dca 100644
--- a/src/validator_test.cc
+++ b/src/validator_test.cc
@@ -59,7 +59,6 @@
: td_(std::make_unique<TypeDeterminer>(&ctx_, &mod_)) {}
TypeDeterminer* td() const { return td_.get(); }
- ast::Module* mod() { return &mod_; }
private:
Context ctx_;