aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-07 20:29:57 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-07 20:29:57 +0000
commitfd27fed58462229be261321c377146c045ad66ab (patch)
tree3e86335d41d0e31a7b51ac987cccc156b0d64383 /clang/lib/Frontend/CompilerInvocation.cpp
parent643a55708f129a68a21649358b27ba096322eb2d (diff)
downloadllvm-fd27fed58462229be261321c377146c045ad66ab.zip
llvm-fd27fed58462229be261321c377146c045ad66ab.tar.gz
llvm-fd27fed58462229be261321c377146c045ad66ab.tar.bz2
Return early from Sema::MarkDeclarationReferenced when we know there
isn't any extra work to perform. Also, don't check for unused parameters when the warnings will be suppressed anyway. Improves performance of -fsyntax-only on 403.gcc's combine.c by ~2.5%. <rdar://problem/7836787> llvm-svn: 100686
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions