Skip to content

Commit

Permalink
[FOLD]
Browse files Browse the repository at this point in the history
  • Loading branch information
sdkrystian committed Nov 28, 2023
1 parent 945db32 commit dadacf0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/AST/ASTVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2691,7 +2691,8 @@ traverseDecl(
{
MRDOCS_ASSERT(D);

if(D->isInvalidDecl() || D->isImplicit())
// if(D->isInvalidDecl() || D->isImplicit())
if(D->isImplicit())
return;

SymbolFilter::FilterScope scope(symbolFilter_);
Expand Down
1 change: 1 addition & 0 deletions src/lib/Lib/AbsoluteCompilationDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ adjustCommandLine(
new_cmdline.emplace_back(
is_clang_cl ? "/w" : "-w");
new_cmdline.emplace_back("-fsyntax-only");
new_cmdline.emplace_back("-ferror-limit=0");

for(const auto& def : additional_defines)
new_cmdline.emplace_back(fmt::format("-D{}", def));
Expand Down
1 change: 1 addition & 0 deletions src/lib/Lib/SingleFileDB.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class SingleFileDB
cmds.emplace_back("-std=c++20");
cmds.emplace_back("-pedantic-errors");
cmds.emplace_back("-Werror");
cmds.emplace_back("-ferror-limit=0");
cmds.emplace_back(fileName);
cc_.emplace_back(
parentDir,
Expand Down

0 comments on commit dadacf0

Please sign in to comment.