Search for includes in the directory containg the current file (#6371)
authorMark Spatz <mark.h.spatz@gmail.com>
Tue, 19 Jan 2021 20:26:34 +0000 (12:26 -0800)
committerGitHub <noreply@github.com>
Tue, 19 Jan 2021 20:26:34 +0000 (12:26 -0800)
commit91b0958c43dd3165114b79dedcae48feddd67a81
tree68b8e7b63db2fed9ccb5c6b2fe7276f5cf318ca1
parent8008dde117ef165ef115564d58cb95a7d11ac918
Search for includes in the directory containg the current file (#6371)

* [codegen] Search for includes in the directory containg the current file

This matches the behavior of a C preprocessor, see:
https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html

* Skip FileExists() when file is guaranteed to not exist

* end comment with period to match others
src/idl_parser.cpp