interface: pass correct 4th argument to CompilerInvocation::setLangDefaults
Since llvmorg-12-init-16745-gc495dfe0268b ([clang][cli] NFC: Decrease
the scope of ParseLangArgs parameters, Thu Jan 14 08:26:12 2021 +0100),
the fourth argument of CompilerInvocation::setLangDefaults is
a std::vector<std::string> rather than a clang::PreprocessorOptions.
Introduce a setLangDefaultsArg4 to pass in the right argument
depending on what is expected by the specific version of clang.
Signed-off-by:
Sven Verdoolaege <sven.verdoolaege@gmail.com>
Showing
- interface/Makefile.am 1 addition, 0 deletionsinterface/Makefile.am
- interface/extract_interface.cc 4 additions, 1 deletioninterface/extract_interface.cc
- interface/set_lang_defaults_arg4.h 16 additions, 0 deletionsinterface/set_lang_defaults_arg4.h
- m4/ax_detect_clang.m4 5 additions, 2 deletionsm4/ax_detect_clang.m4
Loading
Please register or sign in to comment