Skip to content
Snippets Groups Projects
Commit aba9b469 authored by Sven Verdoolaege's avatar Sven Verdoolaege
Browse files

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: default avatarSven Verdoolaege <sven.verdoolaege@gmail.com>
parent 647edd64
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment