diff options
author | Rui Ueyama <ruiu@google.com> | 2017-03-17 23:29:01 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-03-17 23:29:01 +0000 |
commit | d57e74b7d32b8cb50a58d78452077da84fa4ac83 (patch) | |
tree | 4ad353f5568cbfcfc7be3c579874d4e81a73142e /clang/lib/Serialization/ModuleManager.cpp | |
parent | fd06b734660c097e56deac6f26c0cea437e3947c (diff) | |
download | llvm-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