aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@colorado.edu>2011-04-03 05:07:11 +0000
committerLenny Maiorani <lenny@colorado.edu>2011-04-03 05:07:11 +0000
commitc2dace11190e42d7cdd3c1b3bd2ecc8593f8e13e (patch)
treed1f3f7c1907f0c28a4c3e0d2588997eb37606633 /lib/Frontend/CreateInvocationFromCommandLine.cpp
parent8083414ee7cc8f5c807ed6a4e120fb4e0ab50ff8 (diff)
Refactoring the security checker a little bit so that each CallExpr check doesn't get called for each CallExpr. Instead it does a switch and only runs the check for the proper identifier. Slight speed improvement (probably significant on very large ASTs), and should make it easier and more clear to add more checks for other CallExpr's later.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions