Fix, separate out the function pass from the decl pass. Diagnose non-visible symbols as not visible rather than missing. Fix crash when module identifier is incorrect. !! operator added. New character literal parsing. Added simple test framework.

This commit is contained in:
Christoffer Lerno
2020-07-16 16:45:06 +02:00
committed by Christoffer Lerno
parent b4c661eaad
commit f45d6ef84b
43 changed files with 871 additions and 259 deletions

View File

@@ -90,4 +90,4 @@ add_executable(c3c
target_compile_options(c3c PRIVATE -Wimplicit-int -Werror -Wall -Wno-unknown-pragmas -Wextra -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter)
target_link_libraries(c3c m ${llvm_libs})
target_link_libraries(c3c m ${llvm_libs})