aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-03-17 23:29:01 +0000
committerRui Ueyama <ruiu@google.com>2017-03-17 23:29:01 +0000
commitd57e74b7d32b8cb50a58d78452077da84fa4ac83 (patch)
tree4ad353f5568cbfcfc7be3c579874d4e81a73142e /clang/lib/Serialization/ModuleManager.cpp
parentfd06b734660c097e56deac6f26c0cea437e3947c (diff)
downloadllvm-d57e74b7d32b8cb50a58d78452077da84fa4ac83.zip
llvm-d57e74b7d32b8cb50a58d78452077da84fa4ac83.tar.gz
llvm-d57e74b7d32b8cb50a58d78452077da84fa4ac83.tar.bz2
Compute Config member function return values only once.
We had a few Config member functions that returns configuration values. For example, we had is64() which returns true if the target is 64-bit. The return values of these functions are constant and never change. This patch is to compute them only once to make it clear that they'll never change. llvm-svn: 298168
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions