forked from OSchip/llvm-project
parent
d84cec07c9
commit
7d2776960b
|
@ -335,10 +335,10 @@ LLVM_LINT_FILTER=-,+whitespace
|
|||
ADDRESS_SANITIZER_CPP=../../../../lib/Transforms/Instrumentation/AddressSanitizer.cpp
|
||||
|
||||
lint:
|
||||
third_party/cpplint/cpplint.py --filter=$(LLVM_LINT_FILTER) $(ADDRESS_SANITIZER_CPP)
|
||||
third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) asan_*.cc asan_*.h
|
||||
third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) interception/interception*.h interception/interception*.cc
|
||||
third_party/cpplint/cpplint.py --filter=$(TEST_LINT_FITLER) tests/*.cc output_tests/*.cc
|
||||
python third_party/cpplint/cpplint.py --filter=$(LLVM_LINT_FILTER) $(ADDRESS_SANITIZER_CPP)
|
||||
python third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) asan_*.cc asan_*.h
|
||||
python third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) interception/interception*.h interception/interception*.cc
|
||||
python third_party/cpplint/cpplint.py --filter=$(TEST_LINT_FITLER) tests/*.cc output_tests/*.cc
|
||||
|
||||
get_third_party:
|
||||
rm -rf third_party
|
||||
|
|
|
@ -241,7 +241,7 @@ uint16_t AtomicExchange(uint16_t *a, uint16_t new_val) {
|
|||
__asm {
|
||||
mov eax, a
|
||||
mov cx, new_val
|
||||
xchg [eax], cx
|
||||
xchg [eax], cx ; NOLINT
|
||||
mov new_val, cx
|
||||
}
|
||||
return new_val;
|
||||
|
|
Loading…
Reference in New Issue