Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KDE/kdevelop
/ setPreprocessorIndent
Method
setPreprocessorIndent
plugins/astyle/astyle_formatter.cpp:422–426 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
420
}
421
422
void AStyleFormatter::setPreprocessorIndent(bool on)
423
{
424
m_options[QStringLiteral(
"IndentPreprocessors"
)] = on;
425
m_engine.setPreprocDefineIndent(on);
426
}
427
428
void AStyleFormatter::setSwitchIndent(bool on)
429
{
Callers
2
indentObjectsChanged
Method · 0.80
testMacroFormatting
Method · 0.80
Calls
1
setPreprocDefineIndent
Method · 0.80
Tested by
1
testMacroFormatting
Method · 0.64